-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Symbol.toStringTag value of namespace objects #24717
Test Symbol.toStringTag value of namespace objects #24717
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We could do this in idlharness instead, but I'm happy with this for now, and we can tackle consolidation as part of #23206.
Per https://community-tc.services.mozilla.com/tasks/IPkLC1xwS2KAjIzOhr8DNg/runs/0/logs/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FIPkLC1xwS2KAjIzOhr8DNg%2Fruns%2F0%2Fartifacts%2Fpublic%2Flogs%2Flive.log#L129 it looks like files in the CSS/ folder have extra requirements around some sort of link... try to look around nearby to see if we can figure that out? |
A followup to #357. This change aligns WebIDL namespace objects with ECMA-262 ones, per tc39/ecma262#2057 (comment). Tests: web-platform-tests/wpt#24717
6cb6d46
to
791d495
Compare
According to https://web-platform-tests.org/writing-tests/lint-tool.html, |
https://bugs.webkit.org/show_bug.cgi?id=215750 Reviewed by Ross Kirsling. LayoutTests/imported/w3c: Import ToT wpt/console tests including @@toStringTag tests. * resources/import-expectations.json: * web-platform-tests/console/META.yml: Added. * web-platform-tests/console/console-is-a-namespace.any-expected.txt: Added. * web-platform-tests/console/console-is-a-namespace.any.html: Added. * web-platform-tests/console/console-is-a-namespace.any.js: Added. (test): * web-platform-tests/console/console-is-a-namespace.any.worker-expected.txt: Added. * web-platform-tests/console/console-is-a-namespace.any.worker.html: Added. * web-platform-tests/console/console-label-conversion.any-expected.txt: Added. * web-platform-tests/console/console-label-conversion.any.html: Added. * web-platform-tests/console/console-label-conversion.any.js: Added. (const.method.of.methods.test): * web-platform-tests/console/console-label-conversion.any.worker-expected.txt: Added. * web-platform-tests/console/console-label-conversion.any.worker.html: Added. * web-platform-tests/console/console-namespace-object-class-string.any-expected.txt: Added. * web-platform-tests/console/console-namespace-object-class-string.any.html: Added. * web-platform-tests/console/console-namespace-object-class-string.any.js: Added. (test): (test.t.t.add_cleanup): * web-platform-tests/console/console-namespace-object-class-string.any.worker-expected.txt: Added. * web-platform-tests/console/console-namespace-object-class-string.any.worker.html: Added. * web-platform-tests/console/console-tests-historical.any-expected.txt: Added. * web-platform-tests/console/console-tests-historical.any.html: Added. * web-platform-tests/console/console-tests-historical.any.js: Added. (test): * web-platform-tests/console/console-tests-historical.any.worker-expected.txt: Added. * web-platform-tests/console/console-tests-historical.any.worker.html: Added. * web-platform-tests/console/idlharness.any-expected.txt: Added. * web-platform-tests/console/idlharness.any.html: Added. * web-platform-tests/console/idlharness.any.js: Added. * web-platform-tests/console/idlharness.any.worker-expected.txt: Added. * web-platform-tests/console/idlharness.any.worker.html: Added. * web-platform-tests/console/w3c-import.log: Added. Source/JavaScriptCore: Use "console" instead of "Console". Now, namespace object has @@toStringTag. web-platform-tests/wpt#24717 * runtime/ConsoleObject.cpp: LayoutTests: * fast/dom/Window/window-lookup-precedence-expected.txt: * fast/loader/window-properties-restored-from-page-cache-expected.txt: * http/tests/security/cross-frame-access-put-expected.txt: * inspector/debugger/pause-for-internal-scripts-expected.txt: * inspector/debugger/stepping/stepping-internal-scripts-expected.txt: * js/console-expected.txt: * js/console.html: * platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt: * platform/mac-wk2/fast/dom/Window/window-lookup-precedence-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@266030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add Symbol.toStringTag property to console object to follow WPT changes Update WPT status of console and the repl test case Refs: web-platform-tests/wpt#24717 PR-URL: #35399 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add Symbol.toStringTag property to console object to follow WPT changes Update WPT status of console and the repl test case Refs: web-platform-tests/wpt#24717 PR-URL: #35399 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add Symbol.toStringTag property to console object to follow WPT changes Update WPT status of console and the repl test case Refs: web-platform-tests/wpt#24717 PR-URL: #35399 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add Symbol.toStringTag property to console object to follow WPT changes Update WPT status of console and the repl test case Refs: web-platform-tests/wpt#24717 PR-URL: #35399 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Add Symbol.toStringTag property to console object to follow WPT changes Update WPT status of console and the repl test case Refs: web-platform-tests/wpt#24717 PR-URL: nodejs#35399 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Spec: whatwg/webidl#873.
Consensus: tc39/ecma262#2057 (comment).
cc @domenic