Skip to content

Conversation

@aselya
Copy link
Contributor

@aselya aselya commented Mar 10, 2025

This PR updates the spec to address two issues.

Issue 30 is addressed by removing CORS as the security mechanism and replacing it with Storage Access Headers.

Issue 49 is addressed by removing the integration of this API with permissions.


1. Let |embeddedOrigin| be |parsedURL|'s [=/origin=].
1. If |embeddedOrigin| is an [=opaque origin=], [=reject=] |p| with an "{{NotAllowedError}}" {{DOMException}} and return |p|.
1. If |doc|'s [=Document/origin=] is [=same origin=] with |embeddedOrigin|, [=resolve=] and return |p|.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi

1. If |existing state| is [=permission/granted=], return true.
1. Return false.
ISSUE(privacycg/requestStorageAccessFor#15): The permissions task source shouldn't be used directly.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants