Closed Bug 2087535 Opened 1 month ago Closed 20 days ago

[wpt-sync] Sync PR 64235 - [html-in-canvas] Fully update when clearing origin-tainted filters

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64235 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64235
Details from upstream follow.

Philip Rogers <pdr@chromium.org> wrote:

[html-in-canvas] Fully update when clearing origin-tainted filters

This patch forces an isolation-piercing subtree paint property update
when clearing ObjectPaintProperties with an origin-tainted filter
(Filter()->Filter()->OriginTainted()), matching UpdateFilter() and
similar to https://crrev.com/026bad204a461a059d709ad5b81c20f210c6ea78.

When an element no longer needs paint properties, InitPaintProperties
clears ObjectPaintProperties before UpdateFilter() runs. Without
an isolation-piercing update, descendant effect nodes inside a
contain: paint subtree retain stale IsInTaintedSubtree() state
after an ancestor's cross-origin filter is removed.

Change-Id: I877bb792a5b363edcb7941f04ea6b00494ee27ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8641040
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Philip Rogers \<pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1727632}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 4 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 94 tests and 1 subtests

Status Summary

Firefox

OK : 1[GitHub] 93[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 93[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 1

Chrome

OK : 1
FAIL : 1

Safari

OK : 1
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.