Closed Bug 1769170 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 34049 - Async clipboard APIs should not trigger image loading

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, 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: Id8e318e3b0b0aa43bc6add557d70d355e88dec40

Reviewed-on: https://chromium-review.googlesource.com/3631266
WPT-Export-Revision: e1a02cf759f7d7b6f45650eface63703901b0e77

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af3d2205f522
[wpt PR 34049] - Async clipboard APIs should not trigger image loading, a=testonly
https://hg.mozilla.org/integration/autoland/rev/1bbffbb985be
[wpt PR 34049] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.