[wpt-sync] Sync PR 53956 - Initial patchsrc support
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox143 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 53956 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/53956
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Initial patchsrc support
\<template patchfor=id patchsrc=url> fetches the resource from the url
(with CORS), and applies the content as a patch. The inline content of
the element is applied while fetching.Also fixed some exception code to use the correct constructors.
Bug: 431374376
Change-Id: I84efb9d3c6948c10403ff985c19388360ec13243
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6781096
Reviewed-by: Philip Jägenstedt \<foolip@chromium.org>
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1491392}
Assignee | ||
Updated•22 days ago
|
Assignee | ||
Comment 1•22 days ago
|
||
Assignee | ||
Comment 2•22 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 5 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 5
Chrome
OK
: 1
FAIL
: 5
Safari
OK
: 1
FAIL
: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/dom/partial-updates/tentative/patchsrc.html [wpt.fyi]
- patchsrc should load external content:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - patchsrc should reject with NotFound when external content is not found:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - patchsrc should fail when loading a cross-origin patch without CORS headers:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - patchsrc should work with the appropriate CORS headers:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - patchsrc should apply the inline content before the response arrives:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- patchsrc should load external content:
Comment 4•17 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/41b364df0cab
https://hg.mozilla.org/mozilla-central/rev/d727f2d6d807
Description
•