diff --git a/tests/wpt/metadata-layout-2020/FileAPI/url/url-charset.window.js.ini b/tests/wpt/metadata-layout-2020/FileAPI/url/url-charset.window.js.ini deleted file mode 100644 index a9005e45d6e..00000000000 --- a/tests/wpt/metadata-layout-2020/FileAPI/url/url-charset.window.js.ini +++ /dev/null @@ -1,8 +0,0 @@ -[url-charset.window.html] - expected: TIMEOUT - [Blob charset should override any auto-detected charset.] - expected: TIMEOUT - - [Blob charset should override .] - expected: TIMEOUT - diff --git a/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini index 76b44d9e9cf..3605e8f3fc9 100644 --- a/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -4,7 +4,7 @@ expected: TIMEOUT [Opening a blob URL in a new window immediately before revoking it works.] - expected: FAIL + expected: TIMEOUT [Fetching a blob URL immediately before revoking it works in an iframe.] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini deleted file mode 100644 index f64b45fea6b..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[hit-test-floats-002.html] - [Hit test float] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini deleted file mode 100644 index f29da48a2a0..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-003.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[hit-test-floats-003.html] - [Miss float below something else] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini index 75f98e27a8c..40444df4791 100644 --- a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/font-weight-matching.html.ini @@ -35,3 +35,9 @@ [Test @font-face matching for weight 399] expected: FAIL + [Test @font-face matching for weight 500] + expected: FAIL + + [Test @font-face matching for weight 250] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini deleted file mode 100644 index 4c79907309b..00000000000 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/CaretPosition-001.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[CaretPosition-001.html] - [Element at (400, 100)] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini new file mode 100644 index 00000000000..e38782d8c85 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-001.html.ini @@ -0,0 +1,4 @@ +[elementFromPoint-001.html] + [CSSOM View - 5 - extensions to the Document interface] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-001.html.ini b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-001.html.ini new file mode 100644 index 00000000000..2a9a0ab380f --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-001.html.ini @@ -0,0 +1,2 @@ +[mq-gamut-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-002.html.ini b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-002.html.ini new file mode 100644 index 00000000000..c16827ecbb9 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-002.html.ini @@ -0,0 +1,2 @@ +[mq-gamut-002.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-004.html.ini b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-004.html.ini new file mode 100644 index 00000000000..bbf1d6b53ce --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-gamut-004.html.ini @@ -0,0 +1,2 @@ +[mq-gamut-004.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-negative-range-001.html.ini b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-negative-range-001.html.ini new file mode 100644 index 00000000000..9da03462e6a --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-negative-range-001.html.ini @@ -0,0 +1,2 @@ +[mq-negative-range-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-range-001.html.ini b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-range-001.html.ini new file mode 100644 index 00000000000..a4f3a3d55d2 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/mediaqueries/mq-range-001.html.ini @@ -0,0 +1,2 @@ +[mq-range-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/dom/idlharness.window.js.ini b/tests/wpt/metadata-layout-2020/dom/idlharness.window.js.ini index a55498e35ba..25482271d01 100644 --- a/tests/wpt/metadata-layout-2020/dom/idlharness.window.js.ini +++ b/tests/wpt/metadata-layout-2020/dom/idlharness.window.js.ini @@ -250,9 +250,6 @@ [ShadowRoot interface: attribute onslotchange] expected: FAIL - [Window interface: attribute event] - expected: FAIL - [AbortController interface: new AbortController() must inherit property "abort()" with the proper type] expected: FAIL @@ -628,3 +625,12 @@ [Element interface: operation before((Node or DOMString)...)] expected: FAIL + [XPathNSResolver interface: document.createNSResolver(document.body) must inherit property "lookupNamespaceURI(DOMString?)" with the proper type] + expected: FAIL + + [Stringification of document.createNSResolver(document.body)] + expected: FAIL + + [XPathNSResolver interface: calling lookupNamespaceURI(DOMString?) on document.createNSResolver(document.body) with too few arguments must throw TypeError] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini index 9dc4e4c7787..8b68c2a8665 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini @@ -318,12 +318,6 @@ [: separate response Content-Type: text/html;x=" text/plain] expected: FAIL - [: combined response Content-Type: text/html */*;charset=gbk] - expected: FAIL - - [: combined response Content-Type: text/html;" text/plain] - expected: FAIL - [: separate response Content-Type: text/html */*] expected: FAIL @@ -333,6 +327,12 @@ [: combined response Content-Type: */* text/html] expected: FAIL - [: combined response Content-Type: text/html */*] + [: separate response Content-Type: text/html;" \\" text/plain] + expected: FAIL + + [: combined response Content-Type: text/html;x=" text/plain] + expected: FAIL + + [: separate response Content-Type: text/plain */*;charset=gbk] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini index 8d0261f22a0..e67f0406fc3 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini @@ -53,9 +53,3 @@ [combined text/javascript ] expected: FAIL - [separate text/javascript x/x] - expected: FAIL - - [separate text/javascript; charset=windows-1252 text/javascript] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini new file mode 100644 index 00000000000..75d75b4cda2 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_2.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini new file mode 100644 index 00000000000..dc2e45516de --- /dev/null +++ b/tests/wpt/metadata-layout-2020/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_5.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini deleted file mode 100644 index 735a9a75a2a..00000000000 --- a/tests/wpt/metadata-layout-2020/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[cross-origin-objects-on-new-window.html] - expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini b/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini index 3538891dae8..f45aaafe1c5 100644 --- a/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini +++ b/tests/wpt/metadata-layout-2020/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini @@ -1,5 +1,4 @@ [supported-elements.html] - expected: TIMEOUT [Contenteditable element should support autofocus] expected: FAIL @@ -10,7 +9,7 @@ expected: FAIL [Area element should support autofocus] - expected: TIMEOUT + expected: FAIL [Host element with delegatesFocus should support autofocus] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini index 42ebcc9d57e..88f4ddd0e9a 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini @@ -1,5 +1,5 @@ [iframe_sandbox_popups_escaping-1.html] - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini index 295031c1812..ab43ed7acf4 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini @@ -1,5 +1,5 @@ [iframe_sandbox_popups_escaping-3.html] - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini index 3080be9afc0..d913fcbb129 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini @@ -1,5 +1,5 @@ [iframe_sandbox_popups_nonescaping-1.html] - expected: CRASH + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] expected: NOTRUN diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini index 9eb581fcf1f..0407f0cc2b7 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini @@ -1,5 +1,5 @@ [iframe_sandbox_popups_nonescaping-2.html] - expected: CRASH + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] expected: NOTRUN diff --git a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini index 7d2b5231af2..7a36937927c 100644 --- a/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini +++ b/tests/wpt/metadata-layout-2020/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini @@ -1,5 +1,4 @@ [iframe_sandbox_popups_nonescaping-3.html] - expected: CRASH [Check that popups from a sandboxed iframe do not escape the sandbox] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/html/semantics/forms/form-submission-0/form-double-submit.html.ini b/tests/wpt/metadata-layout-2020/html/semantics/forms/form-submission-0/form-double-submit.html.ini deleted file mode 100644 index b193c33c2b6..00000000000 --- a/tests/wpt/metadata-layout-2020/html/semantics/forms/form-submission-0/form-double-submit.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[form-double-submit.html] - [default submit action should supersede onclick submit()] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini b/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini index dbec6f2c2ff..450c88bd32b 100644 --- a/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini +++ b/tests/wpt/metadata-layout-2020/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini @@ -3,3 +3,6 @@ [The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] expected: TIMEOUT + [The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini b/tests/wpt/metadata-layout-2020/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini index a1effd5f801..5ddb9bfeff6 100644 --- a/tests/wpt/metadata-layout-2020/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini +++ b/tests/wpt/metadata-layout-2020/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini @@ -1,9 +1,10 @@ [promise-job-entry.html] + expected: TIMEOUT [Fulfillment handler on fulfilled promise] expected: FAIL [Rejection handler on pending-then-rejected promise] - expected: FAIL + expected: TIMEOUT [Sanity check: this all works as expected with no promises involved] expected: FAIL @@ -15,5 +16,5 @@ expected: FAIL [Fulfillment handler on pending-then-fulfilled promise] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata-layout-2020/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index a56bad443a2..66bd350083b 100644 --- a/tests/wpt/metadata-layout-2020/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata-layout-2020/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -1,5 +1,4 @@ [realtimeanalyser-fft-scaling.html] - expected: TIMEOUT [X 2048-point FFT peak position is not equal to 64. Got 0.] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/webmessaging/with-ports/017.html.ini b/tests/wpt/metadata-layout-2020/webmessaging/with-ports/017.html.ini new file mode 100644 index 00000000000..064cf47545b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/webmessaging/with-ports/017.html.ini @@ -0,0 +1,5 @@ +[017.html] + expected: TIMEOUT + [origin of the script that invoked the method, about:blank] + expected: TIMEOUT + diff --git a/tests/wpt/metadata-layout-2020/webmessaging/without-ports/018.html.ini b/tests/wpt/metadata-layout-2020/webmessaging/with-ports/018.html.ini similarity index 100% rename from tests/wpt/metadata-layout-2020/webmessaging/without-ports/018.html.ini rename to tests/wpt/metadata-layout-2020/webmessaging/with-ports/018.html.ini diff --git a/tests/wpt/metadata-layout-2020/webmessaging/without-ports/017.html.ini b/tests/wpt/metadata-layout-2020/webmessaging/without-ports/017.html.ini new file mode 100644 index 00000000000..064cf47545b --- /dev/null +++ b/tests/wpt/metadata-layout-2020/webmessaging/without-ports/017.html.ini @@ -0,0 +1,5 @@ +[017.html] + expected: TIMEOUT + [origin of the script that invoked the method, about:blank] + expected: TIMEOUT + diff --git a/tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini new file mode 100644 index 00000000000..80f9a4f15b8 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/workers/constructors/Worker/Worker-constructor.html.ini @@ -0,0 +1,2 @@ +[Worker-constructor.html] + expected: ERROR diff --git a/tests/wpt/metadata-layout-2020/workers/semantics/run-a-worker/003.html.ini b/tests/wpt/metadata-layout-2020/workers/semantics/run-a-worker/003.html.ini index c2c57aec558..dd49aa8e457 100644 --- a/tests/wpt/metadata-layout-2020/workers/semantics/run-a-worker/003.html.ini +++ b/tests/wpt/metadata-layout-2020/workers/semantics/run-a-worker/003.html.ini @@ -1,4 +1,5 @@ [003.html] + expected: ERROR [shared] expected: FAIL diff --git a/tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini deleted file mode 100644 index a9005e45d6e..00000000000 --- a/tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini +++ /dev/null @@ -1,8 +0,0 @@ -[url-charset.window.html] - expected: TIMEOUT - [Blob charset should override any auto-detected charset.] - expected: TIMEOUT - - [Blob charset should override .] - expected: TIMEOUT - 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 c90d3bdc02a..76893295114 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -14826,13 +14826,6 @@ {} ] ], - "element-request-fullscreen-dialog-manual.html": [ - "360ade0724d1c9a31e8088f8a9177f88d9d5e732", - [ - null, - {} - ] - ], "element-request-fullscreen-non-top-manual.html": [ "0764e9c8423a2f528dbfa12d4e57614d7128b4a0", [ @@ -24287,8 +24280,56 @@ } } ] + ], + "reftest_mismatch_page_margins-print.html": [ + "62c925927e0d54709b2a1f5ac302edadc4651180", + [ + null, + [ + [ + "/infrastructure/reftest/reftest_match-print-ref.html", + "!=" + ] + ], + {} + ] ] } + }, + "svg": { + "painting": { + "reftests": { + "mask-print.svg": [ + "ea8e3d29b9c4e1dce623d265c1c1a2865c08d28a", + [ + null, + [ + [ + "/svg/painting/reftests/mask-print-ref.svg", + "==" + ] + ], + { + "fuzzy": [ + [ + null, + [ + [ + 1, + 1 + ], + [ + 17280, + 17280 + ] + ] + ] + ] + } + ] + ] + } + } } }, "reftest": { @@ -211570,7 +211611,85 @@ ] ], "mq-case-insensitive-001.html": [ - "dc4d8289953f190f3eadcb13c8cbd594a9f9407f", + "c851662343dcfcff5a0d39d37d849f9e0ff8c667", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-deprecated-001.html": [ + "0aa06666cd53d913eab8dbe6a95ab6f2b2c855f5", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-gamut-001.html": [ + "b0496192933dc4c2e0e4514da630b1828b7d3804", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-gamut-002.html": [ + "a63399ede1af3cd6a550c9a9f58ad67fa98970a8", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-gamut-003.html": [ + "29bde56e69e84613bd72913218477f331ca31106", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-gamut-004.html": [ + "fe285564701be15cf88f379d7747e6aae3291666", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-gamut-005.html": [ + "a1fe4d9e6e0c9b28a5103fc7f48b9955998dc6c3", [ null, [ @@ -211634,6 +211753,32 @@ {} ] ], + "mq-negative-range-001.html": [ + "eb1030a8dd4c5c2504e2af114c75a3e97332b2e1", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "mq-range-001.html": [ + "f54917ada1cf1f625c7bbb2cf73aeb7305615f08", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], "relative-units-001.html": [ "fac94d78edfba4031b7bad980f07ff9e73ddeb72", [ @@ -343623,7 +343768,7 @@ ] }, "idlharness.js": [ - "fa24275648fcd266940940f1467e88ea4b5136ed", + "25c193b55e5b76fff6dc180268357a11a27abc08", [] ], "idlharness.js.headers": [ @@ -343948,6 +344093,10 @@ "a1a641bd971e5a995e3965d27f3e2f8a8e834e7b", [] ], + "should_have_interface_object.html": [ + "f5bb7bf35a58c23cbaf76f1519ac2dfec5f3ad62", + [] + ], "test_primary_interface_of_undefined.html": [ "0031558ad42ce55e0cd6ee92ea9973788a9a8017", [] @@ -347706,6 +347855,10 @@ "871003f3a2303404696d467a7cfaad729b811206", [] ], + "mask-print-ref.svg": [ + "5d58e49bc8e9b4f018a69ea4783eb90df83e14c7", + [] + ], "paint-context-001-ref.svg": [ "99bd8c44cb78a4b0340ad6456c7e58e4ca397257", [] @@ -355152,7 +355305,7 @@ [] ], "firefox.py": [ - "8ffe82c662b8b1a2b28c32f967e933d23e9b053d", + "fc5abf8b93cd24ed3dd46c4384dd7c94facce232", [] ], "firefox_android.py": [ @@ -381665,7 +381818,7 @@ ] ], "iframe-all-local-schemes.sub.html": [ - "20a9cbdc9e086163000baafb9c74d4e9d32b071a", + "4b787e0c1888eae0e7c7e8dd75ad154f585af274", [ null, {} @@ -413366,7 +413519,7 @@ ] ], "idlharness.window.js": [ - "24b56cf05ada3722c30a7a1427d1cbb324ec366a", + "ab965adbc4354b50cb6718349f50e1529bead040", [ "dom/idlharness.window.html?exclude=Node", { @@ -433960,6 +434113,15 @@ {} ] ], + "element-request-fullscreen-dialog.html": [ + "08091ddc01fb62568f55e64a1f45336a29194e67", + [ + null, + { + "testdriver": true + } + ] + ], "element-request-fullscreen-not-allowed.html": [ "3170c184823d737eec149c4bdecc9c10321d26ea", [ diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini deleted file mode 100644 index f64b45fea6b..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[hit-test-floats-002.html] - [Hit test float] - expected: FAIL - 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 deleted file mode 100644 index f29da48a2a0..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-003.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[hit-test-floats-003.html] - [Miss float below something else] - expected: FAIL - diff --git a/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini index 6f3f93585f7..03e1110f304 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/font-weight-matching.html.ini @@ -35,3 +35,9 @@ [Test @font-face matching for weight 249] expected: FAIL + [Test @font-face matching for weight 500] + expected: FAIL + + [Test @font-face matching for weight 250] + 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 deleted file mode 100644 index 4c79907309b..00000000000 --- a/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[CaretPosition-001.html] - [Element at (400, 100)] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini new file mode 100644 index 00000000000..e38782d8c85 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini @@ -0,0 +1,4 @@ +[elementFromPoint-001.html] + [CSSOM View - 5 - extensions to the Document interface] + expected: FAIL + diff --git a/tests/wpt/metadata/css/mediaqueries/mq-gamut-001.html.ini b/tests/wpt/metadata/css/mediaqueries/mq-gamut-001.html.ini new file mode 100644 index 00000000000..2a9a0ab380f --- /dev/null +++ b/tests/wpt/metadata/css/mediaqueries/mq-gamut-001.html.ini @@ -0,0 +1,2 @@ +[mq-gamut-001.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/mediaqueries/mq-gamut-002.html.ini b/tests/wpt/metadata/css/mediaqueries/mq-gamut-002.html.ini new file mode 100644 index 00000000000..c16827ecbb9 --- /dev/null +++ b/tests/wpt/metadata/css/mediaqueries/mq-gamut-002.html.ini @@ -0,0 +1,2 @@ +[mq-gamut-002.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/mediaqueries/mq-gamut-004.html.ini b/tests/wpt/metadata/css/mediaqueries/mq-gamut-004.html.ini new file mode 100644 index 00000000000..bbf1d6b53ce --- /dev/null +++ b/tests/wpt/metadata/css/mediaqueries/mq-gamut-004.html.ini @@ -0,0 +1,2 @@ +[mq-gamut-004.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/mediaqueries/mq-negative-range-001.html.ini b/tests/wpt/metadata/css/mediaqueries/mq-negative-range-001.html.ini new file mode 100644 index 00000000000..9da03462e6a --- /dev/null +++ b/tests/wpt/metadata/css/mediaqueries/mq-negative-range-001.html.ini @@ -0,0 +1,2 @@ +[mq-negative-range-001.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/mediaqueries/mq-range-001.html.ini b/tests/wpt/metadata/css/mediaqueries/mq-range-001.html.ini new file mode 100644 index 00000000000..a4f3a3d55d2 --- /dev/null +++ b/tests/wpt/metadata/css/mediaqueries/mq-range-001.html.ini @@ -0,0 +1,2 @@ +[mq-range-001.html] + expected: FAIL diff --git a/tests/wpt/metadata/dom/idlharness.window.js.ini b/tests/wpt/metadata/dom/idlharness.window.js.ini index f340ff4f56c..6e282adaef0 100644 --- a/tests/wpt/metadata/dom/idlharness.window.js.ini +++ b/tests/wpt/metadata/dom/idlharness.window.js.ini @@ -749,5 +749,14 @@ [Document interface: xmlDoc must inherit property "replaceChildren((Node or DOMString)...)" with the proper type] expected: FAIL + [XPathNSResolver interface: document.createNSResolver(document.body) must inherit property "lookupNamespaceURI(DOMString?)" with the proper type] + expected: FAIL + + [Stringification of document.createNSResolver(document.body)] + expected: FAIL + + [XPathNSResolver interface: calling lookupNamespaceURI(DOMString?) on document.createNSResolver(document.body) with too few arguments must throw TypeError] + expected: FAIL + [idlharness.window.html?include=Node] diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index e5596ea57a2..90b122ec432 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -318,12 +318,6 @@ [: separate response Content-Type: text/html;x=" text/plain] expected: FAIL - [: combined response Content-Type: text/html */*;charset=gbk] - expected: FAIL - - [: combined response Content-Type: text/html;" text/plain] - expected: FAIL - [: separate response Content-Type: text/html */*] expected: FAIL @@ -333,6 +327,12 @@ [: combined response Content-Type: */* text/html] expected: FAIL - [: combined response Content-Type: text/html */*] + [: separate response Content-Type: text/html;" \\" text/plain] + expected: FAIL + + [: combined response Content-Type: text/html;x=" text/plain] + expected: FAIL + + [: separate response Content-Type: text/plain */*;charset=gbk] expected: FAIL diff --git a/tests/wpt/metadata/fetch/content-type/script.window.js.ini b/tests/wpt/metadata/fetch/content-type/script.window.js.ini index 8d0261f22a0..e67f0406fc3 100644 --- a/tests/wpt/metadata/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/script.window.js.ini @@ -53,9 +53,3 @@ [combined text/javascript ] expected: FAIL - [separate text/javascript x/x] - expected: FAIL - - [separate text/javascript; charset=windows-1252 text/javascript] - expected: FAIL - diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini new file mode 100644 index 00000000000..75d75b4cda2 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_2.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini new file mode 100644 index 00000000000..dc2e45516de --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_5.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini deleted file mode 100644 index 735a9a75a2a..00000000000 --- a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[cross-origin-objects-on-new-window.html] - expected: TIMEOUT diff --git a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini index d1ca01ebc5f..6b68e9094e4 100644 --- a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini +++ b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini @@ -1,5 +1,4 @@ [supported-elements.html] - expected: TIMEOUT [Contenteditable element should support autofocus] expected: FAIL @@ -10,7 +9,7 @@ expected: FAIL [Area element should support autofocus] - expected: TIMEOUT + expected: FAIL [Host element with delegatesFocus should support autofocus] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini index fc37df7e3fa..2a166bb97b7 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini @@ -1,6 +1,6 @@ [iframe_sandbox_popups_escaping-1.html] type: testharness - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] expected: TIMEOUT diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini index 5f60c78e73c..b3bd9f4c289 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini @@ -1,6 +1,6 @@ [iframe_sandbox_popups_escaping-3.html] type: testharness - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] expected: TIMEOUT diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini index 963d4cd20ef..9df1ac56f2a 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html.ini @@ -1,6 +1,6 @@ [iframe_sandbox_popups_nonescaping-1.html] type: testharness - expected: CRASH + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini index 45d8be1c898..d43f38b40cd 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini @@ -1,6 +1,6 @@ [iframe_sandbox_popups_nonescaping-2.html] type: testharness - expected: CRASH + expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini index 2568040e6e5..dc856a3d5a3 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini @@ -1,6 +1,5 @@ [iframe_sandbox_popups_nonescaping-3.html] type: testharness - expected: CRASH [Check that popups from a sandboxed iframe do not escape the sandbox] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-double-submit.html.ini b/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-double-submit.html.ini deleted file mode 100644 index b193c33c2b6..00000000000 --- a/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-double-submit.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[form-double-submit.html] - [default submit action should supersede onclick submit()] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini index 0cef5158fae..01f7b72cbe7 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini @@ -4,3 +4,6 @@ [The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] expected: TIMEOUT + [The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] + expected: FAIL + diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini index a1effd5f801..5ddb9bfeff6 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/promise-job-entry.html.ini @@ -1,9 +1,10 @@ [promise-job-entry.html] + expected: TIMEOUT [Fulfillment handler on fulfilled promise] expected: FAIL [Rejection handler on pending-then-rejected promise] - expected: FAIL + expected: TIMEOUT [Sanity check: this all works as expected with no promises involved] expected: FAIL @@ -15,5 +16,5 @@ expected: FAIL [Fulfillment handler on pending-then-fulfilled promise] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index a56bad443a2..66bd350083b 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -1,5 +1,4 @@ [realtimeanalyser-fft-scaling.html] - expected: TIMEOUT [X 2048-point FFT peak position is not equal to 64. Got 0.] expected: FAIL diff --git a/tests/wpt/metadata/webmessaging/with-ports/017.html.ini b/tests/wpt/metadata/webmessaging/with-ports/017.html.ini new file mode 100644 index 00000000000..064cf47545b --- /dev/null +++ b/tests/wpt/metadata/webmessaging/with-ports/017.html.ini @@ -0,0 +1,5 @@ +[017.html] + expected: TIMEOUT + [origin of the script that invoked the method, about:blank] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/webmessaging/without-ports/018.html.ini b/tests/wpt/metadata/webmessaging/with-ports/018.html.ini similarity index 100% rename from tests/wpt/metadata/webmessaging/without-ports/018.html.ini rename to tests/wpt/metadata/webmessaging/with-ports/018.html.ini diff --git a/tests/wpt/metadata/webmessaging/without-ports/017.html.ini b/tests/wpt/metadata/webmessaging/without-ports/017.html.ini new file mode 100644 index 00000000000..064cf47545b --- /dev/null +++ b/tests/wpt/metadata/webmessaging/without-ports/017.html.ini @@ -0,0 +1,5 @@ +[017.html] + expected: TIMEOUT + [origin of the script that invoked the method, about:blank] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini new file mode 100644 index 00000000000..80f9a4f15b8 --- /dev/null +++ b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini @@ -0,0 +1,2 @@ +[Worker-constructor.html] + expected: ERROR diff --git a/tests/wpt/metadata/workers/semantics/run-a-worker/003.html.ini b/tests/wpt/metadata/workers/semantics/run-a-worker/003.html.ini index d6e39444229..49f489d2a1c 100644 --- a/tests/wpt/metadata/workers/semantics/run-a-worker/003.html.ini +++ b/tests/wpt/metadata/workers/semantics/run-a-worker/003.html.ini @@ -1,5 +1,6 @@ [003.html] type: testharness + expected: ERROR [shared] expected: FAIL diff --git a/tests/wpt/web-platform-tests/content-security-policy/inheritance/iframe-all-local-schemes.sub.html b/tests/wpt/web-platform-tests/content-security-policy/inheritance/iframe-all-local-schemes.sub.html index 20a9cbdc9e0..4b787e0c188 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/inheritance/iframe-all-local-schemes.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/inheritance/iframe-all-local-schemes.sub.html @@ -17,6 +17,16 @@ })); } + function wait_for_error_from_window(opened_window, test) { + window.addEventListener('message', test.step_func(e => { + if (e.source != opened_window) + return; + assert_equals(e.data, "error"); + opened_window.close(); + test.done(); + })); + } + async_test(t => { var i = document.createElement('iframe'); document.body.appendChild(i); @@ -28,6 +38,29 @@ img.src = "{{location[server]}}/images/red-16x16.png"; }, "'s about:blank inherits policy."); + async_test(t => { + var w = window.open("about:blank"); + + let then = t.step_func(() => { + then = () => {}; + var img = w.document.createElement('img'); + img.onerror = t.step_func_done(_ => w.close()); + img.onload = t.unreached_func(); + w.document.body.appendChild(img); + img.src = "{{location[server]}}/images/red-16x16.png"; + }); + + // There are now interoperable way to wait for the initial about:blank + // document to load. Chrome loads it synchronously, hence we can't wait for + // w.onload. On the other side Firefox loads the initial empty document + // later and we can wait for the onload event. + w.onload = then; + setTimeout(then, 200); + + // Navigations to about:blank happens synchronously. There is no need to + // wait for the document to load. + }, "window about:blank inherits policy."); + async_test(t => { var i = document.createElement('iframe'); i.srcdoc = ` @@ -58,6 +91,19 @@ document.body.appendChild(i); }, "'s inherits policy."); + async_test(t => { + var b = new Blob( + [` + + `], {type:"text/html"}); + let url = URL.createObjectURL(b); + var w = window.open(url); + wait_for_error_from_window(w, t); + }, "window url='blob:...' inherits policy."); + async_test(t => { var i = document.createElement('iframe'); i.src = `data:text/html,'s inherits policy."); + // Opening a window toward a data-url isn't allowed anymore. Hence, it can't + // be tested. + async_test(t => { var i = document.createElement('iframe'); i.src = `javascript:"'s inherits policy (static is blocked)"); + async_test(t => { + let url = `javascript:""`; + + let w = window.open(url); + wait_for_error_from_window(w, t); + }, "window url='javascript:...'>'s inherits policy (static is blocked)"); + // Same as the previous javascript-URL test, but instead of loading the // from the new document, this one is created from the initial empty document, // while evaluating the javascript-url. diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-case-insensitive-001.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-case-insensitive-001.html index dc4d8289953..c851662343d 100644 --- a/tests/wpt/web-platform-tests/css/mediaqueries/mq-case-insensitive-001.html +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-case-insensitive-001.html @@ -5,6 +5,8 @@ Test: ASCII-case-insensitivity of media queries + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-001.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-001.html new file mode 100644 index 00000000000..b0496192933 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-001.html @@ -0,0 +1,24 @@ + +Test: srgb color gamut + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-002.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-002.html new file mode 100644 index 00000000000..a63399ede1a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-002.html @@ -0,0 +1,25 @@ + +Test: p3 color gamut + + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-003.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-003.html new file mode 100644 index 00000000000..29bde56e69e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-003.html @@ -0,0 +1,26 @@ + +Test: p3 color gamut (old name) + + + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-004.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-004.html new file mode 100644 index 00000000000..fe285564701 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-004.html @@ -0,0 +1,25 @@ + +Test: rec2020 color gamut + + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-005.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-005.html new file mode 100644 index 00000000000..a1fe4d9e6e0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-gamut-005.html @@ -0,0 +1,25 @@ + +Test: rec2020 color gamut(old name) + + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-negative-range-001.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-negative-range-001.html new file mode 100644 index 00000000000..eb1030a8dd4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-negative-range-001.html @@ -0,0 +1,40 @@ + +Test: false in the negative range + + + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/css/mediaqueries/mq-range-001.html b/tests/wpt/web-platform-tests/css/mediaqueries/mq-range-001.html new file mode 100644 index 00000000000..f54917ada1c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/mediaqueries/mq-range-001.html @@ -0,0 +1,27 @@ + +Test: invalid range syntax + + + + + + + + +Test passes if there is a filled green square and no red. + + diff --git a/tests/wpt/web-platform-tests/dom/idlharness.window.js b/tests/wpt/web-platform-tests/dom/idlharness.window.js index 24b56cf05ad..ab965adbc43 100644 --- a/tests/wpt/web-platform-tests/dom/idlharness.window.js +++ b/tests/wpt/web-platform-tests/dom/idlharness.window.js @@ -44,8 +44,7 @@ idl_test( DOMTokenList: ['document.body.classList'], XPathEvaluator: ['new XPathEvaluator()'], XPathExpression: ['document.createExpression("//*")'], - // Skipped due to https://github.com/web-platform-tests/wpt/issues/18827: - // XPathNSResolver: ['document.createNSResolver(document.body)'], + XPathNSResolver: ['document.createNSResolver(document.body)'], XPathResult: ['document.evaluate("//*", document.body)'], }); } diff --git a/tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-dialog-manual.html b/tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-dialog.html similarity index 71% rename from tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-dialog-manual.html rename to tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-dialog.html index 360ade0724d..08091ddc01f 100644 --- a/tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-dialog-manual.html +++ b/tests/wpt/web-platform-tests/fullscreen/api/element-request-fullscreen-dialog.html @@ -2,15 +2,17 @@ Element#requestFullscreen() for dialog element - + + diff --git a/tests/wpt/web-platform-tests/infrastructure/reftest/reftest_mismatch_page_margins-print.html b/tests/wpt/web-platform-tests/infrastructure/reftest/reftest_mismatch_page_margins-print.html new file mode 100644 index 00000000000..62c925927e0 --- /dev/null +++ b/tests/wpt/web-platform-tests/infrastructure/reftest/reftest_mismatch_page_margins-print.html @@ -0,0 +1,13 @@ +print-reftest should respect @page margins + + + +page 1 + + +page 2 + diff --git a/tests/wpt/web-platform-tests/resources/idlharness.js b/tests/wpt/web-platform-tests/resources/idlharness.js index fa24275648f..25c193b55e5 100644 --- a/tests/wpt/web-platform-tests/resources/idlharness.js +++ b/tests/wpt/web-platform-tests/resources/idlharness.js @@ -1409,6 +1409,18 @@ IdlInterface.prototype.get_interface_object_owner = function() return legacyNamespace ? self[legacyNamespace] : self; }; +IdlInterface.prototype.should_have_interface_object = function() +{ + // "For every interface that is exposed in a given ECMAScript global + // environment and: + // * is a callback interface that has constants declared on it, or + // * is a non-callback interface that is not declared with the + // [NoInterfaceObject] extended attribute, + // a corresponding property MUST exist on the ECMAScript global object. + + return this.is_callback() ? this.has_constants() : !this.has_extended_attribute("NoInterfaceObject"); +}; + IdlInterface.prototype.assert_interface_object_exists = function() { var owner = this.get_legacy_namespace() || "self"; @@ -1416,8 +1428,9 @@ IdlInterface.prototype.assert_interface_object_exists = function() }; IdlInterface.prototype.get_interface_object = function() { - if (this.has_extended_attribute("NoInterfaceObject")) { - throw new IdlHarnessError(this.name + " has no interface object due to NoInterfaceObject"); + if (!this.should_have_interface_object()) { + var reason = this.is_callback() ? "lack of declared constants" : "declared [NoInterfaceObject] attribute"; + throw new IdlHarnessError(this.name + " has no interface object due to " + reason); } return this.get_interface_object_owner()[this.name]; @@ -1607,20 +1620,14 @@ IdlInterface.prototype.test_self = function() { // This function tests WebIDL as of 2015-01-13. - // "For every interface that is exposed in a given ECMAScript global - // environment and: - // * is a callback interface that has constants declared on it, or - // * is a non-callback interface that is not declared with the - // [NoInterfaceObject] extended attribute, - // a corresponding property MUST exist on the ECMAScript global object. + if (!this.should_have_interface_object()) { + return; + } + // The name of the property is the identifier of the interface, and its // value is an object called the interface object. // The property has the attributes { [[Writable]]: true, // [[Enumerable]]: false, [[Configurable]]: true }." - if (this.is_callback() && !this.has_constants()) { - return; - } - // TODO: Should we test here that the property is actually writable // etc., or trust getOwnPropertyDescriptor? this.assert_interface_object_exists(); @@ -1704,7 +1711,7 @@ IdlInterface.prototype.test_self = function() } }.bind(this), this.name + " interface: existence and properties of interface object"); - if (!this.is_callback()) { + if (this.should_have_interface_object() && !this.is_callback()) { subsetTestByKey(this.name, test, function() { // This function tests WebIDL as of 2014-10-25. // https://heycam.github.io/webidl/#es-interface-call @@ -1729,7 +1736,7 @@ IdlInterface.prototype.test_self = function() }.bind(this), this.name + " interface object length"); } - if (!this.is_callback() || this.has_constants()) { + if (this.should_have_interface_object()) { subsetTestByKey(this.name, test, function() { // This function tests WebIDL as of 2015-11-17. // https://heycam.github.io/webidl/#interface-object @@ -1926,7 +1933,7 @@ IdlInterface.prototype.test_self = function() // This function tests WebIDL as of 2015-01-21. // https://heycam.github.io/webidl/#interface-object - if (this.is_callback() && !this.has_constants()) { + if (!this.should_have_interface_object()) { return; } @@ -2050,7 +2057,7 @@ IdlInterface.prototype.test_self = function() subsetTestByKey(this.name, test, function() { - if (this.is_callback() && !this.has_constants()) { + if (!this.should_have_interface_object()) { return; } @@ -2085,7 +2092,7 @@ IdlInterface.prototype.test_self = function() subsetTestByKey(this.name, test, function() { - if (this.is_callback() && !this.has_constants()) { + if (!this.should_have_interface_object()) { return; } @@ -2326,8 +2333,8 @@ IdlInterface.prototype.test_member_attribute = function(member) var a_test = subsetTestByKey(this.name, async_test, this.name + " interface: attribute " + member.name); a_test.step(function() { - if (this.is_callback() && !this.has_constants()) { - a_test.done() + if (!this.should_have_interface_object()) { + a_test.done(); return; } @@ -2422,7 +2429,7 @@ IdlInterface.prototype.test_member_operation = function(member) // This function tests WebIDL as of 2015-12-29. // https://heycam.github.io/webidl/#es-operations - if (this.is_callback() && !this.has_constants()) { + if (!this.should_have_interface_object()) { a_test.done(); return; } @@ -2665,7 +2672,7 @@ IdlInterface.prototype.test_member_stringifier = function(member) { subsetTestByKey(this.name, test, function() { - if (this.is_callback() && !this.has_constants()) { + if (!this.should_have_interface_object()) { return; } @@ -2859,7 +2866,7 @@ IdlInterface.prototype.test_primary_interface_of = function(desc, obj, exception // interface object, or the object is from a different global environment // (not instanceof Object). TODO: test in this case that its prototype at // least looks correct, even if we can't test that it's actually correct. - if (!this.has_extended_attribute("NoInterfaceObject") + if (this.should_have_interface_object() && (typeof obj != expected_typeof || obj instanceof Object)) { subsetTestByKey(this.name, test, function() diff --git a/tests/wpt/web-platform-tests/resources/test/tests/unit/IdlInterface/should_have_interface_object.html b/tests/wpt/web-platform-tests/resources/test/tests/unit/IdlInterface/should_have_interface_object.html new file mode 100644 index 00000000000..f5bb7bf35a5 --- /dev/null +++ b/tests/wpt/web-platform-tests/resources/test/tests/unit/IdlInterface/should_have_interface_object.html @@ -0,0 +1,30 @@ + +IdlInterface.prototype.should_have_interface_object() + + + + + + + diff --git a/tests/wpt/web-platform-tests/svg/painting/reftests/mask-print-ref.svg b/tests/wpt/web-platform-tests/svg/painting/reftests/mask-print-ref.svg new file mode 100644 index 00000000000..5d58e49bc8e --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/painting/reftests/mask-print-ref.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/svg/painting/reftests/mask-print.svg b/tests/wpt/web-platform-tests/svg/painting/reftests/mask-print.svg new file mode 100644 index 00000000000..ea8e3d29b9c --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/painting/reftests/mask-print.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py index 8ffe82c662b..fc5abf8b93c 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py @@ -368,7 +368,8 @@ class BrowserInstance(object): def stop(self, force=False, skip_marionette=False): """Stop Firefox""" - if self.runner is not None and self.runner.is_running(): + is_running = self.runner is not None and self.runner.is_running() + if is_running: self.logger.debug("Stopping Firefox %s" % self.pid()) shutdown_methods = [(True, lambda: self.runner.wait(self.shutdown_timeout)), (False, lambda: self.runner.stop(signal.SIGTERM)), @@ -387,8 +388,12 @@ class BrowserInstance(object): except OSError: # This can happen on Windows if the process is already dead pass + elif self.runner: + # The browser was already stopped, which we assume was a crash + # TODO: Should we check the exit code here? + clean = False if not skip_marionette: - self.output_handler.after_stop() + self.output_handler.after_stop(clean_shutdown=clean) def pid(self): if self.runner.process_handler is None: @@ -472,22 +477,26 @@ class OutputHandler(object): self.__call__(line) self.line_buffer = [] - def after_stop(self): + def after_stop(self, clean_shutdown=True): self.logger.info("PROCESS LEAKS %s" % self.instance.leak_report_file) if self.lsan_handler: self.lsan_handler.process() if self.instance.leak_report_file is not None: - # We have to ignore missing leaks in the tab because it can happen that the - # content process crashed and in that case we don't want the test to fail. - # Ideally we would record which content process crashed and just skip those. - mozleak.process_leak_log( - self.instance.leak_report_file, - leak_thresholds=self.mozleak_thresholds, - ignore_missing_leaks=["tab", "gmplugin"], - log=self.logger, - stack_fixer=self.stack_fixer, - scope=self.group_metadata.get("scope"), - allowed=self.mozleak_allowed) + if not clean_shutdown: + # If we didn't get a clean shutdown there probably isn't a leak report file + self.logger.warning("Firefox didn't exit cleanly, not processing leak logs") + else: + # We have to ignore missing leaks in the tab because it can happen that the + # content process crashed and in that case we don't want the test to fail. + # Ideally we would record which content process crashed and just skip those. + mozleak.process_leak_log( + self.instance.leak_report_file, + leak_thresholds=self.mozleak_thresholds, + ignore_missing_leaks=["tab", "gmplugin"], + log=self.logger, + stack_fixer=self.stack_fixer, + scope=self.group_metadata.get("scope"), + allowed=self.mozleak_allowed) def __call__(self, line): """Write a line of output from the firefox process to the log"""
Test passes if there is a filled green square and no red. + +