Update web-platform-tests to revision 95b19d0b902505286b705a71fe44fc8aa8fb608e

This commit is contained in:
WPT Sync Bot 2021-01-03 08:19:33 +00:00
parent 0275374125
commit fd709f9362
48 changed files with 147 additions and 151 deletions

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

@ -315,12 +315,15 @@
[<iframe>: separate 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 */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

View file

@ -53,6 +53,6 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
[separate text/javascript x/x]
expected: FAIL

View file

@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
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,2 +0,0 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

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

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.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,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,4 @@
[iframe_sandbox_popups_escaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -11,24 +11,12 @@
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type url: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type url: select() a second time (must not fire select)]
expected: FAIL
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
@ -38,12 +26,6 @@
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
@ -53,15 +35,27 @@
[input type search: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type text: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd out of range a second time (must not fire select)]
[input type password: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection a second time (must not fire select)]
expected: FAIL

View file

@ -1,4 +0,0 @@
[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

@ -473,3 +473,9 @@
[X SNR (-240.167334009936 dB) is not greater than or equal to 65.737. Got -240.167334009936.]
expected: FAIL
[X SNR (-336.49525554433177 dB) is not greater than or equal to 65.737. Got -336.49525554433177.]
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\]\t-9.9189813667021455e+18\t9.3139332532882690e-1\t9.9189813667021455e+18\t1.0649616114867761e+19\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 9.9189813667021455e+18 at index of 28696.\n\tMax RelError of 1.0649616114867761e+19 at index of 28696.\n]
expected: FAIL

View file

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

View file

