Auto merge of #27731 - servo-wpt-sync:wpt_update_02-11-2020, r=jdm

Sync WPT with upstream (02-11-2020)

Automated downstream sync of changes from upstream as of 02-11-2020.
[no-wpt-sync]
r? @servo-wpt-sync
This commit is contained in:
bors-servo 2020-11-02 13:26:40 -05:00 committed by GitHub
commit 071d1d8248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 150 additions and 97 deletions

View file

@ -1,2 +0,0 @@
[matchMedia-display-none-iframe.html]
expected: ERROR

View file

@ -0,0 +1,7 @@
[offsetTopLeft-border-box.html]
[container: 1]
expected: FAIL
[container: 0]
expected: FAIL

View file

@ -312,21 +312,9 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
@ -336,3 +324,12 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL

View file

@ -56,3 +56,9 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL
[separate text/javascript error]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_5.html]
[traverse_the_history_2.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,5 +0,0 @@
[opener-setter.html]
expected: TIMEOUT
[Auxiliary browsing context created via `window.open` and setting `window.opener` to `test` should report `test`]
expected: TIMEOUT

View file

@ -1,8 +1,8 @@
[embedded-opener-remove-frame.html]
expected: CRASH
expected: TIMEOUT
[opener of discarded nested browsing context]
expected: FAIL
[opener of discarded auxiliary browsing context]
expected: FAIL
expected: TIMEOUT

View file

@ -171,6 +171,3 @@
[XHTML img usemap="#hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_nonescaping-1.html]
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -1,4 +0,0 @@
[DOMContentLoaded-defer.html]
[The end: DOMContentLoaded and defer scripts]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

@ -3,6 +3,3 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -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

View file

@ -230,3 +230,9 @@
[X SNR (-143.8637454148876 dB) is not greater than or equal to 65.737. Got -143.8637454148876.]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.5998374299384865e+21\t9.3139332532882690e-1\t2.5998374299384865e+21\t2.7913421314465810e+21\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 2.5998374299384865e+21 at index of 28696.\n\tMax RelError of 2.7913421314465810e+21 at index of 28696.\n]
expected: FAIL
[X SNR (-384.8648378962337 dB) is not greater than or equal to 65.737. Got -384.8648378962337.]
expected: FAIL

View file

@ -1,4 +1,5 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -1,5 +0,0 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -183441,6 +183441,19 @@
{}
]
],
"text-align-justify-shy-001.html": [
"3d15488024eb693f7799a2e8322d0e777dcfa236",
[
null,
[
[
"/css/css-text/text-align/reference/text-align-justify-shy-ref-001.html",
"=="
]
],
{}
]
],
"text-align-justifyall-001.html": [
"7388826f065529a075a3ad4781aac5ba3e381692",
[
@ -246464,6 +246477,19 @@
{}
]
],
"reftest.www.sub.html": [
"ccffd98f43b73b067e88f7ce5d851876d4934236",
[
null,
[
[
"/infrastructure/reftest/green.html",
"=="
]
],
{}
]
],
"reftest_fuzzy_1.html": [
"1930fe0ae8fb1aee30e91e691fe6a73ccfc87d0e",
[
@ -318131,6 +318157,10 @@
"05531186ba8a5e78dda0218f835eedd86c092f18",
[]
],
"text-align-justify-shy-ref-001.html": [
"e7148ece536ea8928219464581e22e598a73b11e",
[]
],
"text-align-justifyall-ref-001.html": [
"bf55ad2252e4ef360927e29e326884418fc2044c",
[]
@ -367117,7 +367147,7 @@
[]
],
"wpttest.py": [
"e21041b6430a2661e437f3e4a9a73def63ee6f1b",
"ed9184ef5ecc69b42b2c4050ea07ccf471a312b1",
[]
]
},

View file

@ -1,2 +0,0 @@
[matchMedia-display-none-iframe.html]
expected: ERROR

View file

@ -0,0 +1,7 @@
[offsetTopLeft-border-box.html]
[container: 1]
expected: FAIL
[container: 0]
expected: FAIL

View file

