From 3f940e3f4cf9d16c34938bf44f3900b2694979dd Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Fri, 27 Sep 2019 10:23:59 +0000 Subject: [PATCH] Update web-platform-tests to revision 90e1ee27eede63cf117f19c1e55553cc1881aef0 --- tests/wpt/metadata/MANIFEST.json | 535 +- .../line-breaking/line-breaking-021.html.ini | 2 + .../text-align-last-wins-001.html.ini | 2 + .../text-justify/text-justify-006.html.ini | 2 + .../text-transform-fullwidth-008.html.ini | 2 + .../text-transform-fullwidth-009.html.ini | 2 + .../seg-break-transformation-018.html.ini | 2 + .../seg-break-transformation-019.html.ini | 2 + .../word-break-keep-all-007.html.ini | 2 + .../word-break-keep-all-008.html.ini | 2 + .../perspective-interpolation.html.ini | 1 + .../minmax-length-percent-serialize.html.ini | 181 + .../minmax-length-serialize.html.ini | 133 + .../minmax-number-serialize.html.ini | 37 + .../minmax-percentage-serialize.html.ini | 37 + .../css/cssom-view/idlharness.html.ini | 6 + .../matchMedia-display-none-iframe.html.ini | 2 + .../contentType/contenttype_txt.html.ini | 2 - .../fetch/content-type/response.window.js.ini | 15 +- .../fetch/content-type/script.window.js.ini | 3 + .../nosniff/parsing-nosniff.window.js.ini | 3 - ...ml.ini => traverse_the_history_4.html.ini} | 2 +- .../traverse_the_history_5.html.ini | 4 + ...creating_browsing_context_test_01.html.ini | 3 +- .../html/dom/idlharness.https.html.ini | 9 + .../parsing/DOMContentLoaded-defer.html.ini | 4 - .../promise-rejection-events-onerror.html.ini | 5 + .../wpt/metadata/webgl/idlharness.any.js.ini | 9060 +++++++++++++++++ .../ar-module/idlharness.https.window.js.ini | 4 + .../webxr/idlharness.https.window.js.ini | 6 + .../Worker/Worker-constructor.html.ini | 2 - ...dicated-worker-from-blob-url.window.js.ini | 3 +- .../css/transition_calc_implicit.html.ini | 2 + tests/wpt/web-platform-tests/.taskcluster.yml | 5 +- .../echo_ua_client_hints_received.py | 26 + .../client-hints/sec-ch-quotes.https.html | 25 + .../sec-ch-quotes.https.html.headers | 1 + .../compat/webkit-radial-gradient-radii.html | 21 + .../report-blocked-frame.sub.html | 12 + .../support/content-security-policy.sub.html | 6 + ...ntent-security-policy.sub.html.sub.headers | 1 + .../css/css-speech/META.yml | 1 - .../hanging-punctuation-inline-001.html | 24 + .../hanging-punctuation-inline-001-ref.html | 15 + .../line-breaking/line-breaking-021.html | 16 + .../reference/line-breaking-021-ref.html | 9 + .../text-align-last-wins-001-ref.html | 16 + .../text-align/text-align-last-wins-001.html | 20 + .../reference/text-justify-006-ref.html | 27 + .../text-justify/text-justify-006.html | 35 + .../text-transform-fullwidth-008-ref.html | 19 + .../text-transform-fullwidth-009-ref.html | 23 + .../text-transform-fullwidth-006.html | 6 +- .../text-transform-fullwidth-007.html | 6 +- .../text-transform-fullwidth-008.html | 37 + .../text-transform-fullwidth-009.html | 49 + .../seg-break-transformation-018.html | 46 + .../seg-break-transformation-019.html | 48 + .../word-break/word-break-keep-all-007.html | 30 + .../word-break/word-break-keep-all-008.html | 30 + .../minmax-length-percent-serialize.html | 81 + .../css-values/minmax-length-serialize.html | 65 + .../css-values/minmax-number-serialize.html | 29 + .../minmax-percentage-serialize.html | 29 + ...img-mime-types-coverage.tentative.sub.html | 7 +- ...labeled-as-html-nosniff.tentative.sub.html | 10 +- ...labeled-as-html-nosniff.tentative.sub.html | 10 +- ...-html-correctly-labeled.tentative.sub.html | 7 +- ...ith-json-parser-breaker.tentative.sub.html | 7 +- .../resources/link-style-error.js | 8 +- .../interfaces/encrypted-media.idl | 117 +- .../interfaces/fullscreen.idl | 2 +- .../interfaces/mediastream-recording.idl | 2 +- .../interfaces/reporting.idl | 12 +- .../wpt/web-platform-tests/reporting/META.yml | 2 +- ...idlharness.window.js => idlharness.any.js} | 0 .../resources/idlharness.js | 116 +- .../test_partial_interface_of.html | 13 +- .../IdlInterface/test_interface_mixin.html | 83 + .../test_partial_interface_of.html | 24 +- .../resources/testharness.js | 1 + .../resources/webidl2/lib/webidl2.js | 126 +- .../idlharness.window.js | 17 - tests/wpt/web-platform-tests/tools/ci/jobs.py | 25 +- .../wpt/web-platform-tests/tools/ci/run_tc.py | 8 +- .../tools/ci/tests/test_jobs.py | 27 + ...l1-idlharness.any.js => idlharness.any.js} | 2 +- .../webgl/webgl2-idlharness.any.js | 15 - .../dedicated-worker-from-blob-url.window.js | 3 +- 89 files changed, 11097 insertions(+), 382 deletions(-) create mode 100644 tests/wpt/metadata/css/css-text/line-breaking/line-breaking-021.html.ini create mode 100644 tests/wpt/metadata/css/css-text/text-align/text-align-last-wins-001.html.ini create mode 100644 tests/wpt/metadata/css/css-text/text-justify/text-justify-006.html.ini create mode 100644 tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-008.html.ini create mode 100644 tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-009.html.ini create mode 100644 tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-018.html.ini create mode 100644 tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-019.html.ini create mode 100644 tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-007.html.ini create mode 100644 tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-008.html.ini create mode 100644 tests/wpt/metadata/css/css-values/minmax-length-percent-serialize.html.ini create mode 100644 tests/wpt/metadata/css/css-values/minmax-length-serialize.html.ini create mode 100644 tests/wpt/metadata/css/css-values/minmax-number-serialize.html.ini create mode 100644 tests/wpt/metadata/css/css-values/minmax-percentage-serialize.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini delete mode 100644 tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini rename tests/wpt/metadata/html/browsers/history/the-history-interface/{traverse_the_history_2.html.ini => traverse_the_history_4.html.ini} (71%) create mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini delete mode 100644 tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini create mode 100644 tests/wpt/metadata/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-onerror.html.ini create mode 100644 tests/wpt/metadata/webgl/idlharness.any.js.ini create mode 100644 tests/wpt/metadata/webxr/ar-module/idlharness.https.window.js.ini delete mode 100644 tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini create mode 100644 tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini create mode 100644 tests/wpt/web-platform-tests/client-hints/echo_ua_client_hints_received.py create mode 100644 tests/wpt/web-platform-tests/client-hints/sec-ch-quotes.https.html create mode 100644 tests/wpt/web-platform-tests/client-hints/sec-ch-quotes.https.html.headers create mode 100644 tests/wpt/web-platform-tests/compat/webkit-radial-gradient-radii.html create mode 100644 tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/report-blocked-frame.sub.html create mode 100644 tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html create mode 100644 tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html.sub.headers create mode 100644 tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/line-breaking/line-breaking-021.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/line-breaking/reference/line-breaking-021-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-align/reference/text-align-last-wins-001-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-align/text-align-last-wins-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-justify/reference/text-justify-006-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-justify/text-justify-006.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-008.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-009.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-018.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-019.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-007.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-008.html create mode 100644 tests/wpt/web-platform-tests/css/css-values/minmax-length-percent-serialize.html create mode 100644 tests/wpt/web-platform-tests/css/css-values/minmax-length-serialize.html create mode 100644 tests/wpt/web-platform-tests/css/css-values/minmax-number-serialize.html create mode 100644 tests/wpt/web-platform-tests/css/css-values/minmax-percentage-serialize.html rename tests/wpt/web-platform-tests/reporting/{idlharness.window.js => idlharness.any.js} (100%) create mode 100644 tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_interface_mixin.html delete mode 100644 tests/wpt/web-platform-tests/subresource-integrity/idlharness.window.js rename tests/wpt/web-platform-tests/webgl/{webgl1-idlharness.any.js => idlharness.any.js} (91%) delete mode 100644 tests/wpt/web-platform-tests/webgl/webgl2-idlharness.any.js diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index e6476761ebf..165d3003fdc 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -144947,6 +144947,18 @@ {} ] ], + "css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html": [ + [ + "css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html", + [ + [ + "/css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/hanging-punctuation/hanging-scrollable-001.html": [ [ "css/css-text/hanging-punctuation/hanging-scrollable-001.html", @@ -147831,6 +147843,18 @@ {} ] ], + "css/css-text/line-breaking/line-breaking-021.html": [ + [ + "css/css-text/line-breaking/line-breaking-021.html", + [ + [ + "/css/css-text/line-breaking/reference/line-breaking-021-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/line-breaking/line-breaking-atomic-001.html": [ [ "css/css-text/line-breaking/line-breaking-atomic-001.html", @@ -149187,6 +149211,18 @@ {} ] ], + "css/css-text/text-align/text-align-last-wins-001.html": [ + [ + "css/css-text/text-align/text-align-last-wins-001.html", + [ + [ + "/css/css-text/text-align/reference/text-align-last-wins-001-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/text-align/text-align-start-001.html": [ [ "css/css-text/text-align/text-align-start-001.html", @@ -149535,6 +149571,18 @@ {} ] ], + "css/css-text/text-justify/text-justify-006.html": [ + [ + "css/css-text/text-justify/text-justify-006.html", + [ + [ + "/css/css-text/text-justify/reference/text-justify-006-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/text-transform/math/text-transform-math-auto-001.tentative.html": [ [ "css/css-text/text-transform/math/text-transform-math-auto-001.tentative.html", @@ -150147,6 +150195,30 @@ {} ] ], + "css/css-text/text-transform/text-transform-fullwidth-008.html": [ + [ + "css/css-text/text-transform/text-transform-fullwidth-008.html", + [ + [ + "/css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/text-transform/text-transform-fullwidth-009.html": [ + [ + "css/css-text/text-transform/text-transform-fullwidth-009.html", + [ + [ + "/css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/text-transform/text-transform-lowercase-001.xht": [ [ "css/css-text/text-transform/text-transform-lowercase-001.xht", @@ -152463,6 +152535,30 @@ {} ] ], + "css/css-text/white-space/seg-break-transformation-018.html": [ + [ + "css/css-text/white-space/seg-break-transformation-018.html", + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "css/css-text/white-space/seg-break-transformation-019.html": [ + [ + "css/css-text/white-space/seg-break-transformation-019.html", + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], "css/css-text/white-space/tab-stop-threshold-001.html": [ [ "css/css-text/white-space/tab-stop-threshold-001.html", @@ -153659,6 +153755,30 @@ {} ] ], + "css/css-text/word-break/word-break-keep-all-007.html": [ + [ + "css/css-text/word-break/word-break-keep-all-007.html", + [ + [ + "/css/css-text/word-break/reference/word-break-keep-all-005-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-break/word-break-keep-all-008.html": [ + [ + "css/css-text/word-break/word-break-keep-all-008.html", + [ + [ + "/css/css-text/word-break/reference/word-break-keep-all-005-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/word-break/word-break-normal-001.html": [ [ "css/css-text/word-break/word-break-normal-001.html", @@ -213075,6 +213195,9 @@ "client-hints/echo_client_hints_received.py": [ [] ], + "client-hints/echo_ua_client_hints_received.py": [ + [] + ], "client-hints/resources/accept-ch-lifetime-test.js": [ [] ], @@ -213120,6 +213243,9 @@ "client-hints/resources/stale-echo-client-hints.py": [ [] ], + "client-hints/sec-ch-quotes.https.html.headers": [ + [] + ], "clipboard-apis/META.yml": [ [] ], @@ -226632,6 +226758,12 @@ "content-security-policy/form-action/support/post-message-to-parent.sub.html": [ [] ], + "content-security-policy/frame-ancestors/support/content-security-policy.sub.html": [ + [] + ], + "content-security-policy/frame-ancestors/support/content-security-policy.sub.html.sub.headers": [ + [] + ], "content-security-policy/frame-ancestors/support/frame-ancestors-and-x-frame-options.sub.html": [ [] ], @@ -253593,6 +253725,9 @@ "css/css-text/hanging-punctuation/reference/hanging-punctuation-force-end-001-ref.xht": [ [] ], + "css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html": [ + [] + ], "css/css-text/hanging-punctuation/reference/hanging-punctuation-last-001-ref.xht": [ [] ], @@ -254307,6 +254442,9 @@ "css/css-text/line-breaking/reference/line-breaking-019-ref.html": [ [] ], + "css/css-text/line-breaking/reference/line-breaking-021-ref.html": [ + [] + ], "css/css-text/line-breaking/reference/line-breaking-atomic-003-ref.html": [ [] ], @@ -254664,6 +254802,9 @@ "css/css-text/text-align/reference/text-align-justifyall-ref-006.html": [ [] ], + "css/css-text/text-align/reference/text-align-last-wins-001-ref.html": [ + [] + ], "css/css-text/text-align/reference/text-align-start-ref-001.html": [ [] ], @@ -254736,6 +254877,9 @@ "css/css-text/text-indent/reference/text-indent-tab-positions-001-ref.html": [ [] ], + "css/css-text/text-justify/reference/text-justify-006-ref.html": [ + [] + ], "css/css-text/text-justify/reference/text-justify-ref-001.html": [ [] ], @@ -254880,6 +255024,12 @@ "css/css-text/text-transform/reference/text-transform-fullwidth-007-ref.html": [ [] ], + "css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html": [ + [] + ], + "css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html": [ + [] + ], "css/css-text/text-transform/reference/text-transform-lowercase-001-ref.xht": [ [] ], @@ -278370,6 +278520,9 @@ "resources/test/tests/functional/idlharness/IdlInterface/test_immutable_prototype.html": [ [] ], + "resources/test/tests/functional/idlharness/IdlInterface/test_interface_mixin.html": [ + [] + ], "resources/test/tests/functional/idlharness/IdlInterface/test_partial_interface_of.html": [ [] ], @@ -308073,6 +308226,12 @@ {} ] ], + "client-hints/sec-ch-quotes.https.html": [ + [ + "client-hints/sec-ch-quotes.https.html", + {} + ] + ], "client-hints/sec-ch-ua.http.html": [ [ "client-hints/sec-ch-ua.http.html", @@ -308138,6 +308297,12 @@ } ] ], + "compat/webkit-radial-gradient-radii.html": [ + [ + "compat/webkit-radial-gradient-radii.html", + {} + ] + ], "compat/webkit-text-fill-color-currentColor.html": [ [ "compat/webkit-text-fill-color-currentColor.html", @@ -308850,6 +309015,12 @@ {} ] ], + "content-security-policy/frame-ancestors/report-blocked-frame.sub.html": [ + [ + "content-security-policy/frame-ancestors/report-blocked-frame.sub.html", + {} + ] + ], "content-security-policy/frame-src/frame-src-about-blank-allowed-by-default.sub.html": [ [ "content-security-policy/frame-src/frame-src-about-blank-allowed-by-default.sub.html", @@ -327668,6 +327839,18 @@ {} ] ], + "css/css-values/minmax-length-percent-serialize.html": [ + [ + "css/css-values/minmax-length-percent-serialize.html", + {} + ] + ], + "css/css-values/minmax-length-serialize.html": [ + [ + "css/css-values/minmax-length-serialize.html", + {} + ] + ], "css/css-values/minmax-number-computed.html": [ [ "css/css-values/minmax-number-computed.html", @@ -327680,6 +327863,12 @@ {} ] ], + "css/css-values/minmax-number-serialize.html": [ + [ + "css/css-values/minmax-number-serialize.html", + {} + ] + ], "css/css-values/minmax-percentage-computed.html": [ [ "css/css-values/minmax-percentage-computed.html", @@ -327692,6 +327881,12 @@ {} ] ], + "css/css-values/minmax-percentage-serialize.html": [ + [ + "css/css-values/minmax-percentage-serialize.html", + {} + ] + ], "css/css-values/minmax-time-computed.html": [ [ "css/css-values/minmax-time-computed.html", @@ -394405,9 +394600,24 @@ } ] ], - "reporting/idlharness.window.js": [ + "reporting/idlharness.any.js": [ [ - "reporting/idlharness.window.html", + "reporting/idlharness.any.html", + { + "script_metadata": [ + [ + "script", + "/resources/WebIDLParser.js" + ], + [ + "script", + "/resources/idlharness.js" + ] + ] + } + ], + [ + "reporting/idlharness.any.worker.html", { "script_metadata": [ [ @@ -404193,23 +404403,6 @@ } ] ], - "subresource-integrity/idlharness.window.js": [ - [ - "subresource-integrity/idlharness.window.html", - { - "script_metadata": [ - [ - "script", - "/resources/WebIDLParser.js" - ], - [ - "script", - "/resources/idlharness.js" - ] - ] - } - ] - ], "subresource-integrity/subresource-css-ed25519.tentative.html": [ [ "subresource-integrity/subresource-css-ed25519.tentative.html", @@ -413200,6 +413393,48 @@ {} ] ], + "webgl/idlharness.any.js": [ + [ + "webgl/idlharness.any.html", + { + "script_metadata": [ + [ + "script", + "/resources/WebIDLParser.js" + ], + [ + "script", + "/resources/idlharness.js" + ], + [ + "timeout", + "long" + ] + ], + "timeout": "long" + } + ], + [ + "webgl/idlharness.any.worker.html", + { + "script_metadata": [ + [ + "script", + "/resources/WebIDLParser.js" + ], + [ + "script", + "/resources/idlharness.js" + ], + [ + "timeout", + "long" + ] + ], + "timeout": "long" + } + ] + ], "webgl/texImage2D.html": [ [ "webgl/texImage2D.html", @@ -413218,90 +413453,6 @@ {} ] ], - "webgl/webgl1-idlharness.any.js": [ - [ - "webgl/webgl1-idlharness.any.html", - { - "script_metadata": [ - [ - "script", - "/resources/WebIDLParser.js" - ], - [ - "script", - "/resources/idlharness.js" - ], - [ - "timeout", - "long" - ] - ], - "timeout": "long" - } - ], - [ - "webgl/webgl1-idlharness.any.worker.html", - { - "script_metadata": [ - [ - "script", - "/resources/WebIDLParser.js" - ], - [ - "script", - "/resources/idlharness.js" - ], - [ - "timeout", - "long" - ] - ], - "timeout": "long" - } - ] - ], - "webgl/webgl2-idlharness.any.js": [ - [ - "webgl/webgl2-idlharness.any.html", - { - "script_metadata": [ - [ - "script", - "/resources/WebIDLParser.js" - ], - [ - "script", - "/resources/idlharness.js" - ], - [ - "timeout", - "long" - ] - ], - "timeout": "long" - } - ], - [ - "webgl/webgl2-idlharness.any.worker.html", - { - "script_metadata": [ - [ - "script", - "/resources/WebIDLParser.js" - ], - [ - "script", - "/resources/idlharness.js" - ], - [ - "timeout", - "long" - ] - ], - "timeout": "long" - } - ] - ], "webgpu/cts.html": [ [ "webgpu/cts.html?q=cts:buffers/create_mapped:", @@ -445805,7 +445956,7 @@ "support" ], ".taskcluster.yml": [ - "61cc38c9bd1d051b5ad18d59de0f9febd1b3f2a2", + "dffccbb7971382d599ff622fb31a949fa570fa49", "support" ], ".well-known/README.md": [ @@ -457200,6 +457351,10 @@ "e5088c87199247416aac2397ee1a3a78f0a6e688", "support" ], + "client-hints/echo_ua_client_hints_received.py": [ + "a713047ede62874d33bc62540166303e8a7fc444", + "support" + ], "client-hints/http_equiv_accept_ch.tentative.http.html": [ "03c5799908b971ec6e6057fb8e5325e1bc2e203d", "testharness" @@ -457280,6 +457435,14 @@ "769fa909fa4b3b960fbde2e6df282efc970b35d0", "support" ], + "client-hints/sec-ch-quotes.https.html": [ + "86dce18904b0636092247c42ecb06fdd4fc7bc32", + "testharness" + ], + "client-hints/sec-ch-quotes.https.html.headers": [ + "703b5ad9bf94fd4b4986e2dcd48213ae6429878e", + "support" + ], "client-hints/sec-ch-ua.http.html": [ "e333c605301e621133ee5e6f3d01e2525d5c058a", "testharness" @@ -457744,6 +457907,10 @@ "579d88220610e4f2ea7e884018b655cf1c5c8dca", "reftest" ], + "compat/webkit-radial-gradient-radii.html": [ + "bff414a44e2aeff1276d99ca015288142de09f4e", + "testharness" + ], "compat/webkit-text-fill-color-currentColor.html": [ "f4912c93450edf03b43b220d205460cc82ef9ba2", "testharness" @@ -475876,6 +476043,18 @@ "c320370be515ee039fbc799ad088bf7a74779702", "testharness" ], + "content-security-policy/frame-ancestors/report-blocked-frame.sub.html": [ + "047d377cf4cf5d05851e1d0c9c3b20c77f098cc6", + "testharness" + ], + "content-security-policy/frame-ancestors/support/content-security-policy.sub.html": [ + "2182f4a3d2292218bc05243895510c4403f76528", + "support" + ], + "content-security-policy/frame-ancestors/support/content-security-policy.sub.html.sub.headers": [ + "322c99d518575f1e0bfa468ff640740f819cc190", + "support" + ], "content-security-policy/frame-ancestors/support/frame-ancestors-and-x-frame-options.sub.html": [ "e22fea3ccd3607d770634b9dfddae36c1b6dd314", "support" @@ -577457,7 +577636,7 @@ "manual" ], "css/css-speech/META.yml": [ - "b0097dd021a007759116d26aaf47359c7d1e8015", + "3b5bead823a76a3a8129e3444d2d1805d77c9c54", "support" ], "css/css-speech/age-declarations-001.html": [ @@ -579688,6 +579867,10 @@ "b9f94626330f4f1135e0861c1d37d80e66c1c0f1", "manual" ], + "css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html": [ + "9be9947fe1148e63ff552f05b0f6150426bd6bcf", + "reftest" + ], "css/css-text/hanging-punctuation/hanging-punctuation-last-001.xht": [ "be7ea6bda86f4777bfb8baaae44a82dfddb55f4d", "manual" @@ -579708,6 +579891,10 @@ "a9e7e0c1c3e53559b82bd3e10024bf24ad6d45d5", "support" ], + "css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html": [ + "b679e5b9131f16399963c0d9c82142dd601008f1", + "support" + ], "css/css-text/hanging-punctuation/reference/hanging-punctuation-last-001-ref.xht": [ "1f8aa4a57bb653409c5211b186f0e8b6214525ac", "support" @@ -582384,6 +582571,10 @@ "7c8d0f119edb5ef768b37a5a41b8df9bb9e59600", "testharness" ], + "css/css-text/line-breaking/line-breaking-021.html": [ + "b3b907410e82d87ac3912e0f27cfc1dbea17d3a9", + "reftest" + ], "css/css-text/line-breaking/line-breaking-atomic-001.html": [ "e071378c95fd436484a3056ecb2ba6ff35ddbaae", "reftest" @@ -582480,6 +582671,10 @@ "4a7772aa290f5ba72b3f9c604e9935438269e6f9", "support" ], + "css/css-text/line-breaking/reference/line-breaking-021-ref.html": [ + "b1cc22bd2049f66a86f61bd8bf8f6c8a6ec26258", + "support" + ], "css/css-text/line-breaking/reference/line-breaking-atomic-003-ref.html": [ "a9fdd2591b3f3af3d2a9accfd8c65db028f87749", "support" @@ -583500,6 +583695,10 @@ "4496c3866ee10cee2da3b716203ec46d6730a6c0", "support" ], + "css/css-text/text-align/reference/text-align-last-wins-001-ref.html": [ + "997d58a79884ac3086426da2a84b992019bfd100", + "support" + ], "css/css-text/text-align/reference/text-align-start-ref-001.html": [ "72e11fae2dd1eccb5d9742970a401db54b72dfc0", "support" @@ -583760,6 +583959,10 @@ "fd3d706d1ee4acd3fda03cd46c12f20dfb69b9b9", "testharness" ], + "css/css-text/text-align/text-align-last-wins-001.html": [ + "30f1a07864b073b1d11953be867f17c0e6ef129d", + "reftest" + ], "css/css-text/text-align/text-align-start-001.html": [ "43219cc248fcca0a20cacae5993860b7e4cd292e", "reftest" @@ -583924,6 +584127,10 @@ "5bf766ce7607bd21892a558f67901a564fc64994", "reftest" ], + "css/css-text/text-justify/reference/text-justify-006-ref.html": [ + "595485c5f4ea346b011f07128649da3f2c020902", + "support" + ], "css/css-text/text-justify/reference/text-justify-ref-001.html": [ "976df7f4dcee2efbb4e232cbd3a86ec4d7ac8943", "support" @@ -583948,6 +584155,10 @@ "afbc036cce43268a4764e3dea75190a0ed44be3c", "visual" ], + "css/css-text/text-justify/text-justify-006.html": [ + "7744f52afea63d9b1abe7c7edab4880d703be855", + "reftest" + ], "css/css-text/text-transform/math/text-transform-math-auto-001.tentative-ref.html": [ "d41d618769e85a581ceada90e020d6fc979ad7d5", "support" @@ -584212,6 +584423,14 @@ "b8fc5662bd83d9f29aabadbd4eb973e91621f1ed", "support" ], + "css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html": [ + "efe6508e2e61dddd9a132891e4fdd8a3e155067d", + "support" + ], + "css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html": [ + "915e8444f1335e920073e2c8091281241370f830", + "support" + ], "css/css-text/text-transform/reference/text-transform-lowercase-001-ref.xht": [ "3d6eb4af8ac5aeb7fd54e1b2e2aec325886ddca0", "support" @@ -584577,11 +584796,19 @@ "reftest" ], "css/css-text/text-transform/text-transform-fullwidth-006.html": [ - "b0a509758ed56ca4051e1df079c4d758352764c3", + "0bd0aa88400cd9e6883183c504010df611b4b928", "reftest" ], "css/css-text/text-transform/text-transform-fullwidth-007.html": [ - "6e081544a193949b217530b49f71eadfe2800be4", + "f1089f19ab67a4c34bea126a9dec4bc23e7de0fe", + "reftest" + ], + "css/css-text/text-transform/text-transform-fullwidth-008.html": [ + "d6cd9c4c9833973d2fcfa2bfedc74a64b1872ec8", + "reftest" + ], + "css/css-text/text-transform/text-transform-fullwidth-009.html": [ + "afcb89b0cfcc6db2ca3517b1f99e91abdca321fa", "reftest" ], "css/css-text/text-transform/text-transform-lowercase-001.xht": [ @@ -585660,6 +585887,14 @@ "52b7ce1f6ab15ac1833067cdf957b1e4c6b4af21", "testharness" ], + "css/css-text/white-space/seg-break-transformation-018.html": [ + "2faf185856baf75b4820b57cd9b4ffe4161f7a29", + "reftest" + ], + "css/css-text/white-space/seg-break-transformation-019.html": [ + "afbba2642524209eda0378577305b5c0e48d1232", + "reftest" + ], "css/css-text/white-space/tab-stop-threshold-001.html": [ "dae6012bf7f42bfa4154f2c88c439db6959e80cb", "reftest" @@ -586240,6 +586475,14 @@ "8845ea21edd09bb9a7165643ff8148a4f516bb01", "reftest" ], + "css/css-text/word-break/word-break-keep-all-007.html": [ + "e1bc9a5205319322ff103a6fc6880adba8cb3323", + "reftest" + ], + "css/css-text/word-break/word-break-keep-all-008.html": [ + "16529b0619ee28b905dcc6cf91a5e62ad56fdc8c", + "reftest" + ], "css/css-text/word-break/word-break-normal-001.html": [ "61ccba2465f772c46a771a8868e9036ff4a93b9d", "reftest" @@ -595908,6 +596151,14 @@ "ee086ef269d07bf6b0db5d1306a0f24af0ad8fab", "testharness" ], + "css/css-values/minmax-length-percent-serialize.html": [ + "f0ffd4ea2ce2e3ae3246793cc3191ccb290d0697", + "testharness" + ], + "css/css-values/minmax-length-serialize.html": [ + "4b30864d2344ba297f077b7e9090d25984bdb631", + "testharness" + ], "css/css-values/minmax-number-computed.html": [ "c72c276625466a193bf8829e3ddbb87d7a565dc0", "testharness" @@ -595916,6 +596167,10 @@ "3f34fde2f23732ed1b9bc540a098e5914ad674bf", "testharness" ], + "css/css-values/minmax-number-serialize.html": [ + "e05ccc339c90a1c8df22d6b9f46ff7c357dc36af", + "testharness" + ], "css/css-values/minmax-percentage-computed.html": [ "9f9d0a59d12c2642bfea8ca5a3e2f8528067c80e", "testharness" @@ -595924,6 +596179,10 @@ "48d2cdabec1bee5cde0d5d6f4c3524f463916db1", "testharness" ], + "css/css-values/minmax-percentage-serialize.html": [ + "79624be529e5ec91b847a995d497e515736f66cc", + "testharness" + ], "css/css-values/minmax-time-computed.html": [ "36bcf601eb808311732562a6c1c6a7c801f33e9d", "testharness" @@ -625913,7 +626172,7 @@ "reftest" ], "fetch/corb/img-mime-types-coverage.tentative.sub.html": [ - "c2aa93236360de7c34ecdbddac161b381de8ac7d", + "e2386de2f2a949a201a747e3edc9af0416b638ad", "testharness" ], "fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-ref.html": [ @@ -625921,7 +626180,7 @@ "support" ], "fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html": [ - "46403b0b18107c7943575c424773348a11e39cb2", + "82adc47b0cf31c779637d2a55f9c3b9b532aceca", "reftest" ], "fetch/corb/img-png-mislabeled-as-html.sub-ref.html": [ @@ -625933,7 +626192,7 @@ "reftest" ], "fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html": [ - "2fc93f8317e6bc0188ebe52e3587d37290fed18e", + "cea80f2f89fac47e0ec8b3ac53f8b15d0ccfb76d", "testharness" ], "fetch/corb/resources/css-mislabeled-as-html-nosniff.css": [ @@ -626037,7 +626296,7 @@ "support" ], "fetch/corb/script-html-correctly-labeled.tentative.sub.html": [ - "407cef9158444d4fd19bfc8c09ed73d663d55fba", + "8f4d7679e3d749b3cd402997f607b7358fe98c28", "testharness" ], "fetch/corb/script-html-js-polyglot.sub.html": [ @@ -626057,7 +626316,7 @@ "testharness" ], "fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html": [ - "03924cdad0dbad0e5fb2bc05cdd8ac19b619fa13", + "cabc7b09c458ca1f3852c633c9cd47680ab6e89d", "testharness" ], "fetch/corb/script-resource-with-nonsniffable-types.tentative.sub.html": [ @@ -638205,7 +638464,7 @@ "support" ], "html/semantics/document-metadata/the-link-element/resources/link-style-error.js": [ - "7ebc39ba6cc5b25e6743684c1e2975049ed8fcd1", + "d1fa5ac2d6fcb4d94561c18b2d2e22a5a2afd6e3", "support" ], "html/semantics/document-metadata/the-link-element/resources/neutral.css": [ @@ -649217,7 +649476,7 @@ "support" ], "interfaces/encrypted-media.idl": [ - "61e869367a113092bd8c2ccf475da4fab9414b54", + "26c03f6f24dc0321332c7e1d16443d350d35975a", "support" ], "interfaces/entries-api.idl": [ @@ -649245,7 +649504,7 @@ "support" ], "interfaces/fullscreen.idl": [ - "491aa7af13e6703023f723cfd6ef41cc6c0e6ace", + "6f86d5c220fd274cea8b12190ad1a4a3ee5a2ba9", "support" ], "interfaces/gamepad.idl": [ @@ -649349,7 +649608,7 @@ "support" ], "interfaces/mediastream-recording.idl": [ - "0be0538d1227147930cb03c52391cce7497eb2e4", + "2d849ba9affe476a23141c9f3976c65b2d9f7ef4", "support" ], "interfaces/mst-content-hint.idl": [ @@ -649441,7 +649700,7 @@ "support" ], "interfaces/reporting.idl": [ - "ae24f7538f6ba1557f152624416b359b740a60f2", + "05d5a42458b5cd38c4a902b5a7066af524a396fc", "support" ], "interfaces/requestidlecallback.idl": [ @@ -675085,7 +675344,7 @@ "testharness" ], "reporting/META.yml": [ - "980823f59f7e3ac4f35a31ab6df37ce16e538f54", + "70f3136dd3c022599f81291f348e11c4c7787f44", "support" ], "reporting/bufferSize.html": [ @@ -675100,7 +675359,7 @@ "e3c2735686a05eefc9bbcfb107f76ec7275b8948", "testharness" ], - "reporting/idlharness.window.js": [ + "reporting/idlharness.any.js": [ "17cef8183596ae1d0b307fb8ddccc7455b955966", "testharness" ], @@ -675925,7 +676184,7 @@ "support" ], "resources/idlharness.js": [ - "f68ad1dd7d81e54bea5f9004284eff49a713a32e", + "ce5a8d86d2ebb4cc3ce33f5e6e7edc10d8bef33a", "support" ], "resources/idlharness.js.headers": [ @@ -676021,15 +676280,19 @@ "support" ], "resources/test/tests/functional/idlharness/IdlDictionary/test_partial_interface_of.html": [ - "5bf51fed403cc8aa41ff6d90bfc3eb7fb91c94f2", + "5ee3fe7e893f19ef328c3b5c996bf7b4751b2b7a", "support" ], "resources/test/tests/functional/idlharness/IdlInterface/test_immutable_prototype.html": [ "7a5b17751bfb5dc80466406ce7d8abcf112b895b", "support" ], + "resources/test/tests/functional/idlharness/IdlInterface/test_interface_mixin.html": [ + "a9a9094fe30ab5085742247078ec79acae1a0711", + "support" + ], "resources/test/tests/functional/idlharness/IdlInterface/test_partial_interface_of.html": [ - "0c752bdc6cd2c50796175a383e862af0d2bd3341", + "d0e83af966410c0a6d41511948e5262c84a47c46", "support" ], "resources/test/tests/functional/idlharness/IdlInterface/test_primary_interface_of.html": [ @@ -676293,7 +676556,7 @@ "support" ], "resources/testharness.js": [ - "55de1ce252bd0349aa5bee2e69120ae44520ed02", + "b45f3291a0419156d042a84d829033c56a815210", "support" ], "resources/testharness.js.headers": [ @@ -676313,7 +676576,7 @@ "support" ], "resources/webidl2/lib/webidl2.js": [ - "c60a456c3241655d05a7e40f82b19d8735d017d4", + "2a174c92ebe67d62bc5273556f9cca03de332d05", "support" ], "resources/webidl2/lib/webidl2.js.headers": [ @@ -681756,10 +682019,6 @@ "de1416372cd4431147ad40206c54e5ecf5273aec", "support" ], - "subresource-integrity/idlharness.window.js": [ - "d2997e562fadfd208d202ce3d60d11cd937ea779", - "testharness" - ], "subresource-integrity/image.png": [ "01c9666a8de9d5535615aff830810e5df4b2156f", "support" @@ -686705,7 +686964,7 @@ "support" ], "tools/ci/jobs.py": [ - "31b39635a264875e04a558bb9489a3ecec549c23", + "b7ada2a5b621236d97d4e87a8d7e0960327bc01d", "support" ], "tools/ci/make_hosts_file.py": [ @@ -686717,7 +686976,7 @@ "support" ], "tools/ci/run_tc.py": [ - "ea4a1ac1a6ac4a9a2b2a0265e74c70dc5fdc957d", + "b2826bf075e9b1e82ee3d021003134930231f556", "support" ], "tools/ci/taskcluster-run.py": [ @@ -686729,7 +686988,7 @@ "support" ], "tools/ci/tests/test_jobs.py": [ - "a10e48d2f23a41b7b6762f507c3a01b9bc6a0bca", + "94f7998770cf5d8bad36d188dd63e253f98199a8", "support" ], "tools/ci/tests/test_run_tc.py": [ @@ -697908,6 +698167,10 @@ "539f9e17f8a811c5acb4f07cf6cbd17015726632", "testharness" ], + "webgl/idlharness.any.js": [ + "d6131f4884dfb001990e9427a73f092eef9f2c9e", + "testharness" + ], "webgl/texImage2D.html": [ "2f769160dfdeaa3b0a73380e5540b30dfc971489", "testharness" @@ -697920,14 +698183,6 @@ "f75cbcb99724219224c63d0dc595b1c001298500", "testharness" ], - "webgl/webgl1-idlharness.any.js": [ - "2cf80395230604336daadeaa2ac4a910552215b5", - "testharness" - ], - "webgl/webgl2-idlharness.any.js": [ - "c8efcd031fe53a37c5db3740b82db4a1f0df647d", - "testharness" - ], "webgpu/cts.html": [ "661060fcd7b32f7cecbbbc87499c7b70d1f39694", "testharness" @@ -704661,7 +704916,7 @@ "testharness" ], "workers/dedicated-worker-from-blob-url.window.js": [ - "f54faf54350990a9593e7af022c9eeb769595b15", + "8455285571a357a5e6c46a38dcf465f7bd432b55", "testharness" ], "workers/examples/fetch_tests_from_worker.html": [ diff --git a/tests/wpt/metadata/css/css-text/line-breaking/line-breaking-021.html.ini b/tests/wpt/metadata/css/css-text/line-breaking/line-breaking-021.html.ini new file mode 100644 index 00000000000..0301f562755 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/line-breaking/line-breaking-021.html.ini @@ -0,0 +1,2 @@ +[line-breaking-021.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-align/text-align-last-wins-001.html.ini b/tests/wpt/metadata/css/css-text/text-align/text-align-last-wins-001.html.ini new file mode 100644 index 00000000000..4c9d37a3754 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/text-align/text-align-last-wins-001.html.ini @@ -0,0 +1,2 @@ +[text-align-last-wins-001.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-justify/text-justify-006.html.ini b/tests/wpt/metadata/css/css-text/text-justify/text-justify-006.html.ini new file mode 100644 index 00000000000..46b8c900f38 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/text-justify/text-justify-006.html.ini @@ -0,0 +1,2 @@ +[text-justify-006.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-008.html.ini b/tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-008.html.ini new file mode 100644 index 00000000000..bc8acd33275 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-008.html.ini @@ -0,0 +1,2 @@ +[text-transform-fullwidth-008.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-009.html.ini b/tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-009.html.ini new file mode 100644 index 00000000000..958e252ef12 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/text-transform/text-transform-fullwidth-009.html.ini @@ -0,0 +1,2 @@ +[text-transform-fullwidth-009.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-018.html.ini b/tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-018.html.ini new file mode 100644 index 00000000000..4dd2afd26f6 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-018.html.ini @@ -0,0 +1,2 @@ +[seg-break-transformation-018.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-019.html.ini b/tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-019.html.ini new file mode 100644 index 00000000000..fcca9df48b3 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/seg-break-transformation-019.html.ini @@ -0,0 +1,2 @@ +[seg-break-transformation-019.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-007.html.ini b/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-007.html.ini new file mode 100644 index 00000000000..0610498c013 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-007.html.ini @@ -0,0 +1,2 @@ +[word-break-keep-all-007.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-008.html.ini b/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-008.html.ini new file mode 100644 index 00000000000..0ae96b6eb3c --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-break/word-break-keep-all-008.html.ini @@ -0,0 +1,2 @@ +[word-break-keep-all-008.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini b/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini index c511d92d674..03f2f3fe9d1 100644 --- a/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini +++ b/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini @@ -1,4 +1,5 @@ [perspective-interpolation.html] + expected: CRASH [ perspective interpolation] expected: FAIL diff --git a/tests/wpt/metadata/css/css-values/minmax-length-percent-serialize.html.ini b/tests/wpt/metadata/css/css-values/minmax-length-percent-serialize.html.ini new file mode 100644 index 00000000000..4a77b1abc4c --- /dev/null +++ b/tests/wpt/metadata/css/css-values/minmax-length-percent-serialize.html.ini @@ -0,0 +1,181 @@ +[minmax-length-percent-serialize.html] + [e.style['margin-left'\] = "max(1pt + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1vw + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1rem + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1mm + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(10%) + 20px)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1em, 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1vh + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1em + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(10%, 20px)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1em + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1mm + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1ex + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1vmin + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1Q + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(10% + max(20px))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1vmin + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1cm + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1pc + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1px + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(1em) + 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(10%, 1em)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(20px + max(10%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(20px) + 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1ch + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(20px) + min(1em) + max(10%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1ch + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(10%) + 20px)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(10% + max(1em))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1em, 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1vmax + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(20px + min(10%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(20px, 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1pc + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(10% + min(1em))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(20px) + 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1ex + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(10% + 2em, 5% + 1em)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1in + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(10% + 30px, 5% + 60px)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(1em + max(10%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(10%, 1em)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1in + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(10%) + max(1em) + min(20px))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(1em + min(10%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(10%, 20px)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(10%) + min(1em) + max(20px))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1Q + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(20px, 10%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1vh + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1rem + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1pt + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1cm + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1vmax + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(10%) + 1em)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(10%) + 1em)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1vw + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(20px) + max(1em) + min(10%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(10% + min(20px))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1px + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(1em) + 10%)" should set the property value] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-values/minmax-length-serialize.html.ini b/tests/wpt/metadata/css/css-values/minmax-length-serialize.html.ini new file mode 100644 index 00000000000..2bbf3298114 --- /dev/null +++ b/tests/wpt/metadata/css/css-values/minmax-length-serialize.html.ini @@ -0,0 +1,133 @@ +[minmax-length-serialize.html] + [e.style['letter-spacing'\] = "min(20px, 1em, 10vw)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "calc(max(1em) + min(10vw) + max(10px))" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1in)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "calc(max(1em) + 10px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(10px, 20px, 30px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "calc(min(10px) + max(1em) + min(10vw))" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1pc)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1cm)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1ex)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1rem)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(10vw, 1em, 20px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "calc(min(1em) + 10px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1vmax)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1vw)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(10px, 20px, 30px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(10vw, 1em, 20px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1cm)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1vw)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1vmax)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1ch)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(30px, 20px, 10px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1pt)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1Q)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1in)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1vmin)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1pc)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1em)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1rem)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(30px, 20px, 10px)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1mm)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1mm)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1vh)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1em)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1ch)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(20px, 1em, 10vw)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1pt)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "max(1Q)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1vmin)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1ex)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "min(1vh)" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "calc(10px + max(1em))" should set the property value] + expected: FAIL + + [e.style['letter-spacing'\] = "calc(10px + min(1em))" should set the property value] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-values/minmax-number-serialize.html.ini b/tests/wpt/metadata/css/css-values/minmax-number-serialize.html.ini new file mode 100644 index 00000000000..e86a29440df --- /dev/null +++ b/tests/wpt/metadata/css/css-values/minmax-number-serialize.html.ini @@ -0,0 +1,37 @@ +[minmax-number-serialize.html] + [e.style['opacity'\] = "calc(min(1) + min(2))" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "max(1)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "calc(min(1) + 1)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "max(1, 2, 3)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "calc(1 + max(1))" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "min(3, 2, 1)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "calc(max(1) + max(2))" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "calc(max(1) + 1)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "max(3, 2, 1)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "min(1)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "min(1, 2, 3)" should set the property value] + expected: FAIL + + [e.style['opacity'\] = "calc(1 + min(1))" should set the property value] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-values/minmax-percentage-serialize.html.ini b/tests/wpt/metadata/css/css-values/minmax-percentage-serialize.html.ini new file mode 100644 index 00000000000..81eb8417a25 --- /dev/null +++ b/tests/wpt/metadata/css/css-values/minmax-percentage-serialize.html.ini @@ -0,0 +1,37 @@ +[minmax-percentage-serialize.html] + [e.style['margin-left'\] = "max(1%, 2%, 3%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1%, 2%, 3%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(1%) + min(2%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(1%) + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(1% + max(1%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(min(1%) + 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(1% + min(1%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "calc(max(1%) + max(2%))" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(3%, 2%, 1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "max(1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(1%)" should set the property value] + expected: FAIL + + [e.style['margin-left'\] = "min(3%, 2%, 1%)" should set the property value] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/idlharness.html.ini b/tests/wpt/metadata/css/cssom-view/idlharness.html.ini index 66b7c0b1ace..058478e648d 100644 --- a/tests/wpt/metadata/css/cssom-view/idlharness.html.ini +++ b/tests/wpt/metadata/css/cssom-view/idlharness.html.ini @@ -299,3 +299,9 @@ [Element interface: document.createElement("div") must inherit property "scrollIntoView([object Object\],[object Object\])" with the proper type] expected: FAIL + [Partial interface MouseEvent: member names are unique] + expected: FAIL + + [Partial dictionary MouseEventInit: member names are unique] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini new file mode 100644 index 00000000000..e6e1f29e274 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini @@ -0,0 +1,2 @@ +[matchMedia-display-none-iframe.html] + expected: ERROR diff --git a/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini b/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini deleted file mode 100644 index c3916f8555d..00000000000 --- a/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[contenttype_txt.html] - expected: CRASH 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 ef1273a21ab..2a96dc409f4 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -315,15 +315,18 @@ [ + + + diff --git a/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html b/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html new file mode 100644 index 00000000000..2182f4a3d22 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html @@ -0,0 +1,6 @@ + + + +

This is an IFrame sending a Content Security Policy header containing "{{GET[policy]}}".

+ + diff --git a/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html.sub.headers b/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html.sub.headers new file mode 100644 index 00000000000..322c99d5185 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/frame-ancestors/support/content-security-policy.sub.html.sub.headers @@ -0,0 +1 @@ +Content-Security-Policy: {{GET[policy]}} diff --git a/tests/wpt/web-platform-tests/css/css-speech/META.yml b/tests/wpt/web-platform-tests/css/css-speech/META.yml index b0097dd021a..3b5bead823a 100644 --- a/tests/wpt/web-platform-tests/css/css-speech/META.yml +++ b/tests/wpt/web-platform-tests/css/css-speech/META.yml @@ -1,4 +1,3 @@ spec: https://drafts.csswg.org/css-speech/ suggested_reviewers: - - danielweck - musingvirtual diff --git a/tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html b/tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html new file mode 100644 index 00000000000..9be9947fe11 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/hanging-punctuation-inline-001.html @@ -0,0 +1,24 @@ + + + +CSS Test: hanging-punctuation - force-end - basic cases + + + + + + +

Test passes if the orange and blue pieces of text are laid out identically. + +

字字字字」
+
字字字字
diff --git a/tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html new file mode 100644 index 00000000000..b679e5b9131 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/hanging-punctuation/reference/hanging-punctuation-inline-001-ref.html @@ -0,0 +1,15 @@ + + + +test reference + + + +

Test passes if the orange and blue pieces of text are laid out identically. + +

字字字字」
+
字字字字」
diff --git a/tests/wpt/web-platform-tests/css/css-text/line-breaking/line-breaking-021.html b/tests/wpt/web-platform-tests/css/css-text/line-breaking/line-breaking-021.html new file mode 100644 index 00000000000..b3b907410e8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/line-breaking/line-breaking-021.html @@ -0,0 +1,16 @@ + + +CSS Text Test: Simple line breaking test + + + + + + +

This test passes if there the text below is on a single line. + +

じ‍字‍자‍😂‍😭
diff --git a/tests/wpt/web-platform-tests/css/css-text/line-breaking/reference/line-breaking-021-ref.html b/tests/wpt/web-platform-tests/css/css-text/line-breaking/reference/line-breaking-021-ref.html new file mode 100644 index 00000000000..b1cc22bd204 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/line-breaking/reference/line-breaking-021-ref.html @@ -0,0 +1,9 @@ + + +test reference + + + +

This test passes if there the text below is on a single line. + +

じ‍字‍자‍😂‍😭
diff --git a/tests/wpt/web-platform-tests/css/css-text/text-align/reference/text-align-last-wins-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/text-align/reference/text-align-last-wins-001-ref.html new file mode 100644 index 00000000000..997d58a7988 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-align/reference/text-align-last-wins-001-ref.html @@ -0,0 +1,16 @@ + + + +test reference + + +

Test passes if the words below are aligned to the right of the box. + +

right
right
+ diff --git a/tests/wpt/web-platform-tests/css/css-text/text-align/text-align-last-wins-001.html b/tests/wpt/web-platform-tests/css/css-text/text-align/text-align-last-wins-001.html new file mode 100644 index 00000000000..30f1a07864b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-align/text-align-last-wins-001.html @@ -0,0 +1,20 @@ + + + +CSS text test: text-align-last has precedence over text-align-all + + + + + + +

Test passes if the words below are aligned to the right of the box. + +

right
right
+ diff --git a/tests/wpt/web-platform-tests/css/css-text/text-justify/reference/text-justify-006-ref.html b/tests/wpt/web-platform-tests/css/css-text/text-justify/reference/text-justify-006-ref.html new file mode 100644 index 00000000000..595485c5f4e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-justify/reference/text-justify-006-ref.html @@ -0,0 +1,27 @@ + + + + +test reference + + + + +

Test passes if the the blue and orange boxes are aligned. + +

X X X X
+
X X X X
diff --git a/tests/wpt/web-platform-tests/css/css-text/text-justify/text-justify-006.html b/tests/wpt/web-platform-tests/css/css-text/text-justify/text-justify-006.html new file mode 100644 index 00000000000..7744f52afea --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-justify/text-justify-006.html @@ -0,0 +1,35 @@ + + + + +CSS text tests: text-justify applies inline + + + + + + + +

Test passes if the the blue and orange boxes are aligned. + +

X X X X
+
X X X X ###########
diff --git a/tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html b/tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html new file mode 100644 index 00000000000..efe6508e2e6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-008-ref.html @@ -0,0 +1,19 @@ + + +test reference + + + + +

Test passes if all black boxes below have the same width and height and are aligned vertically. +

x
x
+
x
x
+
x
x
+
x
x
+
x
x
diff --git a/tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html b/tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html new file mode 100644 index 00000000000..915e8444f13 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-transform/reference/text-transform-fullwidth-009-ref.html @@ -0,0 +1,23 @@ + + +test reference + + + + +

Test passes if all black boxes below have the same width and height and are aligned vertically. +

x
x
+
x
x
+
x
x
+
x
x
+
x
x
+
x
x
+
x
x
+
x
x
+
x
x
diff --git a/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-006.html b/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-006.html index b0a509758ed..0bd0aa88400 100644 --- a/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-006.html +++ b/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-006.html @@ -9,9 +9,11 @@ + +

Test passes if all black boxes below have the same width and height and are aligned vertically. +

x
x
+
x x
+
x x
+
x x
+
x x
diff --git a/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-009.html b/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-009.html new file mode 100644 index 00000000000..afcb89b0cfc --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-transform/text-transform-fullwidth-009.html @@ -0,0 +1,49 @@ + + +CSS Text level 3 Test: text-transform:fullwidth and trailing spaces, with pre-wrap + + + + + + + + +

Test passes if all black boxes below have the same width and height and are aligned vertically. +

x
x
+
x x
+
x x
+
x x
+
x x
+ +
x 
x 
+
x
x
+
x 
x 
+
x
x
diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-018.html b/tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-018.html new file mode 100644 index 00000000000..2faf185856b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-018.html @@ -0,0 +1,46 @@ + + +CSS Text level 3 Test: inline element boundary and segment break transformations + + + + + + + + +

Test passes if there is a filled green square and no red. + +

+ +
aa​ +bbb
+ +
aa +bbb
+ +
aa +bb
+ +
aa +bb
+ +
aa +bbb
diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-019.html b/tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-019.html new file mode 100644 index 00000000000..afbba264252 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/seg-break-transformation-019.html @@ -0,0 +1,48 @@ + + +CSS Text level 3 Test: out of flow elements and segment break transformations + + + + + + + + +

Test passes if there is a filled green square and no red. + +

+ +
aa​ +bbb
+ +
aa​ +bbb
+ +
aa​ +bbb
+ +
aa​ +bbb
+ +
aa​ +bbb
diff --git a/tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-007.html b/tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-007.html new file mode 100644 index 00000000000..e1bc9a52053 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-007.html @@ -0,0 +1,30 @@ + + +CSS-Text test: word-break keep-all + pre-wrap does not affect U+3000 + + + + + + + + +

This test passes if the four characters below are arranged in a two-by-two square. +

字字 字字
+ diff --git a/tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-008.html b/tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-008.html new file mode 100644 index 00000000000..16529b0619e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-break/word-break-keep-all-008.html @@ -0,0 +1,30 @@ + + +CSS-Text test: word-break keep-all + break-spaces does not affect U+3000 + + + + + + + + +

This test passes if the four characters below are arranged in a two-by-two square. +

字字 字字
+ diff --git a/tests/wpt/web-platform-tests/css/css-values/minmax-length-percent-serialize.html b/tests/wpt/web-platform-tests/css/css-values/minmax-length-percent-serialize.html new file mode 100644 index 00000000000..f0ffd4ea2ce --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-values/minmax-length-percent-serialize.html @@ -0,0 +1,81 @@ + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-values/minmax-length-serialize.html b/tests/wpt/web-platform-tests/css/css-values/minmax-length-serialize.html new file mode 100644 index 00000000000..4b30864d234 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-values/minmax-length-serialize.html @@ -0,0 +1,65 @@ + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-values/minmax-number-serialize.html b/tests/wpt/web-platform-tests/css/css-values/minmax-number-serialize.html new file mode 100644 index 00000000000..e05ccc339c9 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-values/minmax-number-serialize.html @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-values/minmax-percentage-serialize.html b/tests/wpt/web-platform-tests/css/css-values/minmax-percentage-serialize.html new file mode 100644 index 00000000000..79624be529e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-values/minmax-percentage-serialize.html @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html index c2aa9323636..e2386de2f2a 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-mime-types-coverage.tentative.sub.html @@ -53,12 +53,7 @@ const get_url = (mime) => { // www1 is cross-origin, so the HTTP response is CORB-eligible --> - // - // TODO(lukasza@chromium.org): Once https://crbug.com/888079 and - // https://crbug.com/891872 are fixed, we should use a cross-*origin* - // rather than cross-*site* URL below (e.g. s/hosts[alt]/domains/g). - // See also https://crbug.com/918660 for more context. - url = "http://{{hosts[alt][www1]}}:{{ports[http][0]}}" + url = "http://{{domains[www1]}}:{{ports[http][0]}}" url = url + "/fetch/nosniff/resources/image.py" if (mime != null) { url += "?type=" + encodeURIComponent(mime) diff --git a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html index 46403b0b181..82adc47b0cf 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub.html @@ -7,11 +7,5 @@ - - + + diff --git a/tests/wpt/web-platform-tests/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html index 2fc93f8317e..cea80f2f89f 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/preload-image-png-mislabeled-as-html-nosniff.tentative.sub.html @@ -17,14 +17,8 @@ async_test(function(t) { }); - + + href="http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/png-mislabeled-as-html-nosniff.png"> diff --git a/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html index 407cef91584..8f4d7679e3d 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/script-html-correctly-labeled.tentative.sub.html @@ -24,12 +24,7 @@ async_test(function(t) { }); // www1 is cross-origin, so the HTTP response is CORB-eligible. - // - // TODO(lukasza@chromium.org): Once https://crbug.com/888079 and - // https://crbug.com/891872 are fixed, we should use a cross-*origin* - // rather than cross-*site* URL below (e.g. s/hosts[alt]/domains/g). - // See also https://crbug.com/918660 for more context. - script.src = 'http://{{hosts[alt][www1]}}:{{ports[http][0]}}/fetch/corb/resources/html-correctly-labeled.html'; + script.src = 'http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/html-correctly-labeled.html'; document.body.appendChild(script) }, "CORB-blocked script has no syntax errors"); diff --git a/tests/wpt/web-platform-tests/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html b/tests/wpt/web-platform-tests/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html index 03924cdad0d..cabc7b09c45 100644 --- a/tests/wpt/web-platform-tests/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html +++ b/tests/wpt/web-platform-tests/fetch/corb/script-resource-with-json-parser-breaker.tentative.sub.html @@ -68,12 +68,7 @@ function test(mime_type, body) { }); // www1 is cross-origin, so the HTTP response is CORB-eligible. - // - // TODO(lukasza@chromium.org): Once https://crbug.com/888079 and - // https://crbug.com/891872 are fixed, we should use a cross-*origin* - // rather than cross-*site* URL below (e.g. s/hosts[alt]/domains/g). - // See also https://crbug.com/918660 for more context. - var src_prefix = "http://{{hosts[alt][www1]}}:{{ports[http][0]}}/fetch/corb/resources/sniffable-resource.py"; + var src_prefix = "http://{{domains[www1]}}:{{ports[http][0]}}/fetch/corb/resources/sniffable-resource.py"; script.src = src_prefix + "?type=" + mime_type + "&body=" + encodeURIComponent(body); document.body.appendChild(script) }, "CORB-blocks '" + mime_type + "' that starts with the following JSON parser breaker: " + body); diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/link-style-error.js b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/link-style-error.js index 7ebc39ba6cc..d1fa5ac2d6f 100644 --- a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/link-style-error.js +++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/link-style-error.js @@ -1,13 +1,7 @@ ["", "@import"].forEach(linkType => { [ ["same-origin", "resources/css.py"], - - // TODO(lukasza@chromium.org): Once https://crbug.com/888079 and - // https://crbug.com/891872 are fixed, we should use a cross-*origin* rather - // than cross-*site* URL below (e.g. s/ HTTP_NOTSAMESITE_ORIGIN / - // HTTP_REMOTE_ORIGIN /g). See also https://crbug.com/918660 for more - // context. - ["cross-origin", get_host_info().HTTP_NOTSAMESITE_ORIGIN + "/html/semantics/document-metadata/the-link-element/resources/css.py"] + ["cross-origin", get_host_info().HTTP_REMOTE_ORIGIN + "/html/semantics/document-metadata/the-link-element/resources/css.py"] ].forEach(originType => { ["no Content-Type", "wrong Content-Type", "broken Content-Type"].forEach(contentType => { ["no nosniff", "nosniff"].forEach(nosniff => { diff --git a/tests/wpt/web-platform-tests/interfaces/encrypted-media.idl b/tests/wpt/web-platform-tests/interfaces/encrypted-media.idl index 61e869367a1..26c03f6f24d 100644 --- a/tests/wpt/web-platform-tests/interfaces/encrypted-media.idl +++ b/tests/wpt/web-platform-tests/interfaces/encrypted-media.idl @@ -5,8 +5,7 @@ [Exposed=Window] partial interface Navigator { - [SecureContext] Promise requestMediaKeySystemAccess(DOMString keySystem, - sequence supportedConfigurations); + [SecureContext] Promise requestMediaKeySystemAccess (DOMString keySystem, sequence supportedConfigurations); }; enum MediaKeysRequirement { @@ -16,26 +15,24 @@ enum MediaKeysRequirement { }; dictionary MediaKeySystemConfiguration { - DOMString label = ""; - sequence initDataTypes = []; - sequence audioCapabilities = []; - sequence videoCapabilities = []; - MediaKeysRequirement distinctiveIdentifier = "optional"; - MediaKeysRequirement persistentState = "optional"; - sequence sessionTypes; + DOMString label = ""; + sequence initDataTypes = []; + sequence audioCapabilities = []; + sequence videoCapabilities = []; + MediaKeysRequirement distinctiveIdentifier = "optional"; + MediaKeysRequirement persistentState = "optional"; + sequence sessionTypes; }; dictionary MediaKeySystemMediaCapability { - DOMString contentType = ""; - DOMString robustness = ""; + DOMString contentType = ""; + DOMString robustness = ""; }; -[Exposed=Window, - SecureContext] -interface MediaKeySystemAccess { - readonly attribute DOMString keySystem; - MediaKeySystemConfiguration getConfiguration(); - Promise createMediaKeys(); +[Exposed=Window, SecureContext] interface MediaKeySystemAccess { + readonly attribute DOMString keySystem; + MediaKeySystemConfiguration getConfiguration (); + Promise createMediaKeys (); }; enum MediaKeySessionType { @@ -43,37 +40,30 @@ enum MediaKeySessionType { "persistent-license" }; -[Exposed=Window, - SecureContext] -interface MediaKeys { - MediaKeySession createSession(optional MediaKeySessionType sessionType = "temporary"); - Promise setServerCertificate(BufferSource serverCertificate); +[Exposed=Window, SecureContext] interface MediaKeys { + MediaKeySession createSession (optional MediaKeySessionType sessionType = "temporary"); + Promise setServerCertificate (BufferSource serverCertificate); }; -[Exposed=Window, - SecureContext] -interface MediaKeySession : EventTarget { - readonly attribute DOMString sessionId; - readonly attribute unrestricted double expiration; - readonly attribute Promise closed; - readonly attribute MediaKeyStatusMap keyStatuses; - attribute EventHandler onkeystatuseschange; - attribute EventHandler onmessage; - Promise generateRequest(DOMString initDataType, - BufferSource initData); - Promise load(DOMString sessionId); - Promise update(BufferSource response); - Promise close(); - Promise remove(); +[Exposed=Window, SecureContext] interface MediaKeySession : EventTarget { + readonly attribute DOMString sessionId; + readonly attribute unrestricted double expiration; + readonly attribute Promise closed; + readonly attribute MediaKeyStatusMap keyStatuses; + attribute EventHandler onkeystatuseschange; + attribute EventHandler onmessage; + Promise generateRequest (DOMString initDataType, BufferSource initData); + Promise load (DOMString sessionId); + Promise update (BufferSource response); + Promise close (); + Promise remove (); }; -[Exposed=Window, - SecureContext] -interface MediaKeyStatusMap { - iterable; - readonly attribute unsigned long size; - boolean has(BufferSource keyId); - any get(BufferSource keyId); +[Exposed=Window, SecureContext] interface MediaKeyStatusMap { + iterable; + readonly attribute unsigned long size; + boolean has (BufferSource keyId); + any get (BufferSource keyId); }; enum MediaKeyStatus { @@ -93,36 +83,33 @@ enum MediaKeyMessageType { "individualization-request" }; -[Exposed=Window, - SecureContext, - Constructor(DOMString type, MediaKeyMessageEventInit eventInitDict)] +[Exposed=Window, SecureContext] interface MediaKeyMessageEvent : Event { - readonly attribute MediaKeyMessageType messageType; - readonly attribute ArrayBuffer message; + constructor(DOMString type, MediaKeyMessageEventInit eventInitDict); + readonly attribute MediaKeyMessageType messageType; + readonly attribute ArrayBuffer message; }; dictionary MediaKeyMessageEventInit : EventInit { - required MediaKeyMessageType messageType; - required ArrayBuffer message; + required MediaKeyMessageType messageType; + required ArrayBuffer message; +}; + +[Exposed=Window] partial interface HTMLMediaElement { + [SecureContext] readonly attribute MediaKeys? mediaKeys; + attribute EventHandler onencrypted; + attribute EventHandler onwaitingforkey; + [SecureContext] Promise setMediaKeys (MediaKeys? mediaKeys); }; [Exposed=Window] -partial interface HTMLMediaElement { - [SecureContext] - readonly attribute MediaKeys? mediaKeys; - attribute EventHandler onencrypted; - attribute EventHandler onwaitingforkey; - [SecureContext] Promise setMediaKeys(MediaKeys? mediaKeys); -}; - -[Exposed=Window, - Constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict)] interface MediaEncryptedEvent : Event { - readonly attribute DOMString initDataType; - readonly attribute ArrayBuffer? initData; + constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict = {}); + readonly attribute DOMString initDataType; + readonly attribute ArrayBuffer? initData; }; dictionary MediaEncryptedEventInit : EventInit { - DOMString initDataType = ""; - ArrayBuffer? initData = null; + DOMString initDataType = ""; + ArrayBuffer? initData = null; }; diff --git a/tests/wpt/web-platform-tests/interfaces/fullscreen.idl b/tests/wpt/web-platform-tests/interfaces/fullscreen.idl index 491aa7af13e..6f86d5c220f 100644 --- a/tests/wpt/web-platform-tests/interfaces/fullscreen.idl +++ b/tests/wpt/web-platform-tests/interfaces/fullscreen.idl @@ -14,7 +14,7 @@ dictionary FullscreenOptions { }; partial interface Element { - Promise requestFullscreen(optional FullscreenOptions options); + Promise requestFullscreen(optional FullscreenOptions options = {}); attribute EventHandler onfullscreenchange; attribute EventHandler onfullscreenerror; diff --git a/tests/wpt/web-platform-tests/interfaces/mediastream-recording.idl b/tests/wpt/web-platform-tests/interfaces/mediastream-recording.idl index 0be0538d122..2d849ba9aff 100644 --- a/tests/wpt/web-platform-tests/interfaces/mediastream-recording.idl +++ b/tests/wpt/web-platform-tests/interfaces/mediastream-recording.idl @@ -28,7 +28,7 @@ interface MediaRecorder : EventTarget { }; dictionary MediaRecorderOptions { - DOMString mimeType; + DOMString mimeType = ""; unsigned long audioBitsPerSecond; unsigned long videoBitsPerSecond; unsigned long bitsPerSecond; diff --git a/tests/wpt/web-platform-tests/interfaces/reporting.idl b/tests/wpt/web-platform-tests/interfaces/reporting.idl index ae24f7538f6..05d5a42458b 100644 --- a/tests/wpt/web-platform-tests/interfaces/reporting.idl +++ b/tests/wpt/web-platform-tests/interfaces/reporting.idl @@ -3,18 +3,18 @@ // (https://github.com/tidoust/reffy-reports) // Source: Reporting API 1 (https://w3c.github.io/reporting/) -[Exposed=Window] +[Exposed=(Window,Worker)] interface ReportBody { }; -[Exposed=Window] +[Exposed=(Window,Worker)] interface Report { readonly attribute DOMString type; readonly attribute DOMString url; readonly attribute ReportBody? body; }; -[Exposed=Window] +[Exposed=(Window,Worker)] interface ReportingObserver { constructor(ReportingObserverCallback callback, optional ReportingObserverOptions options = {}); void observe(); @@ -31,7 +31,7 @@ dictionary ReportingObserverOptions { typedef sequence ReportList; -[Exposed=Window] +[Exposed=(Window,Worker)] interface DeprecationReportBody : ReportBody { readonly attribute DOMString id; readonly attribute Date? anticipatedRemoval; @@ -41,7 +41,7 @@ interface DeprecationReportBody : ReportBody { readonly attribute unsigned long? columnNumber; }; -[Exposed=Window] +[Exposed=(Window,Worker)] interface InterventionReportBody : ReportBody { readonly attribute DOMString id; readonly attribute DOMString message; @@ -50,7 +50,7 @@ interface InterventionReportBody : ReportBody { readonly attribute unsigned long? columnNumber; }; -[Exposed=Window] +[Exposed=(Window,Worker)] interface CrashReportBody : ReportBody { readonly attribute DOMString? reason; }; diff --git a/tests/wpt/web-platform-tests/reporting/META.yml b/tests/wpt/web-platform-tests/reporting/META.yml index 980823f59f7..70f3136dd3c 100644 --- a/tests/wpt/web-platform-tests/reporting/META.yml +++ b/tests/wpt/web-platform-tests/reporting/META.yml @@ -1,5 +1,5 @@ spec: https://w3c.github.io/reporting/ suggested_reviewers: + - clelland - dcreager - igrigorik - - paulmeyer90 diff --git a/tests/wpt/web-platform-tests/reporting/idlharness.window.js b/tests/wpt/web-platform-tests/reporting/idlharness.any.js similarity index 100% rename from tests/wpt/web-platform-tests/reporting/idlharness.window.js rename to tests/wpt/web-platform-tests/reporting/idlharness.any.js diff --git a/tests/wpt/web-platform-tests/resources/idlharness.js b/tests/wpt/web-platform-tests/resources/idlharness.js index f68ad1dd7d8..ce5a8d86d2e 100644 --- a/tests/wpt/web-platform-tests/resources/idlharness.js +++ b/tests/wpt/web-platform-tests/resources/idlharness.js @@ -236,7 +236,11 @@ IdlArray.prototype.is_excluded_by_options = function (name, options) IdlArray.prototype.add_dependency_idls = function(raw_idls, options) { - const parsed_idls = WebIDL2.parse(raw_idls); + return this.internal_add_dependency_idls(WebIDL2.parse(raw_idls), options); +}; + +IdlArray.prototype.internal_add_dependency_idls = function(parsed_idls, options) +{ const new_options = { only: [] } const all_deps = new Set(); @@ -804,10 +808,19 @@ IdlArray.prototype.test = function() if (!(this.members[lhs] instanceof IdlInterface)) throw errStr + lhs + " is not an interface."; if (!(rhs in this.members)) throw errStr + rhs + " is undefined."; if (!(this.members[rhs] instanceof IdlInterface)) throw errStr + rhs + " is not an interface."; - this.members[rhs].members.forEach(function(member) - { - this.members[lhs].members.push(new IdlInterfaceMember(member)); - }.bind(this)); + + if (this.members[rhs].members.length) { + test(function () { + this.members[rhs].members.forEach(function(member) { + assert_false( + this.members[lhs].members.some(function (m) { + return m.name === member.name + }), + "member " + member.name + " is already defined"); + this.members[lhs].members.push(new IdlInterfaceMember(member)); + }.bind(this)); + }.bind(this), lhs + " implements " + rhs + ": member names are unique"); + } }.bind(this)); } this["implements"] = {}; @@ -821,10 +834,17 @@ IdlArray.prototype.test = function() if (!(this.members[lhs] instanceof IdlInterface)) throw errStr + lhs + " is not an interface."; if (!(rhs in this.members)) throw errStr + rhs + " is undefined."; if (!(this.members[rhs] instanceof IdlInterface)) throw errStr + rhs + " is not an interface."; - this.members[rhs].members.forEach(function(member) - { - this.members[lhs].members.push(new IdlInterfaceMember(member)); - }.bind(this)); + + if (this.members[rhs].members.length) { + test(function () { + this.members[rhs].members.forEach(function(member) { + assert_true( + this.members[lhs].members.every(m => !this.are_duplicate_members(m, member)), + "member " + member.name + " is unique"); + this.members[lhs].members.push(new IdlInterfaceMember(member)); + }.bind(this)); + }.bind(this), lhs + " includes " + rhs + ": member names are unique"); + } }.bind(this)); } this["includes"] = {}; @@ -886,24 +906,27 @@ IdlArray.prototype.collapse_partials = function() || this.members[parsed_idl.name] instanceof IdlDictionary || this.members[parsed_idl.name] instanceof IdlNamespace); + // Ensure unique test name in case of multiple partials. let partialTestName = parsed_idl.name; - if (!parsed_idl.untested) { - // Ensure unique test name in case of multiple partials. - let partialTestCount = 1; - if (testedPartials.has(parsed_idl.name)) { - partialTestCount += testedPartials.get(parsed_idl.name); - partialTestName = `${partialTestName}[${partialTestCount}]`; - } - testedPartials.set(parsed_idl.name, partialTestCount); + let partialTestCount = 1; + if (testedPartials.has(parsed_idl.name)) { + partialTestCount += testedPartials.get(parsed_idl.name); + partialTestName = `${partialTestName}[${partialTestCount}]`; + } + testedPartials.set(parsed_idl.name, partialTestCount); + if (!parsed_idl.untested) { test(function () { assert_true(originalExists, `Original ${parsed_idl.type} should be defined`); - var expected = IdlInterface; + var expected; switch (parsed_idl.type) { - case 'interface': expected = IdlInterface; break; case 'dictionary': expected = IdlDictionary; break; case 'namespace': expected = IdlNamespace; break; + case 'interface': + case 'interface mixin': + default: + expected = IdlInterface; break; } assert_true( expected.prototype.isPrototypeOf(this.members[parsed_idl.name]), @@ -949,14 +972,33 @@ IdlArray.prototype.collapse_partials = function() this.members[parsed_idl.name].extAttrs.push(extAttr); }.bind(this)); } - parsed_idl.members.forEach(function(member) - { - this.members[parsed_idl.name].members.push(new IdlInterfaceMember(member)); - }.bind(this)); + if (parsed_idl.members.length) { + test(function () { + parsed_idl.members.forEach(function(member) + { + assert_true( + this.members[parsed_idl.name].members.every(m => !this.are_duplicate_members(m, member)), + "member " + member.name + " is unique"); + this.members[parsed_idl.name].members.push(new IdlInterfaceMember(member)); + }.bind(this)); + }.bind(this), `Partial ${parsed_idl.type} ${partialTestName}: member names are unique`); + } }.bind(this)); this.partials = []; } +IdlArray.prototype.are_duplicate_members = function(m1, m2) { + if (m1.name !== m2.name) { + return false; + } + if (m1.type === 'operation' && m2.type === 'operation' + && m1.arguments.length !== m2.arguments.length) { + // Method overload. TODO: Deep comparison of arguments. + return false; + } + return true; +} + IdlArray.prototype.assert_type_is = function(value, type) { if (type.idlType in this.members @@ -3297,16 +3339,30 @@ function idl_test(srcs, deps, idl_setup_func) { srcs = (srcs instanceof Array) ? srcs : [srcs] || []; deps = (deps instanceof Array) ? deps : [deps] || []; var setup_error = null; + const validationIgnored = [ + "constructor-member", + "dict-arg-default", + "require-exposed" + ]; return Promise.all( - srcs.concat(deps).map(function(spec) { - return fetch_spec(spec); - })) - .then(function(idls) { + srcs.concat(deps).map(fetch_spec)) + .then(function(results) { + const astArray = results.map(result => + WebIDL2.parse(result.idl, { sourceName: result.spec }) + ); + test(() => { + const validations = WebIDL2.validate(astArray) + .filter(v => !validationIgnored.includes(v.ruleName)); + if (validations.length) { + const message = validations.map(v => v.message).join("\n\n"); + throw new Error(message); + } + }, "idl_test validation"); for (var i = 0; i < srcs.length; i++) { - idl_array.add_idls(idls[i]); + idl_array.internal_add_idls(astArray[i]); } for (var i = srcs.length; i < srcs.length + deps.length; i++) { - idl_array.add_dependency_idls(idls[i]); + idl_array.internal_add_dependency_idls(astArray[i]); } }) .then(function() { @@ -3341,6 +3397,6 @@ function fetch_spec(spec) { throw new IdlHarnessError("Error fetching " + url + "."); } return r.text(); - }); + }).then(idl => ({ spec, idl })); } // vim: set expandtab shiftwidth=4 tabstop=4 foldmarker=@{,@} foldmethod=marker: diff --git a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlDictionary/test_partial_interface_of.html b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlDictionary/test_partial_interface_of.html index 5bf51fed403..5ee3fe7e893 100644 --- a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlDictionary/test_partial_interface_of.html +++ b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlDictionary/test_partial_interface_of.html @@ -4,7 +4,6 @@ - idlharness: Partial dictionary @@ -58,12 +57,6 @@ "properties": {}, "message": "assert_true: Original dictionary should be defined expected true got false" }, - { - "name": "Partial dictionary B: original dictionary defined", - "status_string": "PASS", - "properties": {}, - "message": null - }, { "name": "Partial dictionary B[2]: original dictionary defined", "status_string": "PASS", @@ -76,6 +69,12 @@ "properties": {}, "message": null }, + { + "name": "Partial dictionary B[4]: original dictionary defined", + "status_string": "PASS", + "properties": {}, + "message": null + }, { "name": "Partial dictionary C: original dictionary defined", "status_string": "FAIL", diff --git a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_interface_mixin.html b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_interface_mixin.html new file mode 100644 index 00000000000..a9a9094fe30 --- /dev/null +++ b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_interface_mixin.html @@ -0,0 +1,83 @@ + + + + + + + idlharness: interface mixins + + + + + + + + +

Verify the series of sub-tests that are executed for "interface mixin" objects.

+ + + + + diff --git a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_partial_interface_of.html b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_partial_interface_of.html index 0c752bdc6cd..d0e83af9664 100644 --- a/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_partial_interface_of.html +++ b/tests/wpt/web-platform-tests/resources/test/tests/functional/idlharness/IdlInterface/test_partial_interface_of.html @@ -4,8 +4,7 @@ - - idlharness: Partail interface + idlharness: Partial interface @@ -94,6 +93,15 @@ assert_false('L' in idlArray.members, 'L should be picked up'); }, 'partial mixin dep implications'); })(); + + // Name clash (partials) + (() => { + const idlArray = new IdlArray(); + idlArray.add_idls(` + interface M { attribute any A; }; + partial interface M { attribute any A; };`); + idlArray.collapse_partials(); + })();