diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 52547672874..aff2f3b8e99 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -11,7 +11,7 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run. Last update: - common: https://github.com/web-platform-tests/wpt/tree/03c5072aff/common -- console: https://github.com/web-platform-tests/wpt/tree/3b1f72e99a/console +- console: https://github.com/web-platform-tests/wpt/tree/767ae35464/console - dom/abort: https://github.com/web-platform-tests/wpt/tree/c49cafb491/dom/abort - dom/events: https://github.com/web-platform-tests/wpt/tree/f8821adb28/dom/events - encoding: https://github.com/web-platform-tests/wpt/tree/c1b24fce6e/encoding diff --git a/test/fixtures/wpt/console/console-is-a-namespace.any.js b/test/fixtures/wpt/console/console-is-a-namespace.any.js index a4aae7ffce8..1756ba6bc1b 100644 --- a/test/fixtures/wpt/console/console-is-a-namespace.any.js +++ b/test/fixtures/wpt/console/console-is-a-namespace.any.js @@ -1,5 +1,6 @@ +// META: global=window,dedicatedworker,shadowrealm "use strict"; -// https://heycam.github.io/webidl/#es-namespaces +// https://webidl.spec.whatwg.org/#es-namespaces // https://console.spec.whatwg.org/#console-namespace test(() => { diff --git a/test/fixtures/wpt/console/console-log-shadowrealm-manual.html b/test/fixtures/wpt/console/console-log-shadowrealm-manual.html new file mode 100644 index 00000000000..b091a850c0c --- /dev/null +++ b/test/fixtures/wpt/console/console-log-shadowrealm-manual.html @@ -0,0 +1,10 @@ + + +Console Logging Manual Test +

Open the console inside the developer tools. It should contain one entry saying "test passed".

+ diff --git a/test/fixtures/wpt/console/console-namespace-object-class-string.any.js b/test/fixtures/wpt/console/console-namespace-object-class-string.any.js index 7b27e72d819..d3ff7f7d076 100644 --- a/test/fixtures/wpt/console/console-namespace-object-class-string.any.js +++ b/test/fixtures/wpt/console/console-namespace-object-class-string.any.js @@ -1,5 +1,5 @@ "use strict"; -// https://heycam.github.io/webidl/#es-namespaces +// https://webidl.spec.whatwg.org/#es-namespaces // https://console.spec.whatwg.org/#console-namespace test(() => { diff --git a/test/fixtures/wpt/console/console-tests-historical.any.js b/test/fixtures/wpt/console/console-tests-historical.any.js index 4c4d4c276d0..1b18a9879fb 100644 --- a/test/fixtures/wpt/console/console-tests-historical.any.js +++ b/test/fixtures/wpt/console/console-tests-historical.any.js @@ -1,3 +1,4 @@ +// META: global=window,dedicatedworker,shadowrealm /** * These tests assert the non-existence of certain * legacy Console methods that are not included in diff --git a/test/fixtures/wpt/console/idlharness-shadowrealm.window.js b/test/fixtures/wpt/console/idlharness-shadowrealm.window.js new file mode 100644 index 00000000000..8f68252dcd2 --- /dev/null +++ b/test/fixtures/wpt/console/idlharness-shadowrealm.window.js @@ -0,0 +1,5 @@ +// META: script=/resources/idlharness-shadowrealm.js + +// https://console.spec.whatwg.org/ + +idl_test_shadowrealm(["console"], []); diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index 210c91988e2..c39c1ecffdb 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -4,7 +4,7 @@ "path": "common" }, "console": { - "commit": "3b1f72e99a91d31551edd2147dc7b564eaf25d72", + "commit": "767ae354642bee1e4d90b28df4480475b9260e14", "path": "console" }, "dom/abort": {