diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-12-27 08:53:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-27 08:53:57 -0500 |
commit | a0c99d2327b46c01191aae0453782ec7739c9ac2 (patch) | |
tree | 26f0307457b0159438b08c29a8c0e22c0ffc5407 | |
parent | 44b3e8bb7139f9599385b348d19d4dce556c9ea8 (diff) | |
parent | 49284290305a46d01d9ada88ebc95eb5169ab17f (diff) | |
download | servo-a0c99d2327b46c01191aae0453782ec7739c9ac2.tar.gz servo-a0c99d2327b46c01191aae0453782ec7739c9ac2.zip |
Auto merge of #25398 - servo-wpt-sync:wpt_update_27-12-2019, r=servo-wpt-sync
Sync WPT with upstream (27-12-2019)
Automated downstream sync of changes from upstream as of 27-12-2019.
[no-wpt-sync]
r? @servo-wpt-sync
14 files changed, 29 insertions, 35 deletions
diff --git a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini index 4c1aa18e695..abf0d50aff3 100644 --- a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini @@ -2,9 +2,6 @@ [Revoke blob URL after creating Request, will fetch] expected: FAIL - [Revoke blob URL after calling fetch, fetch should succeed] - expected: FAIL - [url-with-fetch.any.html] [Revoke blob URL after creating Request, will fetch] diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 54d0ebbc3ff..39991835803 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -715658,7 +715658,7 @@ "support" ], "tools/wptrunner/wptrunner/browsers/firefox.py": [ - "0f8075337813783c76e4be4dec9cc931a4252c41", + "b6ee0f4998e9a2189cfca99b3cce1a6b11ea858c", "support" ], "tools/wptrunner/wptrunner/browsers/firefox_android.py": [ @@ -716050,7 +716050,7 @@ "support" ], "tools/wptrunner/wptrunner/wpttest.py": [ - "4cbaedcdb0163776dfcf55d13afca4cdba05dc92", + "d650e98dfbf5976afa0138f0ac166e950e194e82", "support" ], "tools/wptserve/.gitignore": [ diff --git a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini index c884dc82eab..628b1fab770 100644 --- a/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini +++ b/tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-removeListener.html.ini @@ -2,6 +2,3 @@ [listeners are called when <iframe> is resized] expected: FAIL - [listeners are called correct number of times] - expected: FAIL - 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 a46dd474941..5db729456de 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,12 +312,15 @@ [<iframe>: combined response Content-Type: text/html;x=" text/plain] expected: FAIL - [<iframe>: combined response Content-Type: text/html;" text/plain] + [<iframe>: separate response Content-Type: text/html;x=" text/plain] expected: FAIL - [<iframe>: combined response Content-Type: text/html */*;charset=gbk] + [<iframe>: combined response Content-Type: text/html */*] expected: FAIL - [<iframe>: separate response Content-Type: text/html;x=" text/plain] + [<iframe>: combined response Content-Type: text/html;" \\" text/plain] + expected: FAIL + + [<iframe>: separate response Content-Type: text/html;" \\" text/plain] expected: FAIL diff --git a/tests/wpt/metadata/fetch/content-type/script.window.js.ini b/tests/wpt/metadata/fetch/content-type/script.window.js.ini index d2df9b78483..2d5faa72ac7 100644 --- a/tests/wpt/metadata/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/script.window.js.ini @@ -53,6 +53,6 @@ [combined text/javascript ] expected: FAIL - [separate text/javascript x/x] + [separate text/javascript;charset=windows-1252 error text/javascript] expected: FAIL diff --git a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini index ce73518c20a..b7052af5b5c 100644 --- a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini +++ b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini @@ -11,9 +11,6 @@ [X-Content-Type-Options%3A%20nosniff%0C] expected: FAIL - [X-Content-Type-Options%3A%20'NosniFF'] - expected: FAIL - - [X-Content-Type-Options%3A%20%2Cnosniff] + [X-Content-Type-Options%3A%0D%0AX-Content-Type-Options%3A%20nosniff] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini new file mode 100644 index 00000000000..51f8272a6de --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_3.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.html.ini b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.html.ini index c12c0f8ae48..6852d7663de 100644 --- a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.html.ini +++ b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.html.ini @@ -1,4 +1,8 @@ [skip-document-with-fragment.html] + expected: TIMEOUT [Autofocus elements in iframed documents with URL fragments should be skipped.] expected: FAIL + [Autofocus elements in top-level browsing context's documents with URI fragments should be skipped.] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/semantics/scripting-1/the-script-element/execution-timing/077.html.ini b/tests/wpt/metadata/html/semantics/scripting-1/the-script-element/execution-timing/077.html.ini new file mode 100644 index 00000000000..bcd2fd0eab8 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/scripting-1/the-script-element/execution-timing/077.html.ini @@ -0,0 +1,4 @@ +[077.html] + [ adding several types of scripts through the DOM and removing some of them confuses scheduler ] + expected: FAIL + diff --git a/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini b/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini index 6d08beab111..97f8a0cc51f 100644 --- a/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini +++ b/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini @@ -10,3 +10,6 @@ [Verifies the resolution of entry.startTime is at least 20 microseconds.] expected: TIMEOUT + [Verifies the resolution of performance.now() is at least 5 microseconds.] + expected: FAIL + diff --git a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini new file mode 100644 index 00000000000..80f9a4f15b8 --- /dev/null +++ b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini @@ -0,0 +1,2 @@ +[Worker-constructor.html] + expected: ERROR diff --git a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini index f584fce5df1..268949ced5c 100644 --- a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini +++ b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini @@ -1,5 +1,4 @@ [005.html] - expected: ERROR [dedicated worker in shared worker in dedicated worker] expected: FAIL diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py index 0f807533781..b6ee0f4998e 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/browsers/firefox.py @@ -168,17 +168,13 @@ def run_info_extras(**kwargs): "wasm": kwargs.get("wasm", True), "verify": kwargs["verify"], "headless": kwargs.get("headless", False) or "MOZ_HEADLESS" in os.environ, + "sw-e10s": True, "fission": get_bool_pref("fission.autostart")} # The value of `sw-e10s` defaults to whether the "parent_intercept" # implementation is enabled for the current build. This value, however, # can be overridden by explicitly setting the pref with the `--setpref` CLI - # flag, which is checked here. If not supplied, the default value of - # `sw-e10s` will be filled in in `RunInfo`'s constructor. - # - # We can't capture the default value right now because (currently), it - # defaults to the value of `nightly_build`, which isn't known until - # `RunInfo`'s constructor. + # flag, which is checked here. sw_e10s_override = get_bool_pref_if_exists("dom.serviceWorkers.parent_intercept") if sw_e10s_override is not None: rv["sw-e10s"] = sw_e10s_override diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wpttest.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wpttest.py index 4cbaedcdb01..d650e98dfbf 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wpttest.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wpttest.py @@ -119,18 +119,6 @@ class RunInfo(dict): if extras is not None: self.update(extras) - # Until the test harness can understand default pref values, - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1577912) this value - # should by synchronized with the default pref value indicated in - # StaticPrefList.yaml. - # - # Currently for automation, the pref (and `sw-e10s`) defaults to true in - # nightly builds and false otherwise but can be overridden with - # `--setpref`. If overridden, the value would be initialized in - # `run_info_extras` and be supplied in the `extras` parameter. - if "sw-e10s" not in self: - self["sw-e10s"] = self.get("nightly_build", False) - self["headless"] = extras.get("headless", False) self["webrender"] = enable_webrender |