Closed Bug 1779315 Opened 3 years ago Closed 3 years ago

Avoid tainting OffscreenCanvas if the principals match

Categories

(Core :: Graphics: Canvas2D, defect, P3)

defect

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox-esr102 --- fixed
firefox104 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 file)

Right now we more frequently taint the OffscreenCanvas than we need to since we don't bother checking the principal. We should do that for the main thread at least.

If we are on the main thread and have access to the principals, we
should perform the same check as we do for HTMLCanvasElement instead of
just tainting the canvas.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5ac5edbc3bb Avoid tainting OffscreenCanvas if the principals match. r=lsalzman
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch

Comment on attachment 9285217 [details]
Bug 1779315 - Avoid tainting OffscreenCanvas if the principals match.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Dependency for uplift in bug 1833876
  • User impact if declined:
  • Fix Landed on Version: 104.0a1
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Good test coverage
Attachment #9285217 - Flags: approval-mozilla-esr102?

Comment on attachment 9285217 [details]
Bug 1779315 - Avoid tainting OffscreenCanvas if the principals match.

Approved for 102.14esr

Attachment #9285217 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: