Closed Bug 2085466 Opened 1 month ago Closed 29 days ago

[wpt-sync] Sync PR 64056 - Disable FEDisplacementMap acting as a backdrop-filter

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen Chenney <schenney@chromium.org> wrote:

Disable FEDisplacementMap acting as a backdrop-filter

The background contents filtered by a CSS backdrop filter may contain
sensitive information, including but not limited to forms containing
user data or cross-origin image content. When the background is used as
the displacement map for an SVG FEDisplacementMap filter it becomes
possible to use timing attacks to determine the background, so the spec
says the filter must operate as a pass through when the map input is
cross-origin or otherwise should not be revealed.

Unfortunately we cannot just taint all backdrop filters because doing so
disables them for HTML-in-Canvas. Instead, add tracking of "contains
backdrop" to the filter effect chain and use it in FEDisplacementMap to
enforce pass-through.

Fixed: 540025369
Change-Id: Ib2b677cbaef36965c77261a79121c73c809f6822
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8395606
Reviewed-by: Stefan Zager \<szager@chromium.org>
Commit-Queue: Stephen Chenney \<schenney@chromium.org>
Auto-Submit: Stephen Chenney \<schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1722317}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 396 tests and 5 subtests

Status Summary

Firefox

OK : 38
PASS: 23[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 3016[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3267[Gecko-linux2404-64-debug] 3301[Gecko-windows11-64-25h2-opt] 3304[Gecko-windows11-64-25h2-debug] 3307[Gecko-android-em-14-x86_64-debug-geckoview] 3309[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 3311[Gecko-linux2404-64-opt]
FAIL: 1[GitHub] 14[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 54[Gecko-linux2404-64-opt] 56[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 58[Gecko-android-em-14-x86_64-debug-geckoview] 61[Gecko-windows11-64-25h2-debug] 64[Gecko-windows11-64-25h2-opt] 98[Gecko-linux2404-64-debug]

Chrome

FAIL: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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