@ -312,21 +312,9 @@
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
@ -336,3 +324,12 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL

View file

@ -56,3 +56,9 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL
[separate text/javascript error]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_5.html]
[traverse_the_history_2.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,5 +0,0 @@
[opener-setter.html]
expected: TIMEOUT
[Auxiliary browsing context created via `window.open` and setting `window.opener` to `test` should report `test`]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
expected: TIMEOUT
[opener and "removed" embedded documents]
expected: FAIL
@ -7,5 +7,5 @@
expected: FAIL
[opener of discarded auxiliary browsing context]
expected: FAIL
expected: TIMEOUT

View file

@ -172,6 +172,3 @@
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-1.html]
type: testharness
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -1,4 +0,0 @@
[DOMContentLoaded-defer.html]
[The end: DOMContentLoaded and defer scripts]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

@ -4,6 +4,3 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -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

View file

@ -458,3 +458,9 @@
[X SNR (-143.8637454148876 dB) is not greater than or equal to 65.737. Got -143.8637454148876.]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t2.5998374299384865e+21\t9.3139332532882690e-1\t2.5998374299384865e+21\t2.7913421314465810e+21\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 2.5998374299384865e+21 at index of 28696.\n\tMax RelError of 2.7913421314465810e+21 at index of 28696.\n]
expected: FAIL
[X SNR (-384.8648378962337 dB) is not greater than or equal to 65.737. Got -384.8648378962337.]
expected: FAIL

View file

@ -1,4 +1,5 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -1,5 +0,0 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -1,4 +0,0 @@
[hit_test_pos_fixed.html]
[Hit-test of an element with position: fixed should discard scroll offset]
expected: FAIL

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<style>
div {
text-align: justify;
width: 10ch;
}
</style>
<div>abc def ghijkl</div>
<div>abc def ghijkl</div>
<div>abc def ghijkl</div>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<title>text-align: justify with soft-hyphens</title>
<link rel='author' title='Koji Ishii' href='mailto:kojii@chromium.org'>
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
<link rel='match' href='reference/text-align-justify-shy-ref-001.html'>
<style>
div {
text-align: justify;
width: 10ch;
}
</style>
<div>abc def ghijkl</div>
<div>ab&shy;c def ghijkl</div>
<div>ab<span>&shy;</span>c def ghijkl</div>

View file

@ -0,0 +1,10 @@
<title>Tests that reftests obey the 'www' file-flag</title>
<link rel=match href=green.html>
<style>
:root {background-color:red}
</style>
<script>
if (location.hostname === "{{domains[www]}}") {
document.documentElement.style.backgroundColor = "green";
}
</script>

View file

@ -464,9 +464,9 @@ class ReftestTest(Test):
def __init__(self, url_base, tests_root, url, inherit_metadata, test_metadata, references,
timeout=None, path=None, viewport_size=None, dpi=None, fuzzy=None,
protocol="http", quic=False):
protocol="http", subdomain=False, quic=False):
Test.__init__(self, url_base, tests_root, url, inherit_metadata, test_metadata, timeout,
path, protocol, quic)
path, protocol, subdomain, quic)
for _, ref_type in references:
if ref_type not in ("==", "!="):
@ -504,6 +504,7 @@ class ReftestTest(Test):
[],
timeout=timeout,
path=manifest_test.path,
subdomain=manifest_test.subdomain,
quic=quic,
**cls.cls_kwargs(manifest_test))
@ -622,10 +623,10 @@ class PrintReftestTest(ReftestTest):
def __init__(self, url_base, tests_root, url, inherit_metadata, test_metadata, references,
timeout=None, path=None, viewport_size=None, dpi=None, fuzzy=None,
page_ranges=None, protocol="http", quic=False):
page_ranges=None, protocol="http", subdomain=False, quic=False):
super(PrintReftestTest, self).__init__(url_base, tests_root, url, inherit_metadata, test_metadata,
references, timeout, path, viewport_size, dpi,
fuzzy, protocol, quic=quic)
fuzzy, protocol, subdomain=subdomain, quic=quic)
self._page_ranges = page_ranges
@classmethod