Open Bug 2090240 Opened 18 days ago Updated 8 days ago

PermissionsPolicy checks sandboxed iframes using their URL instead of their opaque origin

Categories

(Core :: DOM: Security, defect, P3)

defect

Tracking

()

ASSIGNED

People

(Reporter: ahedri, Assigned: ahedri)

References

(Blocks 1 open bug)

Details

We need to account for sandboxed iframes without 'allow-same-origin' keyword, since those share the same URL but contain an opaque origin.

3 failing WPT files we need to fix:

  • policy-extends-to-sandbox.html
  • permissions-policy-opaque-origin-history.https.html
  • permissions-policy-frame-policy-allowed-for-self.https.sub.htm
Summary: mismatching sandboxed documents with keyword 'self' for PermissionsPolicy → PermissionsPolicy checks sandboxed iframes using their URL instead of their opaque origin
You need to log in before you can comment on or make changes to this bug.