Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consideration for links in sourceless iframes #4

Closed
bloodyowl opened this issue May 22, 2019 · 3 comments
Closed

Consideration for links in sourceless iframes #4

bloodyowl opened this issue May 22, 2019 · 3 comments

Comments

@bloodyowl
Copy link

Sourceless iframes (src="about:blank" or srcdoc="") can be used:

  • to isolate widgets from the website's existing CSS in order to guarantee a similar experience to every user
  • to isolate the page from new CSS that might break it

AFAIK it's also used by AMP to provide similar kinds of isolation.

Given they don't have by themselves access to any storage, it'd be nice if links in sourceless iframes were considered to be first-party links and enable them ad click attribute for them.

@othermaciej
Copy link

Sourceless iframe of that type are considered same-origin with the parent. It probably makes sense to allow this API in same-origin frames,. since they are effectively part of the same page, just a specific way of constructing it.

@johnwilander
Copy link
Collaborator

This sounds reasonable to me too.

@johnwilander
Copy link
Collaborator

This request will be handled by the changes we discuss in #7 so closing this one.

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

No branches or pull requests

3 participants