[wpt-sync] Sync PR 34049 - Async clipboard APIs should not trigger image loading
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 34049 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34049
Details from upstream follow.
Xiaocheng Hu <xiaochengh@chromium.org> wrote:
Async clipboard APIs should not trigger image loading
Async clipboard APIs sanitizes the raw markup mostly in a dummy
document, but in the last step, creates a DocumentFragment in the
real document and re-serialize for URL completion. The last step
triggers image loading because the image elements are now owned by
the real document.This patch changes the APIs to do the entire job in the dummy
document so that we don't start image loading.Fixed: 1315560
Change-Id: Id8e318e3b0b0aa43bc6add557d70d355e88dec40Reviewed-on: https://chromium-review.googlesource.com/3631266
WPT-Export-Revision: e1a02cf759f7d7b6f45650eface63703901b0e77
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 1
Chrome
OK
: 1
FAIL
: 1
Safari
OK
: 1
FAIL
: 1
Links
Details
New Tests That Don't Pass
- /clipboard-apis/async-navigator-clipboard-read-resource-load.https.html [wpt.fyi]
- Async Clipboard.read() should not trigger resource loading:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Async Clipboard.read() should not trigger resource loading:
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/af3d2205f522
https://hg.mozilla.org/mozilla-central/rev/1bbffbb985be
Description
•