mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Auto merge of #25620 - servo-wpt-sync:wpt_update_27-01-2020, r=servo-wpt-sync
Sync WPT with upstream (27-01-2020) Automated downstream sync of changes from upstream as of 27-01-2020. [no-wpt-sync] r? @servo-wpt-sync
This commit is contained in:
commit
da31405785
17 changed files with 95 additions and 23 deletions
|
@ -294938,6 +294938,12 @@
|
||||||
"workers/constructors/SharedWorker/1.headers": [
|
"workers/constructors/SharedWorker/1.headers": [
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
|
"workers/constructors/SharedWorker/Infinity": [
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"workers/constructors/SharedWorker/NaN": [
|
||||||
|
[]
|
||||||
|
],
|
||||||
"workers/constructors/SharedWorker/connect-event.js": [
|
"workers/constructors/SharedWorker/connect-event.js": [
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
|
@ -449480,6 +449486,18 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"workers/constructors/SharedWorker/Infinity-arguments.html": [
|
||||||
|
[
|
||||||
|
"workers/constructors/SharedWorker/Infinity-arguments.html",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"workers/constructors/SharedWorker/NaN-arguments.html": [
|
||||||
|
[
|
||||||
|
"workers/constructors/SharedWorker/NaN-arguments.html",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"workers/constructors/SharedWorker/URLMismatchError.htm": [
|
"workers/constructors/SharedWorker/URLMismatchError.htm": [
|
||||||
[
|
[
|
||||||
"workers/constructors/SharedWorker/URLMismatchError.htm",
|
"workers/constructors/SharedWorker/URLMismatchError.htm",
|
||||||
|
@ -751184,6 +751202,22 @@
|
||||||
"e7ec0d6699d07e5b13d0cb6f24c3639258fccdaa",
|
"e7ec0d6699d07e5b13d0cb6f24c3639258fccdaa",
|
||||||
"support"
|
"support"
|
||||||
],
|
],
|
||||||
|
"workers/constructors/SharedWorker/Infinity": [
|
||||||
|
"d4c921c5658e6798ec56b06f513413572aab846a",
|
||||||
|
"support"
|
||||||
|
],
|
||||||
|
"workers/constructors/SharedWorker/Infinity-arguments.html": [
|
||||||
|
"b38e55dc6bae2a64476676bcce9ace2e1a15dc8a",
|
||||||
|
"testharness"
|
||||||
|
],
|
||||||
|
"workers/constructors/SharedWorker/NaN": [
|
||||||
|
"1d06329788c3a6fd7480f462a9d1ded231356962",
|
||||||
|
"support"
|
||||||
|
],
|
||||||
|
"workers/constructors/SharedWorker/NaN-arguments.html": [
|
||||||
|
"8a4578a965a36cdf34a9231a6345e7b2f39994e6",
|
||||||
|
"testharness"
|
||||||
|
],
|
||||||
"workers/constructors/SharedWorker/URLMismatchError.htm": [
|
"workers/constructors/SharedWorker/URLMismatchError.htm": [
|
||||||
"e1a11f4f8fe701365c89f9799794616975c39764",
|
"e1a11f4f8fe701365c89f9799794616975c39764",
|
||||||
"testharness"
|
"testharness"
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[elementFromPoint-001.html]
|
|
||||||
[CSSOM View - 5 - extensions to the Document interface]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -312,18 +312,18 @@
|
||||||
[fetch(): separate response Content-Type: text/plain ]
|
[fetch(): separate response Content-Type: text/plain ]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: */* text/html]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html */*]
|
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
[<iframe>: separate response Content-Type: text/plain */*]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -11,3 +11,12 @@
|
||||||
[X-Content-Type-Options%3A%20nosniff%0C]
|
[X-Content-Type-Options%3A%20nosniff%0C]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[X-Content-Type-Options%3A%20%22nosniFF%22]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Content-Type-Options%3A%20nosniff]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Embedded credentials are treated as network errors in frames.]
|
[Embedded credentials are treated as network errors in frames.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[Embedded credentials are treated as network errors in new windows.]
|
[Embedded credentials are treated as network errors in new windows.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[traverse_the_history_1.html]
|
||||||
|
[Multiple history traversals from the same task]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[traverse_the_history_2.html]
|
[traverse_the_history_5.html]
|
||||||
[Multiple history traversals, last would be aborted]
|
[Multiple history traversals, last would be aborted]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[embedded-opener-remove-frame.html]
|
[embedded-opener-remove-frame.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[opener and "removed" embedded documents]
|
[opener and "removed" embedded documents]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[opener of discarded auxiliary browsing context]
|
[opener of discarded auxiliary browsing context]
|
||||||
expected: FAIL
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[iframe_sandbox_popups_escaping-3.html]
|
[iframe_sandbox_popups_escaping-3.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[iframe_sandbox_popups_nonescaping-3.html]
|
[iframe_sandbox_popups_nonescaping-3.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: FAIL
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,3 @@
|
||||||
[Verifies the resolution of entry.startTime is at least 20 microseconds.]
|
[Verifies the resolution of entry.startTime is at least 20 microseconds.]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
[Verifies the resolution of performance.now() is at least 5 microseconds.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[crossorigin-sandwich-TAO.sub.html]
|
[crossorigin-sandwich-TAO.sub.html]
|
||||||
|
expected: ERROR
|
||||||
[There should be one entry.]
|
[There should be one entry.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[005.html]
|
[005.html]
|
||||||
expected: ERROR
|
|
||||||
[dedicated worker in shared worker in dedicated worker]
|
[dedicated worker in shared worker in dedicated worker]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
onconnect = e => {
|
||||||
|
e.ports[0].postMessage(['Infinity', self.name]);
|
||||||
|
};
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Infinity as arguments</title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script>
|
||||||
|
async_test(t => {
|
||||||
|
const worker = new SharedWorker(Infinity, Infinity);
|
||||||
|
worker.port.onmessage = t.step_func_done(e => {
|
||||||
|
assert_equals(e.data[0], 'Infinity', 'first arg (script name)');
|
||||||
|
assert_equals(e.data[1], 'Infinity', 'second arg (worker name)');
|
||||||
|
});
|
||||||
|
}, 'Test constructing a shared worker with Infinity');
|
||||||
|
</script>
|
|
@ -0,0 +1,3 @@
|
||||||
|
onconnect = e => {
|
||||||
|
e.ports[0].postMessage(['NaN', self.name]);
|
||||||
|
};
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>NaN as arguments</title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script>
|
||||||
|
async_test(t => {
|
||||||
|
const worker = new SharedWorker(NaN, NaN);
|
||||||
|
worker.port.onmessage = t.step_func_done(e => {
|
||||||
|
assert_equals(e.data[0], 'NaN', 'first arg (script name)');
|
||||||
|
assert_equals(e.data[1], 'NaN', 'second arg (worker name)');
|
||||||
|
});
|
||||||
|
}, 'Test constructing a shared worker with NaN');
|
||||||
|
</script>
|
Loading…
Add table
Add a link
Reference in a new issue