@ -341682,11 +341682,11 @@
[]
],
"navigate-none.sub.html": [
"1008f70ff123ae5e507a95ac4f16d32bbb74c983",
"c4fb3f4afbdeeb88b450ddedefb364ead394a746",
[]
],
"navigate-require-corp-same-site.sub.html": [
"9a0ebe544a0e5f09ba3f1b0790e052e96d81a6fc",
"910317d29b5235acb8f50c2b322079b37b6555d1",
[]
],
"navigate-require-corp-same-site.sub.html.headers": [
@ -341694,7 +341694,7 @@
[]
],
"navigate-require-corp.sub.html": [
"d4b38bc1a10003f8adc0e62224c5d3378638fb4f",
"0a3c4dd8d723dc218c9804d6a3b1e73c25a23cfd",
[]
],
"navigate-require-corp.sub.html.headers": [
@ -352789,7 +352789,7 @@
]
},
"lint.ignore": [
"b571175fbdf5fc009fe58ea31f57fa136179d682",
"b8f22011a155c1003a8bbe177e6ad0a1cd186b19",
[]
],
"loading": {
@ -479149,7 +479149,7 @@
]
],
"none.https.html": [
"24b1fce1764d74a01c4eeb21c3d9e05de1bb12ba",
"3e61e11b61cf7cdef5d98a6a60a59207b3689b5c",
[
null,
{

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

@ -315,12 +315,15 @@
[<iframe>: separate 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 */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

View file

@ -53,6 +53,6 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
[separate text/javascript x/x]
expected: FAIL

View file

@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
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,2 +0,0 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
expected: TIMEOUT
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-1.html]
type: testharness
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,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,6 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -11,24 +11,12 @@
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type url: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type url: select() a second time (must not fire select)]
expected: FAIL
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
@ -38,12 +26,6 @@
[input type password: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange() a second time (must not fire select)]
expected: FAIL
@ -53,15 +35,27 @@
[input type search: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type text: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd out of range a second time (must not fire select)]
[input type password: selectionStart a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type password: selectionDirection a second time (must not fire select)]
expected: FAIL

View file

@ -1,4 +0,0 @@
[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

@ -701,3 +701,9 @@
[X SNR (-240.167334009936 dB) is not greater than or equal to 65.737. Got -240.167334009936.]
expected: FAIL
[X SNR (-336.49525554433177 dB) is not greater than or equal to 65.737. Got -336.49525554433177.]
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\]\t-9.9189813667021455e+18\t9.3139332532882690e-1\t9.9189813667021455e+18\t1.0649616114867761e+19\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 9.9189813667021455e+18 at index of 28696.\n\tMax RelError of 1.0649616114867761e+19 at index of 28696.\n]
expected: FAIL

View file

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

View file

@ -11,7 +11,6 @@ const HOST = get_host_info();
const BASE = new URL("resources", location).pathname;
async_test(t => {
t.step_timeout(t.unreached_func('timeout'), 10 * 1000);
const frame = document.createElement("iframe");
t.add_cleanup(() => frame.remove());
frame.onload = t.step_func_done(() => {
@ -23,7 +22,6 @@ async_test(t => {
}, `"none" top-level: navigating a frame to "none" should succeed`);
async_test(t => {
t.step_timeout(t.unreached_func('timeout'), 10 * 1000);
const frame = document.createElement("iframe");
t.add_cleanup(() => frame.remove());
const blank = "/common/blank.html";
@ -44,19 +42,37 @@ async_test(t => {
}, `"none" top-level: navigating a frame from "require-corp" to "none" should succeed`);
async_test(t => {
t.step_timeout(t.unreached_func('timeout'), 10 * 1000);
const w = window.open(`resources/navigate-none.sub.html?to=navigate-require-corp.sub.html`, "window_name");
t.add_cleanup(() => w.close());
Promise.resolve().then(async () => {
const bc = new BroadcastChannel(token());
const futureMessage = () => {
return new Promise(resolve => {
bc.onmessage = event => resolve(event.data);
});
};
const prefix = document.URL.substr(0, document.URL.lastIndexOf('/'))
const attribute = `?channelName=${bc.name}`;
const url_1 = prefix + "/resources/navigate-none.sub.html" + attribute;
const url_2 = prefix + "/resources/navigate-require-corp.sub.html" + attribute;
const w = window.open(url_1, "window_name");
t.add_cleanup(() => w.close());
assert_equals(await futureMessage(), "loaded");
assert_equals(w.location.href, url_1);
w.location.href = url_2;
assert_equals(await futureMessage(), "loaded");
assert_equals(w.location.href, url_2);
w.onload = t.step_func(() => {
assert_true(w.location.href.endsWith("?to=navigate-require-corp.sub.html"));
w.history.back();
t.step_wait_func_done(() => w.location.href.endsWith("/navigate-require-corp.sub.html"));
});
assert_equals(await futureMessage(), "loaded");
assert_equals(w.location.href, url_1);
t.done();
}).catch((e) => t.unreached_func(e));
}, `"none" top-level: navigating a frame back from "require-corp" should succeed`);
async_test(t => {
t.step_timeout(t.unreached_func('timeout'), 10 * 1000);
let pageLoaded = false;
const bc = new BroadcastChannel(token());
let finished = false;
@ -87,7 +103,6 @@ async_test(t => {
}, `"require-corp" top-level noopener popup: navigating to "none" should succeed`);
async_test(t => {
t.step_timeout(t.unreached_func('timeout'), 10 * 1000);
const frame = document.createElement("iframe");
const id = token();
t.add_cleanup(() => frame.remove());

View file

@ -6,13 +6,19 @@
current.search = "";
if (navigateTo) {
let next = new URL(navigateTo, current);
setTimeout(() => {
window.location = next.href;
}, 50);
window.addEventListener("load", () => {
window.location.href = next.href;
});
}
if (channelName) {
let bc = new BroadcastChannel(channelName);
bc.postMessage("loaded");
// The page can also be restored from the back-forward cache:
window.addEventListener('pageshow', function(event) {
if (event.persisted)
bc.postMessage("loaded");
});
}
</script>

View file

@ -13,9 +13,9 @@
current.search = "";
if (navigateTo) {
let next = new URL(navigateTo, current);
setTimeout(() => {
window.addEventListener("load", () => {
window.location = next.href;
}, 50);
});
}
if (channelName) {

View file

@ -12,9 +12,9 @@
current.search = "";
if (navigateTo) {
let next = new URL(navigateTo, current);
setTimeout(() => {
window.location = next.href;
}, 50);
window.addEventListener("load", () => {
window.location.href = next.href;
});
}
if (channelName) {

View file

@ -300,9 +300,6 @@ SET TIMEOUT: document-policy/font-display/override-to-optional.tentative.html
SET TIMEOUT: feature-policy/experimental-features/resources/focus-without-user-activation-iframe-tentative.html
SET TIMEOUT: permissions-policy/experimental-features/resources/focus-without-user-activation-iframe-tentative.html
SET TIMEOUT: html/browsers/windows/auxiliary-browsing-contexts/resources/close-opener.html
SET TIMEOUT: html/cross-origin-embedder-policy/resources/navigate-none.sub.html
SET TIMEOUT: html/cross-origin-embedder-policy/resources/navigate-require-corp.sub.html
SET TIMEOUT: html/cross-origin-embedder-policy/resources/navigate-require-corp-same-site.sub.html
SET TIMEOUT: html/cross-origin-embedder-policy/resources/reporting-worker.js
SET TIMEOUT: html/dom/documents/dom-tree-accessors/Document.currentScript.html
SET TIMEOUT: html/webappapis/timers/*