mirror of
https://github.com/servo/servo.git
synced 2025-08-26 23:58:20 +01:00
Sync WPT with upstream (17-08-2025) (#38721)
Automated downstream sync of changes from upstream as of 17-08-2025 [no-wpt-sync] Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
This commit is contained in:
parent
389277fa72
commit
fbf0eb11a2
14 changed files with 39 additions and 46 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -834187,7 +834187,7 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"trusted-types-reporting-for-Element-outerHTML.html": [
|
"trusted-types-reporting-for-Element-outerHTML.html": [
|
||||||
"a5fcb2d24f04826dafb6f133be08f0e3e83becaa",
|
"350d00a91f3215381dd16da17c6e34bdc031460e",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
{}
|
{}
|
||||||
|
|
|
@ -2,8 +2,5 @@
|
||||||
[Navigating to a different document with window.open]
|
[Navigating to a different document with window.open]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Navigating to a different document with form submission]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Navigating to a different document with link click]
|
[Navigating to a different document with link click]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[same-document-refresh.html]
|
||||||
|
[Same-Document Referrer from Refresh]
|
||||||
|
expected: FAIL
|
|
@ -1,7 +1,6 @@
|
||||||
[form-submit.html]
|
[form-submit.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[Replace before load, triggered by formElement.submit()]
|
[Replace before load, triggered by formElement.submit()]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Replace before load, triggered by same-document formElement.submit()]
|
[Replace before load, triggered by same-document formElement.submit()]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[canvas.2d.disconnected.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +1,4 @@
|
||||||
[iframe_sandbox_popups_escaping-1.html]
|
[iframe_sandbox_popups_escaping-1.html]
|
||||||
|
expected: TIMEOUT
|
||||||
[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: FAIL
|
expected: TIMEOUT
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[reparent-form-during-planned-navigation-task.html]
|
|
||||||
expected: TIMEOUT
|
|
||||||
[reparent-form-during-planned-navigation-task]
|
|
||||||
expected: TIMEOUT
|
|
3
tests/wpt/meta/html/semantics/forms/historical.html.ini
vendored
Normal file
3
tests/wpt/meta/html/semantics/forms/historical.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[historical.html]
|
||||||
|
[<input name=isindex> should not be supported]
|
||||||
|
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
||||||
[disabled-003.html]
|
|
||||||
expected: CRASH
|
|
|
@ -56,26 +56,23 @@
|
||||||
[MIME-blocked-nosniff (script): main]
|
[MIME-blocked-nosniff (script): main]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[success (script): main]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CORS (xhr): main]
|
[CORS (xhr): main]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[success (xhr): main]
|
[success (xhr): main]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[404 (style): main]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[CORS (style): main]
|
[CORS (style): main]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[success (style): main]
|
[success (style): main]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[404 (xhr): main]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Decode-error (script): main]
|
[Decode-error (script): main]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[404 (script): main]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[CORS (script): main]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -108,21 +108,6 @@
|
||||||
[Window interface: attribute caches]
|
[Window interface: attribute caches]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[ServiceWorkerContainer interface: operation register((TrustedScriptURL or USVString), optional RegistrationOptions)]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[NavigationPreloadManager interface: operation enable()]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[NavigationPreloadManager interface: operation disable()]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[NavigationPreloadManager interface: operation setHeaderValue(ByteString)]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[NavigationPreloadManager interface: operation getState()]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
|
|
||||||
[idlharness.https.any.serviceworker.html]
|
[idlharness.https.any.serviceworker.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
expected: CRASH
|
expected: CRASH
|
||||||
|
|
||||||
[trusted-types-navigation.html?06-10]
|
[trusted-types-navigation.html?06-10]
|
||||||
expected: TIMEOUT
|
expected: CRASH
|
||||||
[Navigate a frame via anchor with javascript:-urls w/ default policy in enforcing mode.]
|
[Navigate a frame via anchor with javascript:-urls w/ default policy in enforcing mode.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -10,15 +10,19 @@
|
||||||
const input = `<p>${'A'.repeat(100)}</p>`;
|
const input = `<p>${'A'.repeat(100)}</p>`;
|
||||||
|
|
||||||
promise_test(async t => {
|
promise_test(async t => {
|
||||||
await no_trusted_type_violation_for(_ =>
|
await no_trusted_type_violation_for(_ => {
|
||||||
document.createElement("div").outerHTML = policy.createHTML(input)
|
const div = document.createElement("div");
|
||||||
);
|
document.createElement("div").appendChild(div);
|
||||||
|
div.outerHTML = policy.createHTML(input)
|
||||||
|
});
|
||||||
}, "No violation reported for TrustedHTML.");
|
}, "No violation reported for TrustedHTML.");
|
||||||
|
|
||||||
promise_test(async t => {
|
promise_test(async t => {
|
||||||
let violation = await trusted_type_violation_for(TypeError, _ =>
|
let violation = await trusted_type_violation_for(TypeError, _ => {
|
||||||
document.createElement("div").outerHTML = input
|
const div = document.createElement("div");
|
||||||
);
|
document.createElement("div").appendChild(div);
|
||||||
|
div.outerHTML = input
|
||||||
|
});
|
||||||
assert_equals(violation.blockedURI, "trusted-types-sink");
|
assert_equals(violation.blockedURI, "trusted-types-sink");
|
||||||
assert_equals(violation.sample, `Element outerHTML|${clipSampleIfNeeded(input)}`);
|
assert_equals(violation.sample, `Element outerHTML|${clipSampleIfNeeded(input)}`);
|
||||||
}, "Violation report for plain string.");
|
}, "Violation report for plain string.");
|
||||||
|
|
|
@ -73,3 +73,15 @@
|
||||||
|
|
||||||
[WebGL test #67]
|
[WebGL test #67]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[WebGL test #77]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[WebGL test #79]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[WebGL test #81]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[WebGL test #83]
|
||||||
|
expected: FAIL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue