Skip to content

Correctly handle iframe permission policy (allow attribute) #575

@sidvishnoi

Description

@sidvishnoi
  • Presently only checks if allow === "monetization", which breaks if other directives are present.
  • Should also handle monetization directive's allowlist correctly, specially the "<origin>" type.

Spec: https://webmonetization.org/specification/#permissions-policy
MDN: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy#iframes

Metadata

Metadata

Assignees

Labels

area: contentImprovements or additions to extension content scriptbugSomething isn't workingspecNeeds spec compliance/change/clarification

Type

Projects

Status

Backlog

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions