diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 8fac4ec7376..679f3f4d974 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -137125,6 +137125,78 @@ {} ] ], + "css/css-sizing/intrinsic-percent-replaced-001.html": [ + [ + "/css/css-sizing/intrinsic-percent-replaced-001.html", + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "css/css-sizing/intrinsic-percent-replaced-002.html": [ + [ + "/css/css-sizing/intrinsic-percent-replaced-002.html", + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "css/css-sizing/intrinsic-percent-replaced-003.html": [ + [ + "/css/css-sizing/intrinsic-percent-replaced-003.html", + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "css/css-sizing/intrinsic-percent-replaced-004.html": [ + [ + "/css/css-sizing/intrinsic-percent-replaced-004.html", + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "css/css-sizing/intrinsic-percent-replaced-005.html": [ + [ + "/css/css-sizing/intrinsic-percent-replaced-005.html", + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], + "css/css-sizing/intrinsic-percent-replaced-006.html": [ + [ + "/css/css-sizing/intrinsic-percent-replaced-006.html", + [ + [ + "/css/reference/ref-filled-green-100px-square-only.html", + "==" + ] + ], + {} + ] + ], "css/css-sizing/orthogonal-writing-mode-float-in-inline.html": [ [ "/css/css-sizing/orthogonal-writing-mode-float-in-inline.html", @@ -200451,6 +200523,11 @@ {} ] ], + ".mailmap": [ + [ + {} + ] + ], ".pyup.yml": [ [ {} @@ -336568,6 +336645,12 @@ {} ] ], + "animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html": [ + [ + "/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html", + {} + ] + ], "animation-worklet/animation-worklet-inside-iframe.https.html": [ [ "/animation-worklet/animation-worklet-inside-iframe.https.html", @@ -336590,6 +336673,12 @@ {} ] ], + "animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html": [ + [ + "/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html", + {} + ] + ], "animation-worklet/playback-rate.https.html": [ [ "/animation-worklet/playback-rate.https.html", @@ -348918,6 +349007,12 @@ {} ] ], + "css/css-syntax/unclosed-url-at-eof.html": [ + [ + "/css/css-syntax/unclosed-url-at-eof.html", + {} + ] + ], "css/css-syntax/unicode-range-selector.html": [ [ "/css/css-syntax/unicode-range-selector.html", @@ -353534,6 +353629,12 @@ {} ] ], + "css/css-values/calc-angle-values.html": [ + [ + "/css/css-values/calc-angle-values.html", + {} + ] + ], "css/css-values/calc-in-color-001.html": [ [ "/css/css-values/calc-in-color-001.html", @@ -353576,6 +353677,12 @@ {} ] ], + "css/css-values/calc-time-values.html": [ + [ + "/css/css-values/calc-time-values.html", + {} + ] + ], "css/css-values/calc-unit-analysis.html": [ [ "/css/css-values/calc-unit-analysis.html", @@ -411032,6 +411139,14 @@ {} ] ], + "screen-orientation/event-before-promise.html": [ + [ + "/screen-orientation/event-before-promise.html", + { + "testdriver": true + } + ] + ], "screen-orientation/idlharness.window.js": [ [ "/screen-orientation/idlharness.window.html", @@ -449145,6 +449260,10 @@ "f40c77f6331efbb7464a9180e999d77107f59180", "support" ], + ".mailmap": [ + "5293948fc2311eb9b900a89a5b57e30f5c5c8eb2", + "support" + ], ".pyup.yml": [ "2249e1a89dc7687fa04a38e1704ee22c325bd15b", "support" @@ -457045,6 +457164,10 @@ "c6918965843779e02522af1abf48acda8d0a128b", "support" ], + "animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html": [ + "d22ed4cd251a20de43c4425e54abdc984b41976a", + "testharness" + ], "animation-worklet/animation-worklet-inside-iframe.https.html": [ "b02186309dc2cf8df05559ef9fb9bcacdf535112", "testharness" @@ -457054,13 +457177,17 @@ "support" ], "animation-worklet/current-time.https.html": [ - "402c49307df75b0c6d264f8072425b617342d2c3", + "a445d5b004f8d4849ac9a65ca6e1b0e7bf5d072d", "testharness" ], "animation-worklet/idlharness.any.js": [ "e821a2fee8a3ace54e8e7092ab17c490a0ded914", "testharness" ], + "animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html": [ + "edf8488deda79eeb8eec071bf24305543d2f6627", + "testharness" + ], "animation-worklet/playback-rate.https.html": [ "9c975814f1ed09b3e78493df177c3c0eddf74cdd", "testharness" @@ -575445,6 +575572,30 @@ "f105d942043c44efa0b9e1ec58798db8f9b64a8c", "reftest" ], + "css/css-sizing/intrinsic-percent-replaced-001.html": [ + "ebb93a225a7cc5df9a81d21ab218872077e93ab7", + "reftest" + ], + "css/css-sizing/intrinsic-percent-replaced-002.html": [ + "05051e63d8ce32b2d6dbd09655011d5427398c04", + "reftest" + ], + "css/css-sizing/intrinsic-percent-replaced-003.html": [ + "0f130b82db58a367b8751899c6dcfd224cb4631b", + "reftest" + ], + "css/css-sizing/intrinsic-percent-replaced-004.html": [ + "1c4002b0f8fc6d3c1819be013214a69a7e155923", + "reftest" + ], + "css/css-sizing/intrinsic-percent-replaced-005.html": [ + "84e945c833972afa92481ffd33574377ca7d48fa", + "reftest" + ], + "css/css-sizing/intrinsic-percent-replaced-006.html": [ + "bce0a18be6f66e57cad2e2e90694a6f53dab71c7", + "reftest" + ], "css/css-sizing/orthogonal-writing-mode-float-in-inline.html": [ "fa95069dbf0083b0dc7095d2bb3acf20a6ccf898", "reftest" @@ -575973,6 +576124,10 @@ "3d7940387c810572159bd55fcc79fc10626221dc", "testharness" ], + "css/css-syntax/unclosed-url-at-eof.html": [ + "7157896d97857f6aad35114f29323b2b6bdd9318", + "testharness" + ], "css/css-syntax/unicode-range-selector.html": [ "db09540bb08c47f62b4255be6ba72b289987d64c", "testharness" @@ -592113,6 +592268,10 @@ "ec96924a6805bc6157a3845c12b630aed9e52fa8", "reftest" ], + "css/css-values/calc-angle-values.html": [ + "e41beaff211b87dd74dd6fee6f05d894ba03988d", + "testharness" + ], "css/css-values/calc-ch-ex-lang-ref.html": [ "e0ac1ead1e5247c7c1d5fb2dffdf9ee0b08dd497", "support" @@ -592189,6 +592348,10 @@ "f92de7338d3f05a6623f3aa882e21a724f1344e5", "testharness" ], + "css/css-values/calc-time-values.html": [ + "60bcdcba594d8300091120100dfe8d878f8ff708", + "testharness" + ], "css/css-values/calc-unit-analysis.html": [ "7508a3924162b87454a180f75f17c572192c3776", "testharness" @@ -615638,7 +615801,7 @@ "support" ], "domparsing/XMLSerializer-serializeToString.html": [ - "d71da494fe7dbce56af5e45926739c7b6a232676", + "ab373481204e64070b8e3fd5a0f52f06211153b4", "testharness" ], "domparsing/createContextualFragment.html": [ @@ -621058,7 +621221,7 @@ "support" ], "fetch/stale-while-revalidate/stale-css.tentative.html": [ - "df03bd96243138cbaee076dc9b0a6cc3d15d9a16", + "9b95b891fff2db4a29bd438208ea4274a762977d", "testharness" ], "fetch/stale-while-revalidate/stale-image.py": [ @@ -621066,7 +621229,7 @@ "support" ], "fetch/stale-while-revalidate/stale-image.tentative.html": [ - "d8383acb319c2e0398bd83632377ac8cb219da49", + "a5d4e79c54b8fca7a7089efcca0bc5f6f7c1202a", "testharness" ], "fetch/stale-while-revalidate/stale-script.py": [ @@ -638966,7 +639129,7 @@ "testharness" ], "html/semantics/text-level-semantics/historical.html": [ - "9de09fe5b389ba642ab5a55d96b5cb50918c2d73", + "7fe83a95ed0464c5f6dac8ceb9b8327acbd70e16", "testharness" ], "html/semantics/text-level-semantics/the-a-element/a-download-404.py": [ @@ -642350,7 +642513,7 @@ "support" ], "interfaces/web-bluetooth.idl": [ - "00b93a551335c1270a9529c36765ec8c858e18c1", + "c5fd30cf320ac857d34758558110c972770fd428", "support" ], "interfaces/web-nfc.idl": [ @@ -642406,7 +642569,7 @@ "support" ], "interfaces/webxr.idl": [ - "b1ed0f9072716efd5ef92ead32d58b396319dbfa", + "2bc100e100d89da510c56dc51d13d45335f67740", "support" ], "interfaces/worklets.idl": [ @@ -666905,6 +667068,10 @@ "dc3f290196fabe6e4594a498282fc0091134bdad", "support" ], + "screen-orientation/event-before-promise.html": [ + "d876b0c8873ebe0f009ebe4e6ef02a8bac52cf9c", + "testharness" + ], "screen-orientation/idlharness.window.js": [ "115f6ccb1e393586f4076884c01443d4944bb413", "testharness" @@ -672126,11 +672293,11 @@ "testharness" ], "svg/geometry/parsing/ry-invalid.svg": [ - "7a25a1ec0e61e4a36e65b7884d9667bb1614adfa", + "5938ae830d52ad752a3f502a2308e9efae57dcdb", "testharness" ], "svg/geometry/parsing/ry-valid.svg": [ - "e92e2cf6410ba4071baa81c18ec4462ba60b42dd", + "178c0c007d649d75bd51a52a31f5c046eba9fd28", "testharness" ], "svg/geometry/parsing/sizing-properties-computed.svg": [ @@ -675914,15 +676081,15 @@ "support" ], "tools/ci/ci_built_diff.sh": [ - "81bf098f56aad48b7b3fce2d7cabd606fefa2d4e", + "709cc2aa7e6867f548d4efdd62d74abc185e657b", "support" ], "tools/ci/ci_lint.sh": [ - "fe8bbfb8cf928d1982d302f6f91b64c37026ad25", + "bf98f209eba1330c9a69d13ed0ca9380e3ec24a2", "support" ], "tools/ci/ci_manifest.sh": [ - "695fd457d13081fb9814b9a9a266c75c9fd0c9f3", + "7d0d5ca04189a099d8ac4d782f7be295437c648f", "support" ], "tools/ci/ci_resources_unittest.sh": [ @@ -675954,7 +676121,7 @@ "support" ], "tools/ci/lib.sh": [ - "7c0b8253a906e05f7d793d1c6274f9aed01b7f83", + "8d5e6aef73b456446aaf265e35c3d0d6d252d1a7", "support" ], "tools/ci/make_hosts_file.py": [ @@ -676002,7 +676169,7 @@ "support" ], "tools/docker/start.sh": [ - "bfc7e9960abf595c8319c1865a2ad3c4d1c51087", + "0675a0af2da2bb81b9a1d2f8cd062e3ee383e6b7", "support" ], "tools/gitignore/__init__.py": [ @@ -676478,7 +676645,7 @@ "support" ], "tools/pywebsocket/mod_pywebsocket/memorizingfile.py": [ - "07bcbd5876cc355328ebf5c7a9cd98850abb8c6a", + "ba70ceb4e29e6cec5425212d0891dca7752ea808", "support" ], "tools/pywebsocket/mod_pywebsocket/msgutil.py": [ @@ -680682,7 +680849,7 @@ "support" ], "tools/wpt/browser.py": [ - "8c573a82bde2da17463943703d7ad20cb57df0cd", + "5f711f47580fc54461c166771b28828693a63d5b", "support" ], "tools/wpt/commands.json": [ @@ -680822,7 +680989,7 @@ "support" ], "tools/wptrunner/requirements_firefox.txt": [ - "0f2396afac1204af10a582f3d69162538a94625d", + "656d57f4b200f3ac57efbc2b0b7ddbe4a880c57a", "support" ], "tools/wptrunner/requirements_ie.txt": [ @@ -685214,7 +685381,7 @@ "testharness" ], "webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html": [ - "b69cb0e81259a4e47cff1ae11befbe63341d4849", + "3700bfa8ce806a57a4df6c050a9d299d9274edea", "testharness" ], "webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-scheduling.html": [ diff --git a/tests/wpt/metadata/bluetooth/idl/idlharness.tentative.https.window.js.ini b/tests/wpt/metadata/bluetooth/idl/idlharness.tentative.https.window.js.ini index 1c51e32a2d5..b83e1b347a5 100644 --- a/tests/wpt/metadata/bluetooth/idl/idlharness.tentative.https.window.js.ini +++ b/tests/wpt/metadata/bluetooth/idl/idlharness.tentative.https.window.js.ini @@ -2,6 +2,15 @@ [BluetoothRemoteGATTService interface: attribute oncharacteristicvaluechanged] expected: FAIL + [Bluetooth interface: navigator.bluetooth must inherit property "onadvertisementreceived" with the proper type] + expected: FAIL + + [Bluetooth interface: attribute onadvertisementreceived] + expected: FAIL + + [BluetoothDevice interface: attribute onadvertisementreceived] + expected: FAIL + [Bluetooth interface: attribute onserviceadded] expected: FAIL diff --git a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini index b1b81b82779..cea2b7ff82c 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -332,3 +332,6 @@ [Matching font-style: 'oblique 0deg' should prefer 'oblique 5deg' over 'oblique 15deg 20deg'] expected: FAIL + [Matching font-weight: '399' should prefer '500 501' over '502 510'] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-values/calc-angle-values.html.ini b/tests/wpt/metadata/css/css-values/calc-angle-values.html.ini new file mode 100644 index 00000000000..d65730af3b3 --- /dev/null +++ b/tests/wpt/metadata/css/css-values/calc-angle-values.html.ini @@ -0,0 +1,82 @@ +[calc-angle-values.html] + [substraction of angle unit: grad minus grad] + expected: FAIL + + [multiplication of angle unit: deg multiplied by int] + expected: FAIL + + [addition of 2 angle units: deg plus deg] + expected: FAIL + + [division of angle unit: turn divided by int] + expected: FAIL + + [addition of 2 angle units: deg plus turn] + expected: FAIL + + [multiplication of angle unit: int multiplied by turn] + expected: FAIL + + [substraction of angle unit: deg minus deg] + expected: FAIL + + [division of angle unit: rad divided by int] + expected: FAIL + + [substraction of angle unit: rad minus grad] + expected: FAIL + + [multiplication of angle unit: grad multiplied by int] + expected: FAIL + + [substraction of angle unit: rad minus turn] + expected: FAIL + + [substraction of angle unit: grad minus turn] + expected: FAIL + + [conversion of angle unit: grad into deg] + expected: FAIL + + [substraction of angle unit: deg minus rad] + expected: FAIL + + [addition of 2 angle units: grad plus grad] + expected: FAIL + + [division of angle unit: grad divided by int] + expected: FAIL + + [addition of 2 angle units: grad plus turn] + expected: FAIL + + [addition of 2 angle units: rad plus turn] + expected: FAIL + + [addition of 2 angle units: deg plus rad] + expected: FAIL + + [addition of 2 angle units: rad plus grad] + expected: FAIL + + [addition of 2 angle units: deg plus grad] + expected: FAIL + + [substraction of angle unit: deg minus turn] + expected: FAIL + + [division of angle unit: deg divided by int] + expected: FAIL + + [multiplication of angle unit: int multiplied by rad] + expected: FAIL + + [addition of 2 angle units: rad plus rad] + expected: FAIL + + [substraction of angle unit: rad minus rad] + expected: FAIL + + [substraction of angle unit: deg minus grad] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini b/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini index 8e2ceeddfbe..e1a609649d6 100644 --- a/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini +++ b/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini @@ -3,9 +3,3 @@ [scroll-behavior: smooth on DIV element] expected: FAIL - [Instant scrolling while doing history navigation.] - expected: FAIL - - [Smooth scrolling while doing history navigation.] - expected: FAIL - diff --git a/tests/wpt/metadata/domparsing/XMLSerializer-serializeToString.html.ini b/tests/wpt/metadata/domparsing/XMLSerializer-serializeToString.html.ini index dc236b20cb5..10057a087f4 100644 --- a/tests/wpt/metadata/domparsing/XMLSerializer-serializeToString.html.ini +++ b/tests/wpt/metadata/domparsing/XMLSerializer-serializeToString.html.ini @@ -21,3 +21,9 @@ [Check if "ns1" is generated even if the element already has xmlns:ns1.] expected: FAIL + [Check if attribute serialization takes into account of following xmlns:* attributes] + expected: FAIL + + [Check if attribute serialization takes into account of the same prefix declared in an ancestor element] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini new file mode 100644 index 00000000000..87b07c3e670 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_1.html] + [Multiple history traversals from the same task] + expected: FAIL + diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/iframe_005.html.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/iframe_005.html.ini new file mode 100644 index 00000000000..6cf9d13975c --- /dev/null +++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/iframe_005.html.ini @@ -0,0 +1,4 @@ +[iframe_005.html] + [document.write external script into iframe write back into parent] + expected: FAIL + 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/web-platform-tests/.mailmap b/tests/wpt/web-platform-tests/.mailmap new file mode 100644 index 00000000000..5293948fc23 --- /dev/null +++ b/tests/wpt/web-platform-tests/.mailmap @@ -0,0 +1,9 @@ +# People who've changed name: + +# Sam Sneddon: +Sam Sneddon +Sam Sneddon + +# Theresa O'Connor: +Theresa O'Connor +Theresa O'Connor diff --git a/tests/wpt/web-platform-tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html b/tests/wpt/web-platform-tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html new file mode 100644 index 00000000000..d22ed4cd251 --- /dev/null +++ b/tests/wpt/web-platform-tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html @@ -0,0 +1,65 @@ + +Animate multiple effects on different targets via main thread + + + + + + + + + +
+
+ + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/animation-worklet/current-time.https.html b/tests/wpt/web-platform-tests/animation-worklet/current-time.https.html index 402c49307df..a445d5b004f 100644 --- a/tests/wpt/web-platform-tests/animation-worklet/current-time.https.html +++ b/tests/wpt/web-platform-tests/animation-worklet/current-time.https.html @@ -2,47 +2,63 @@ The current time of a worklet animation + - -
+ +
+ - diff --git a/tests/wpt/web-platform-tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html b/tests/wpt/web-platform-tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html new file mode 100644 index 00000000000..edf8488deda --- /dev/null +++ b/tests/wpt/web-platform-tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html @@ -0,0 +1,65 @@ + +Multiple effects on same target driven by individual local time + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-001.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-001.html new file mode 100644 index 00000000000..ebb93a225a7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-001.html @@ -0,0 +1,12 @@ + + + + + +

Test passes if there is a filled green square.

+
+ +
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-002.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-002.html new file mode 100644 index 00000000000..05051e63d8c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-002.html @@ -0,0 +1,14 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+ +
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-003.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-003.html new file mode 100644 index 00000000000..0f130b82db5 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-003.html @@ -0,0 +1,17 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+
+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-004.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-004.html new file mode 100644 index 00000000000..1c4002b0f8f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-004.html @@ -0,0 +1,17 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+
+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-005.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-005.html new file mode 100644 index 00000000000..84e945c8339 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-005.html @@ -0,0 +1,15 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+ +
+
diff --git a/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-006.html b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-006.html new file mode 100644 index 00000000000..bce0a18be6f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-sizing/intrinsic-percent-replaced-006.html @@ -0,0 +1,17 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+
+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-syntax/unclosed-url-at-eof.html b/tests/wpt/web-platform-tests/css/css-syntax/unclosed-url-at-eof.html new file mode 100644 index 00000000000..7157896d978 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-syntax/unclosed-url-at-eof.html @@ -0,0 +1,29 @@ + +Unclosed URL At EOF + + + + + + +
+
+ +
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-values/calc-angle-values.html b/tests/wpt/web-platform-tests/css/css-values/calc-angle-values.html new file mode 100644 index 00000000000..e41beaff211 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-values/calc-angle-values.html @@ -0,0 +1,295 @@ + + + + + CSS Values and Units Test: calc() function with angle values + + + + + + + + + + + + + +
+ +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-values/calc-time-values.html b/tests/wpt/web-platform-tests/css/css-values/calc-time-values.html new file mode 100644 index 00000000000..60bcdcba594 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-values/calc-time-values.html @@ -0,0 +1,104 @@ + + + + + CSS Values and Units Test: calc() function with time values + + + + + + + + + + + + + +
+ +
+ + diff --git a/tests/wpt/web-platform-tests/domparsing/XMLSerializer-serializeToString.html b/tests/wpt/web-platform-tests/domparsing/XMLSerializer-serializeToString.html index d71da494fe7..ab373481204 100644 --- a/tests/wpt/web-platform-tests/domparsing/XMLSerializer-serializeToString.html +++ b/tests/wpt/web-platform-tests/domparsing/XMLSerializer-serializeToString.html @@ -55,6 +55,22 @@ test(function() { '', '']); }, 'check XMLSerializer.serializeToString escapes attribute values for roundtripping'); +test(function() { + const root = (new Document()).createElement('root'); + root.setAttributeNS('uri1', 'p:foobar', 'value1'); + root.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:p', 'uri2'); + const xmlString = (new XMLSerializer()).serializeToString(root); + assert_equals(xmlString, ''); +}, 'Check if attribute serialization takes into account of following xmlns:* attributes'); + +test(function() { + const input = ''; + const root = (new DOMParser()).parseFromString(input, 'text/xml').documentElement; + root.firstChild.setAttributeNS('uri2', 'p:foobar', 'v'); + const xmlString = (new XMLSerializer()).serializeToString(root); + assert_equals(xmlString, ''); +}, 'Check if attribute serialization takes into account of the same prefix declared in an ancestor element'); + test(function() { const input = ''; const root = (new DOMParser()).parseFromString(input, 'text/xml').documentElement; diff --git a/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-css.tentative.html b/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-css.tentative.html index df03bd96243..9b95b891fff 100644 --- a/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-css.tentative.html +++ b/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-css.tentative.html @@ -12,7 +12,7 @@ https://github.com/whatwg/fetch/pull/853 async_test(t => { window.onload = t.step_func(() => { - step_timeout(() => { + t.step_timeout(() => { assert_equals(window.getComputedStyle(document.body).getPropertyValue('background-color'), "rgb(0, 128, 0)"); var link2 = document.createElement("link"); link2.onload = t.step_func(() => { diff --git a/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-image.tentative.html b/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-image.tentative.html index d8383acb319..a5d4e79c54b 100644 --- a/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-image.tentative.html +++ b/tests/wpt/web-platform-tests/fetch/stale-while-revalidate/stale-image.tentative.html @@ -18,7 +18,7 @@ See: https://html.spec.whatwg.org/#the-list-of-available-images async_test(t => { window.onload = t.step_func(() => { - step_timeout(() => { + t.step_timeout(() => { assert_equals(document.getElementById("firstimage").width, 16, "Width is 16"); var childDocument = document.getElementById('child').contentDocument; var img2 = childDocument.createElement("img"); diff --git a/tests/wpt/web-platform-tests/html/semantics/text-level-semantics/historical.html b/tests/wpt/web-platform-tests/html/semantics/text-level-semantics/historical.html index 9de09fe5b38..7fe83a95ed0 100644 --- a/tests/wpt/web-platform-tests/html/semantics/text-level-semantics/historical.html +++ b/tests/wpt/web-platform-tests/html/semantics/text-level-semantics/historical.html @@ -26,7 +26,4 @@ t('datetime', 'time'); // removed in https://github.com/whatwg/html/commit/66fcb2357f205448fe2f40d7834a1e8ea2ed283b t('media', ['a', 'area']); - -// renamed to noreferrer in https://github.com/whatwg/html/commit/6a34274e99593e767ae99744a6c38a19489915c6 -t('noreferer', ['link', 'a', 'area']); diff --git a/tests/wpt/web-platform-tests/interfaces/web-bluetooth.idl b/tests/wpt/web-platform-tests/interfaces/web-bluetooth.idl index 00b93a55133..c5fd30cf320 100644 --- a/tests/wpt/web-platform-tests/interfaces/web-bluetooth.idl +++ b/tests/wpt/web-platform-tests/interfaces/web-bluetooth.idl @@ -199,6 +199,7 @@ interface mixin CharacteristicEventHandlers { [SecureContext] interface mixin BluetoothDeviceEventHandlers { + attribute EventHandler onadvertisementreceived; attribute EventHandler ongattserverdisconnected; }; diff --git a/tests/wpt/web-platform-tests/interfaces/webxr.idl b/tests/wpt/web-platform-tests/interfaces/webxr.idl index b1ed0f90727..2bc100e100d 100644 --- a/tests/wpt/web-platform-tests/interfaces/webxr.idl +++ b/tests/wpt/web-platform-tests/interfaces/webxr.idl @@ -3,6 +3,10 @@ // (https://github.com/tidoust/reffy-reports) // Source: WebXR Device API (https://immersive-web.github.io/webxr/) +partial interface Navigator { + [SecureContext, SameObject] readonly attribute XR xr; +}; + [SecureContext, Exposed=Window] interface XR : EventTarget { // Methods Promise supportsSessionMode(XRSessionMode mode); @@ -12,11 +16,6 @@ attribute EventHandler ondevicechange; }; -[SecureContext] -partial interface Navigator { - [SameObject] readonly attribute XR xr; -}; - enum XREnvironmentBlendMode { "opaque", "additive", diff --git a/tests/wpt/web-platform-tests/screen-orientation/event-before-promise.html b/tests/wpt/web-platform-tests/screen-orientation/event-before-promise.html new file mode 100644 index 00000000000..d876b0c8873 --- /dev/null +++ b/tests/wpt/web-platform-tests/screen-orientation/event-before-promise.html @@ -0,0 +1,23 @@ + + + + + + diff --git a/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-invalid.svg b/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-invalid.svg index 7a25a1ec0e6..5938ae830d5 100644 --- a/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-invalid.svg +++ b/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-invalid.svg @@ -2,10 +2,10 @@ - SVG Geometry Properties: parsing rx with invalid values + SVG Geometry Properties: parsing ry with invalid values - + @@ -13,10 +13,10 @@ diff --git a/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-valid.svg b/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-valid.svg index e92e2cf6410..178c0c007d6 100644 --- a/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-valid.svg +++ b/tests/wpt/web-platform-tests/svg/geometry/parsing/ry-valid.svg @@ -2,10 +2,10 @@ - SVG Geometry Properties: parsing rx with valid values + SVG Geometry Properties: parsing ry with valid values - + @@ -13,13 +13,13 @@ diff --git a/tests/wpt/web-platform-tests/tools/ci/before_install.sh b/tests/wpt/web-platform-tests/tools/ci/before_install.sh old mode 100644 new mode 100755 diff --git a/tests/wpt/web-platform-tests/tools/ci/ci_built_diff.sh b/tests/wpt/web-platform-tests/tools/ci/ci_built_diff.sh index 81bf098f56a..709cc2aa7e6 100755 --- a/tests/wpt/web-platform-tests/tools/ci/ci_built_diff.sh +++ b/tests/wpt/web-platform-tests/tools/ci/ci_built_diff.sh @@ -1,3 +1,4 @@ +#!/bin/bash set -ex SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P) diff --git a/tests/wpt/web-platform-tests/tools/ci/ci_lint.sh b/tests/wpt/web-platform-tests/tools/ci/ci_lint.sh index fe8bbfb8cf9..bf98f209eba 100755 --- a/tests/wpt/web-platform-tests/tools/ci/ci_lint.sh +++ b/tests/wpt/web-platform-tests/tools/ci/ci_lint.sh @@ -1,3 +1,4 @@ +#!/bin/bash set -ex SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P) diff --git a/tests/wpt/web-platform-tests/tools/ci/ci_manifest.sh b/tests/wpt/web-platform-tests/tools/ci/ci_manifest.sh index 695fd457d13..7d0d5ca0418 100755 --- a/tests/wpt/web-platform-tests/tools/ci/ci_manifest.sh +++ b/tests/wpt/web-platform-tests/tools/ci/ci_manifest.sh @@ -1,3 +1,4 @@ +#!/bin/bash set -ex SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P) diff --git a/tests/wpt/web-platform-tests/tools/ci/lib.sh b/tests/wpt/web-platform-tests/tools/ci/lib.sh index 7c0b8253a90..8d5e6aef73b 100644 --- a/tests/wpt/web-platform-tests/tools/ci/lib.sh +++ b/tests/wpt/web-platform-tests/tools/ci/lib.sh @@ -1,5 +1,3 @@ -#!/bin/bash - hosts_fixup() { echo "travis_fold:start:hosts_fixup" echo "Rewriting hosts file" diff --git a/tests/wpt/web-platform-tests/tools/docker/start.sh b/tests/wpt/web-platform-tests/tools/docker/start.sh index bfc7e9960ab..0675a0af2da 100755 --- a/tests/wpt/web-platform-tests/tools/docker/start.sh +++ b/tests/wpt/web-platform-tests/tools/docker/start.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # This script is embedded in the docker image, and so the image must be updated when changes # to the script are made. To do this, assuming you have docker installed: # In tools/docker/ : @@ -8,7 +10,6 @@ # Update the `image` specified in the project's .taskcluster.yml file -#!/bin/bash set -ex REMOTE=${1:-https://github.com/web-platform-tests/wpt} diff --git a/tests/wpt/web-platform-tests/tools/manifest/update.py b/tests/wpt/web-platform-tests/tools/manifest/update.py old mode 100644 new mode 100755 diff --git a/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py b/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py index 07bcbd5876c..ba70ceb4e29 100644 --- a/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py +++ b/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # Copyright 2011, Google Inc. # All rights reserved. # diff --git a/tests/wpt/web-platform-tests/tools/wpt/browser.py b/tests/wpt/web-platform-tests/tools/wpt/browser.py index 8c573a82bde..5f711f47580 100644 --- a/tests/wpt/web-platform-tests/tools/wpt/browser.py +++ b/tests/wpt/web-platform-tests/tools/wpt/browser.py @@ -5,10 +5,13 @@ import shutil import stat import subprocess import tempfile +import urlparse from abc import ABCMeta, abstractmethod from datetime import datetime, timedelta from distutils.spawn import find_executable +import requests + from utils import call, get, untar, unzip uname = platform.uname() @@ -93,30 +96,28 @@ class Firefox(Browser): def install(self, dest=None, channel="nightly"): """Install Firefox.""" - branch = { - "nightly": "mozilla-central", - "beta": "mozilla-beta", - "stable": "mozilla-stable" - } - scraper = { - "nightly": "daily", - "beta": "release", - "stable": "release" - } - version = { - "stable": "latest", - "beta": "latest-beta", - "nightly": "latest" - } - - if channel not in branch: - raise ValueError("Unrecognised release channel: %s" % channel) - - from mozdownload import FactoryScraper import mozinstall - if self.platform is None: - raise ValueError("Unable to construct a valid Firefox package name for current platform") + product = { + "nightly": "firefox-nightly-latest-ssl", + "beta": "firefox-beta-latest-ssl", + "stable": "firefox-beta-latest-ssl" + } + + os_builds = { + ("linux", "x86"): "linux", + ("linux", "x86_64"): "linux64", + ("win", "x86"): "win", + ("win", "x86_64"): "win64", + ("macos", "x86_64"): "osx", + } + os_key = (self.platform, uname[4]) + + if channel not in product: + raise ValueError("Unrecognised release channel: %s" % channel) + + if os_key not in os_builds: + raise ValueError("Unsupported platform: %s %s" % os_key) if dest is None: # os.getcwd() doesn't include the venv path @@ -124,17 +125,35 @@ class Firefox(Browser): dest = os.path.join(dest, "browsers", channel) - scraper = FactoryScraper(scraper[channel], - branch=branch[channel], - version=version[channel], - destination=dest) + if not os.path.exists(dest): + os.makedirs(dest) - self.logger.info("Downloading Firefox from %s" % scraper.url) + url = "https://download.mozilla.org/?product=%s&os=%s&lang=en-US" % (product[channel], + os_builds[os_key]) + self.logger.info("Downloading Firefox from %s" % url) + resp = requests.get(url) - filename = scraper.download() + filename = None + + content_disposition = resp.headers.get('content-disposition') + if content_disposition: + filenames = re.findall("filename=(.+)", content_disposition) + if filenames: + filename = filenames[0] + + if not filename: + filename = urlparse.urlsplit(resp.url).path.rsplit("/", 1)[1] + + if not filename: + filename = "firefox.tar.bz2" + + installer_path = os.path.join(dest, filename) + + with open(installer_path, "w") as f: + f.write(resp.content) try: - mozinstall.install(filename, dest) + mozinstall.install(installer_path, dest) except mozinstall.mozinstall.InstallError: if self.platform == "macos" and os.path.exists(os.path.join(dest, self.application_name.get(channel, "Firefox Nightly.app"))): # mozinstall will fail if nightly is already installed in the venv because @@ -144,7 +163,7 @@ class Firefox(Browser): else: raise - os.remove(filename) + os.remove(installer_path) return self.find_binary_path(dest) def find_binary_path(self,path=None, channel="nightly"): diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/requirements_firefox.txt b/tests/wpt/web-platform-tests/tools/wptrunner/requirements_firefox.txt index 0f2396afac1..656d57f4b20 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/requirements_firefox.txt +++ b/tests/wpt/web-platform-tests/tools/wptrunner/requirements_firefox.txt @@ -1,5 +1,5 @@ marionette_driver==2.7.0 -mozprofile==2.1.0 +mozprofile==2.2.0 mozprocess==1.0.0 mozcrash == 1.0 mozrunner==7.3.0 diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat old mode 100644 new mode 100755 diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/safari-prerun.sh b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/sauce_setup/safari-prerun.sh old mode 100644 new mode 100755 diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/formatters.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/formatters.py old mode 100755 new mode 100644 diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html index b69cb0e8125..3700bfa8ce8 100644 --- a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html @@ -26,7 +26,7 @@ // Experimentally determined thresholds. DO NOT relax these values // to far from these values to make the tests pass. const errorThreshold = 9.0957e-5; - const snrThreshold = 85.586; + const snrThreshold = 85.580; // Informative message should(sampleRate, 'Test 1: context.sampleRate')