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:
Servo WPT Sync 2025-08-17 03:49:38 +02:00 committed by GitHub
parent 389277fa72
commit fbf0eb11a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 39 additions and 46 deletions

View file

@ -834187,7 +834187,7 @@
] ]
], ],
"trusted-types-reporting-for-Element-outerHTML.html": [ "trusted-types-reporting-for-Element-outerHTML.html": [
"a5fcb2d24f04826dafb6f133be08f0e3e83becaa", "350d00a91f3215381dd16da17c6e34bdc031460e",
[ [
null, null,
{} {}

View file

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

View file

@ -0,0 +1,3 @@
[same-document-refresh.html]
[Same-Document Referrer from Refresh]
expected: FAIL

View file

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

View file

@ -1,2 +0,0 @@
[canvas.2d.disconnected.html]
expected: FAIL

View file

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

View file

@ -1,4 +0,0 @@
[reparent-form-during-planned-navigation-task.html]
expected: TIMEOUT
[reparent-form-during-planned-navigation-task]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[historical.html]
[<input name=isindex> should not be supported]
expected: FAIL

View file

@ -1,2 +0,0 @@
[disabled-003.html]
expected: CRASH

View file

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

View file

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

View file

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

View file

@ -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.");

View file

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