Open Bug 2081658 Opened 1 day ago Updated 10 hours ago

Implementing the correct algorithm for PermissionsPolicy::InheritPolicy() from the specs

Categories

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

defect

Tracking

()

ASSIGNED

People

(Reporter: ahedri, Assigned: ahedri)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

I was working on fixing both Bug 2076776 and Bug 2080758, and both of these are because InheritPolicy() doesn't follow the specification so it misses some steps.

Therefore I implemented both § 9.7. and its sub algorithm at § 9.8. from https://www.w3.org/TR/permissions-policy/

Status: NEW → ASSIGNED
Duplicate of this bug: 2076776
Duplicate of this bug: 2080758
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/751f5671de2d https://hg.mozilla.org/integration/autoland/rev/ae6cc7dd381e Revert "Bug 2081658 - Implement correct inheritance algorithm for permissionsPolicy. r=simonf" for causing wpt failures @permissions-query-permissions-policy-attribute.https.sub.html.

Backed out for causing wpt failures @permissions-query-permissions-policy-attribute.https.sub.html.

Flags: needinfo?(ahedri)

Updated the tests expectations

  • Push in treeherder
  • Log @permissions-policy-nested-local-frame-delegation.https.sub.html
  • Log @permissions-query-permissions-policy-attribute.https.sub.html
  • Log @test_parser.html
Flags: needinfo?(ahedri)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: