diff --git a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini index d4f62ed7113..faa00f45ecf 100644 --- a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -7,7 +7,7 @@ expected: FAIL [Opening a blob URL in a new window immediately before revoking it works.] - expected: FAIL + expected: TIMEOUT [Opening a blob URL in a noopener about:blank window immediately before revoking it works.] expected: TIMEOUT diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 01967ff0a5c..7bd994ff6e9 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -23366,7 +23366,7 @@ }, "web-nfc": { "NDEFReader-document-hidden-manual.https.html": [ - "9cf42e83bf306b5272fd753461fb78c3c9a4992f", + "10ce53e4a4f40bd0dfae074bf854f3491ea964a6", [ null, {} @@ -24335,6 +24335,19 @@ ] }, "content-dpr": { + "content-dpr-various-elements.html": [ + "728ef264e9db2231f74459101be07490473fa021", + [ + null, + [ + [ + "/content-dpr/content-dpr-various-elements-ref.html", + "==" + ] + ], + {} + ] + ], "image-pseudo-element-content-dpr.html": [ "7770df39997206261036029734b2304e6be331b2", [ @@ -203162,6 +203175,19 @@ ] ] }, + "not-links.html": [ + "d49a86fd0ea710d8fd36798e84034f3042e58e81", + [ + null, + [ + [ + "/css/selectors/not-links-ref.html", + "==" + ] + ], + {} + ] + ], "of-type-selectors.xhtml": [ "73ec208b8f219d8d3b74984d65c8e72a997c8470", [ @@ -231108,6 +231134,123 @@ ] ], "reftests": { + "marker-path-001.svg": [ + "6eeac7fc8f431bd7949bc998af68b36fdc2e1347", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-001-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-002.svg": [ + "7467c7d52331597d6d80cb33b2292804ce58904b", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-002-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-003.svg": [ + "a31bf84e52e0f1f36cb42142ff06dcb3ed47f18f", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-003-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-011.svg": [ + "b6627f86e8cf4c24a7e6b9da2e125104da7a7336", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-011-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-012.svg": [ + "1586951b1f2a53ac08c0fb178947aa57183849ec", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-012-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-013.svg": [ + "e7a44351faea715a5ff3c5f3e3a8b127249b0d60", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-013-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-021.svg": [ + "db4bc629e245f2a17e540be9bbc205f902ea7561", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-021-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-022.svg": [ + "6a2345ab47078a28fad5775518b341c84c726dae", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-022-ref.svg", + "==" + ] + ], + {} + ] + ], + "marker-path-023.svg": [ + "56fe216e2ff74c89ad4b93b1c811a67516dec724", + [ + null, + [ + [ + "/svg/painting/reftests/marker-path-023-ref.svg", + "==" + ] + ], + {} + ] + ], "marker-units-strokewidth-non-scaling-stroke.svg": [ "116c61c45ebfa7d2725df78f3a920fc3c24c7165", [ @@ -231998,6 +232141,19 @@ {} ] ], + "use-inheritance-001.svg": [ + "5e375b94cd6c15f4ded39f351ce91d67e94b74bd", + [ + null, + [ + [ + "/svg/struct/reftests/reference/green-100x100.svg", + "==" + ] + ], + {} + ] + ], "use-svg-dimensions-override-001.svg": [ "c658adce80f82d5ce6457101ecd3b3d3f562ddd9", [ @@ -251488,51 +251644,51 @@ ], "presentation-role": { "497.html": [ - "5efa4ab7798027c065871027d247252784bff3ba", + "a97df5db893b1e01b9df4abf78791573dc223c5a", [] ], "498.html": [ - "834ba206d70077e3e2d06e7a45e8a5dfb833c62a", + "0a910a18fe3c712dcba762aea2f623f5d3afdb0d", [] ], "499.html": [ - "ad2dee407edc0344918b1f73918e10ff8f34e196", + "3f751df39bc9bc192e0d5aac2dd5ecb31ba1292b", [] ], "500.html": [ - "578e7a2db72474779d7256550f99f9b13829f3aa", + "0ff6cd807a791569fad8f37c9aa3315e1bfbe901", [] ], "501.html": [ - "77cfc2ede08a01fe25d56edd39d2c0f90fb8d4c1", + "bdad37ed22eced067c49144b701efe5d0cac5ae1", [] ], "502.html": [ - "ae8c74d5c78911d27b8c7e83dcc7e8f76e3c4669", + "d52afe008efc0f7be01f680d35cc9216d25b37f3", [] ], "503.html": [ - "3859142529adc3fc8a9a0d74c0714d1223efa719", + "6157cd2fcda6eb5c3984f95a9bfd4f66020ceab9", [] ], "504.html": [ - "ea19a43595765c73f6fe25a99ab9dde6276b50b4", + "c96550bc842a419b47323a2c245eb8324a794779", [] ], "505.html": [ - "163156413011faa0a5b90e3971001f6c122fa179", + "e4665cb1b18f4eaae6221b8176a2d9fbf6d21883", [] ], "506.html": [ - "495763d77999690ea590efd500f9d5191964bc46", + "f92881a1409c004708fa5921a616c2e6fe30d659", [] ], "507.html": [ - "09e6859655e5f9c5cf198432215e916f20e7f3a0", + "a88438ec16ce54c66068d8bbe223fca187ce1ea4", [] ], "509.html": [ - "9780ce2ac4e291540f5b561f7ed82d60c7f041c7", + "4450eb332fa30387f3d209248806af3ed0c55416", [] ], "510.html": [ @@ -258441,6 +258597,10 @@ } }, "content-dpr": { + "content-dpr-various-elements-ref.html": [ + "9a7e10e51b06ab6a4c2453b8f048cfd8709bd471", + [] + ], "image-pseudo-element-content-dpr-ref.html": [ "baa25ac87c8f96ca630d2a6b508d6f3649fb8bb8", [] @@ -304752,6 +304912,10 @@ [] ] }, + "not-links-ref.html": [ + "1efe5943f4e33eb0046fa89dfac8a97eeff3da85", + [] + ], "of-type-selectors-ref.xhtml": [ "ae866213df0112292c3bade7c48ad2d27f9a14f8", [] @@ -312364,7 +312528,7 @@ [] ], "redirect.py": [ - "eb5c98dd52ff8bc373bfcae42b1b517bd9a2158f", + "05129c515ad9433b68a69e43c58059c6c7faa3ba", [] ], "sandboxed-iframe.html": [ @@ -312396,7 +312560,7 @@ [] ], "trickle.py": [ - "e2c9beec1e077c67b0d83202ba644c018cbace94", + "57c9407dc4b2db368b87930163efd6f36b49e849", [] ], "utils.js": [ @@ -315253,6 +315417,14 @@ "30ddeac2e7a3596de3910def1a7066e817873cbe", [] ], + "require-corp-sw.js": [ + "3e2f069ded033f33528c8f850d330c5b4e84e46c", + [] + ], + "require-corp-sw.js.headers": [ + "6604450991a122e3e241e40b1b9e0516c525389d", + [] + ], "script-factory.js": [ "9db755226020479fd87e87f42ea622c999b38f7d", [] @@ -319729,7 +319901,7 @@ [] ], "resolve-url.js": [ - "cbe97edbbb3caf35f49d4f4859a263e1060d05b8", + "cac16d0b492f2362b49625a9961dc6608104d8bf", [] ], "resource.py": [ @@ -337423,7 +337595,7 @@ [] ], "nfc-mock.js": [ - "ce1ad8e98b35bde2845354459026692e9400216a", + "7832a8231efb01f277960afc91adf01cfe3e3ac6", [] ], "sensor.mojom.js": [ @@ -341467,6 +341639,42 @@ [] ], "reftests": { + "marker-path-001-ref.svg": [ + "8f766668e6de36479666f3f27fa8eed317e5dfe8", + [] + ], + "marker-path-002-ref.svg": [ + "c9ee76915bf4156d56be4b6e6c4479c602da182d", + [] + ], + "marker-path-003-ref.svg": [ + "3ba459c7002ad3714e2216ed25d95bbff04bc441", + [] + ], + "marker-path-011-ref.svg": [ + "4d6cc760548f2e05a9fa3f8dc2eb8c5f4b889d23", + [] + ], + "marker-path-012-ref.svg": [ + "ad44874cdadc59204c5c724ea157a3b3da570b38", + [] + ], + "marker-path-013-ref.svg": [ + "e03fc4827ed92502506c01505979cdceb71aef5e", + [] + ], + "marker-path-021-ref.svg": [ + "b452ca7325669a972cc913524ca5c27b5870564a", + [] + ], + "marker-path-022-ref.svg": [ + "2b808f02f0988ab49a8bd6a45af9127910d198cf", + [] + ], + "marker-path-023-ref.svg": [ + "a8e764442bb7dee2ce259082cf7cc0c8d1e143e0", + [] + ], "markers-orient-001-ref.svg": [ "871003f3a2303404696d467a7cfaad729b811206", [] @@ -342669,7 +342877,7 @@ [] ], "serve.py": [ - "f63bdcca5b00520334d99334a74e748544fc45e1", + "e4f0d5efaee37170a9c03a208924e483b2a4608a", [] ], "test_functional.py": [ @@ -347299,7 +347507,7 @@ [] ], "testfiles.py": [ - "a9a8fe87ba50582d4cd15a6a233a372119ad265c", + "f2960e8f51e445e3f6f53ba8e7c0145aa5072038", [] ], "tests": { @@ -348390,7 +348598,7 @@ [] ], "server.py": [ - "c037732a6baef31d58b3dff927b074dfcfabb4ff", + "9e842802fc0f1b273cd78313275e0bf78dbcaf64", [] ], "sslutils": { @@ -353682,10 +353890,6 @@ "2db48544a2d7d7f55201043e73297283cd99c263", [] ], - "returns-same-object.js": [ - "c004d8f7e564e2c43860d6f7da6d1cedffc5a9df", - [] - ], "setting-members.js": [ "4c5c8a35ae88ce2d65b1426fdf37230fa261039c", [] @@ -353841,6 +354045,10 @@ "527702f551174f8f2578fce16c7854351126e3a5", [] ], + "dynamic-import-data-url-block-cross-origin.js": [ + "caa15319c55c0ff2302df96391002461f7b4207c", + [] + ], "dynamic-import-given-url-worker.js": [ "55102759352c5564e832e37bb8c7f0e7bd007f4d", [] @@ -353865,6 +354073,10 @@ "56f8a6ffe822ecb8fa0d042cc4c246a3c623f8c6", [] ], + "dynamic-import-script-block-cross-origin.js": [ + "52ec5306635916b5db6cf10de27bc9e171aad529", + [] + ], "dynamic-import-worker.js": [ "2e756fe055e9e9ec815031483b02dc286918ca2c", [] @@ -353877,6 +354089,10 @@ "60080d4292a8033e9824a289eef85574cc6a3a81", [] ], + "export-block-cross-origin.js": [ + "a4b513d280e9eddc105c62cadd6894ac829a705d", + [] + ], "export-credentials.py": [ "be6d2ff2fc17b94d69548746cd25d6b6c471cb0c", [] @@ -353957,6 +354173,10 @@ "2d857a2e90a11af9f52e5d59d15ee30d225deeaf", [] ], + "static-import-data-url-block-cross-origin.js": [ + "833348d66cce77334e10a214d6299d3b0dad085c", + [] + ], "static-import-non-existent-script-worker.js": [ "16f70e9daf4909605746c6614a509afb3cf71ed1", [] @@ -353981,6 +354201,10 @@ "ffcab9e45fdfec17bb2db64f0d4dba3d89ed8308", [] ], + "static-import-script-block-cross-origin.js": [ + "82be8e7ce72edab7050b14cccc658ff39ddfe632", + [] + ], "static-import-worker.js": [ "19a347999d386fd4df8dc831c6d164b27630ef7a", [] @@ -377220,7 +377444,7 @@ }, "content-dpr": { "image-with-dpr-header.html": [ - "6c4e60844763469bbe21990879191eac0f296230", + "bfa1509d46455945acb9b31d6789726b2f860c84", [ null, {} @@ -405732,7 +405956,7 @@ ] ], "focus-visible-010.html": [ - "eb01204b29c8e30b651b083459c01983b99dd70d", + "00cd7f0b665d90a82b9939b5451b1e10cf89e5ee", [ null, {} @@ -428317,6 +428541,13 @@ {} ] ], + "anchor-jsurl-form-submit.html": [ + "b0534cd52e51e7f13ee42a2ae6e1602d3071d270", + [ + null, + {} + ] + ], "child_navigates_parent_location.html": [ "9111232e26e7de672b9e4df4b47b1c408338ae1c", [ @@ -430742,6 +430973,13 @@ {} ] ], + "require-corp-sw.https.html": [ + "690ea6314f5c28c1bd8b58cb0d2350831361314f", + [ + null, + {} + ] + ], "require-corp.https.html": [ "6f799b6e4086c1e73654b694174cacc496b2582d", [ @@ -432568,7 +432806,7 @@ ] ], "utf-16be.html": [ - "ae28fb6d6a7c08ff3ccc5353139e2842492d9950", + "db15896c86c1dfdec07f04ca7f923141ab1d2dfe", [ "html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html?include=appcache", { @@ -432670,16 +432908,10 @@ { "timeout": "long" } - ], - [ - "html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html?include=xmldocument", - { - "timeout": "long" - } ] ], "utf-16le.html": [ - "1d0bb574a77bb9a78cba3a8bb4a869ea780944a4", + "1a3e4926b466f5ec6b3ee10938a5bc15d884722f", [ "html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html?include=appcache", { @@ -432781,16 +433013,10 @@ { "timeout": "long" } - ], - [ - "html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html?include=xmldocument", - { - "timeout": "long" - } ] ], "utf-8.html": [ - "c521c9dc398b4c200bc357d4a66c55efd38f7ae9", + "7434dc9176c9f8695a4cf89e2cbec5a7d2ead6f3", [ "html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html?include=appcache", { @@ -432892,16 +433118,10 @@ { "timeout": "long" } - ], - [ - "html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html?include=xmldocument", - { - "timeout": "long" - } ] ], "windows-1251.html": [ - "e80e12403aedfdddfd1aa73ed4057316a4e5a931", + "1c8ade458826b3a7d8076003b28ea65ba7aa363d", [ "html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html?include=appcache", { @@ -433003,16 +433223,10 @@ { "timeout": "long" } - ], - [ - "html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html?include=xmldocument", - { - "timeout": "long" - } ] ], "windows-1252.html": [ - "c2c6b0adeb13df97352f37ccfef9bd6b1fce9e63", + "5cefb612eafcd78f477a9464fa6f5aa940508f20", [ "html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html?include=appcache", { @@ -433114,12 +433328,6 @@ { "timeout": "long" } - ], - [ - "html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html?include=xmldocument", - { - "timeout": "long" - } ] ] } @@ -438666,7 +438874,7 @@ ] ], "object-attributes.html": [ - "30fdcf520b8b519ab58187f40fd460454ffb39a3", + "c630d8055c60c3891a008281878466b86c1eef11", [ null, {} @@ -547143,7 +547351,7 @@ ] ], "commitStyles.html": [ - "ca7d6410d0aa9cd02431cb6f8aab427f941e5cc7", + "abda8f10e59febf1cfc3654d4f37c60ccf1e79fa", [ null, {} @@ -548630,7 +548838,7 @@ ] ], "NDEFReader_scan.https.html": [ - "6e66b7d4673d22d8863cabea57d802e92251d3b9", + "581412ea35d5d1e25dcc638380aa7fac540c7b9e", [ null, {} @@ -548665,7 +548873,7 @@ ] ], "NDEFWriter_write.https.html": [ - "1cca68c4a9676d7d988f6b46bbba0250ccae40bd", + "4ca7faa12bcde0174153953ef351c7ba094caac5", [ null, {} @@ -560068,11 +560276,40 @@ {} ] ], - "returns-same-object.html": [ - "b69ea3aa05828c398cc1bc63f677930f9ee70ce0", + "returns-same-object.any.js": [ + "ba9be9ce8a8534bfc17aa20f1df119ce4efad934", [ - null, - {} + "workers/interfaces/WorkerGlobalScope/location/returns-same-object.any.serviceworker.html", + { + "script_metadata": [ + [ + "global", + "!default,worker" + ] + ] + } + ], + [ + "workers/interfaces/WorkerGlobalScope/location/returns-same-object.any.sharedworker.html", + { + "script_metadata": [ + [ + "global", + "!default,worker" + ] + ] + } + ], + [ + "workers/interfaces/WorkerGlobalScope/location/returns-same-object.any.worker.html", + { + "script_metadata": [ + [ + "global", + "!default,worker" + ] + ] + } ] ], "setting-members.html": [ @@ -560483,6 +560720,13 @@ {} ] ], + "shared-worker-import-data-url-cross-origin.html": [ + "3f22c5094d1b8c167d76af14bdce1dc912451f43", + [ + null, + {} + ] + ], "shared-worker-import-data-url.any.js": [ "81df965b9e1276746c001350658c5ea80334b736", [ diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini new file mode 100644 index 00000000000..f29da48a2a0 --- /dev/null +++ b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini @@ -0,0 +1,4 @@ +[hit-test-floats-003.html] + [Miss float below something else] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini b/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini new file mode 100644 index 00000000000..4c79907309b --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini @@ -0,0 +1,4 @@ +[CaretPosition-001.html] + [Element at (400, 100)] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini index c3e80f60581..a6c39d50087 100644 --- a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini +++ b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini @@ -8,6 +8,3 @@ [throws if handleEvent is thruthy and not callable] expected: FAIL - [looks up handleEvent method on every event dispatch] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini index c884dc82eab..628b1fab770 100644 --- a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini +++ b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini @@ -2,6 +2,3 @@ [listeners are called when +
+Test + + diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html new file mode 100644 index 00000000000..690ea6314f5 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw.https.html @@ -0,0 +1,37 @@ + +Cross Origin Embedder Policy: requests initiated from a service worker with 'require-corp' + + + + + diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js new file mode 100644 index 00000000000..3e2f069ded0 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js @@ -0,0 +1,27 @@ +// Service worker with 'COEP: require-corp' response header. +// This service worker issues a network request for a resource with or without +// CORP response header. + +importScripts("/common/get-host-info.sub.js"); + +self.addEventListener('message', e => { + e.waitUntil((async () => { + let result; + try { + let url; + if (e.data === 'WithCorp') { + url = get_host_info().HTTPS_REMOTE_ORIGIN + + '/html/cross-origin-embedder-policy/resources/' + + 'nothing-cross-origin-corp.txt'; + } else if (e.data === 'WithoutCorp') { + url = get_host_info().HTTPS_REMOTE_ORIGIN + '/common/blank.html'; + } + const response = await fetch(url, { mode: 'no-cors' }); + result = response.type; + } catch (error) { + result = `${error.name}: ${error.message}`; + } finally { + e.source.postMessage(result); + } + })()); +}); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js.headers b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js.headers new file mode 100644 index 00000000000..6604450991a --- /dev/null +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js.headers @@ -0,0 +1 @@ +Cross-Origin-Embedder-Policy: require-corp diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js index cbe97edbbb3..cac16d0b492 100644 --- a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js +++ b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js @@ -353,16 +353,6 @@ onload = function() { }, 'EventSource#url', {help:'https://html.spec.whatwg.org/multipage/#dom-eventsource'}); - // XMLDocument#load() - subsetTestByKey('xmldocument', async_test, function() { - var doc = document.implementation.createDocument(null, "x"); - doc.load(input_url_svg); - doc.onload = this.step_func_done(function() { - assert_equals(doc.documentElement.textContent, expected_current); - }); - }, 'XMLDocument#load()', - {help:'https://html.spec.whatwg.org/multipage/#dom-xmldocument-load'}); - // window.open subsetTestByKey('window-open', async_test, function() { var id = 'test_window_open'; diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html index ae28fb6d6a7..db15896c86c 100644 Binary files a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html and b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html differ diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html index 1d0bb574a77..1a3e4926b46 100644 Binary files a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html and b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html differ diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html index c521c9dc398..7434dc9176c 100644 --- a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html +++ b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html @@ -8,7 +8,6 @@ - diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html index e80e12403ae..1c8ade45882 100644 --- a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html +++ b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html @@ -8,7 +8,6 @@ - diff --git a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html index c2c6b0adeb1..5cefb612eaf 100644 --- a/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html +++ b/tests/wpt/web-platform-tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html @@ -8,7 +8,6 @@ - diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-object-element/object-attributes.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-object-element/object-attributes.html index 30fdcf520b8..c630d8055c6 100644 --- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-object-element/object-attributes.html +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-object-element/object-attributes.html @@ -7,34 +7,44 @@
- + +
+ - -
- \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/workers/interfaces/WorkerGlobalScope/location/returns-same-object.js b/tests/wpt/web-platform-tests/workers/interfaces/WorkerGlobalScope/location/returns-same-object.js deleted file mode 100644 index c004d8f7e56..00000000000 --- a/tests/wpt/web-platform-tests/workers/interfaces/WorkerGlobalScope/location/returns-same-object.js +++ /dev/null @@ -1 +0,0 @@ -postMessage(location === location); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-data-url-block-cross-origin.js b/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-data-url-block-cross-origin.js new file mode 100644 index 00000000000..caa15319c55 --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-data-url-block-cross-origin.js @@ -0,0 +1,24 @@ +const sourcePromise = new Promise(resolve => { + if ('DedicatedWorkerGlobalScope' in self && + self instanceof DedicatedWorkerGlobalScope) { + self.onmessage = e => { + resolve(e.target); + }; + } else if ( + 'SharedWorkerGlobalScope' in self && + self instanceof SharedWorkerGlobalScope) { + self.onconnect = e => { + resolve(e.ports[0]); + }; + } +}); + +const importedModulesPromise = + import("data:text/javascript, export const importedModules = ['export-block-cross-origin.js'];") + .then(module => module.importedModules) + .catch(() => ['ERROR']); + +Promise.all([sourcePromise, importedModulesPromise]).then(results => { + const [source, importedModules] = results; + source.postMessage(importedModules); +}); diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-script-block-cross-origin.js b/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-script-block-cross-origin.js new file mode 100644 index 00000000000..52ec5306635 --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-script-block-cross-origin.js @@ -0,0 +1,24 @@ +const sourcePromise = new Promise(resolve => { + if ('DedicatedWorkerGlobalScope' in self && + self instanceof DedicatedWorkerGlobalScope) { + self.onmessage = e => { + resolve(e.target); + }; + } else if ( + 'SharedWorkerGlobalScope' in self && + self instanceof SharedWorkerGlobalScope) { + self.onconnect = e => { + resolve(e.ports[0]); + }; + } +}); + +const importedModulesPromise = + import('./export-block-cross-origin.js') + .then(module => module.importedModules) + .catch(() => ['ERROR']); + +Promise.all([sourcePromise, importedModulesPromise]).then(results => { + const [source, importedModules] = results; + source.postMessage(importedModules); +}); diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/export-block-cross-origin.js b/tests/wpt/web-platform-tests/workers/modules/resources/export-block-cross-origin.js new file mode 100644 index 00000000000..a4b513d280e --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/export-block-cross-origin.js @@ -0,0 +1 @@ +export const importedModules = ['export-block-cross-origin.js']; diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/static-import-data-url-block-cross-origin.js b/tests/wpt/web-platform-tests/workers/modules/resources/static-import-data-url-block-cross-origin.js new file mode 100644 index 00000000000..833348d66cc --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/static-import-data-url-block-cross-origin.js @@ -0,0 +1,14 @@ +import * as module from "data:text/javascript, export const importedModules = ['export-block-cross-origin.js'];"; + +if ('DedicatedWorkerGlobalScope' in self && + self instanceof DedicatedWorkerGlobalScope) { + self.onmessage = e => { + e.target.postMessage(module.importedModules); + }; +} else if ( + 'SharedWorkerGlobalScope' in self && + self instanceof SharedWorkerGlobalScope) { + self.onconnect = e => { + e.ports[0].postMessage(module.importedModules); + }; +} diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/static-import-script-block-cross-origin.js b/tests/wpt/web-platform-tests/workers/modules/resources/static-import-script-block-cross-origin.js new file mode 100644 index 00000000000..82be8e7ce72 --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/static-import-script-block-cross-origin.js @@ -0,0 +1,14 @@ +import * as module from './export-block-cross-origin.js'; + +if ('DedicatedWorkerGlobalScope' in self && + self instanceof DedicatedWorkerGlobalScope) { + self.onmessage = e => { + e.target.postMessage(module.importedModules); + }; +} else if ( + 'SharedWorkerGlobalScope' in self && + self instanceof SharedWorkerGlobalScope) { + self.onconnect = e => { + e.ports[0].postMessage(module.importedModules); + }; +} diff --git a/tests/wpt/web-platform-tests/workers/modules/shared-worker-import-data-url-cross-origin.html b/tests/wpt/web-platform-tests/workers/modules/shared-worker-import-data-url-cross-origin.html new file mode 100644 index 00000000000..3f22c5094d1 --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/shared-worker-import-data-url-cross-origin.html @@ -0,0 +1,43 @@ + +SharedWorker: ES modules for data URL workers + + +