Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

renderPriority and iframes #208

Open
antosart opened this issue Sep 21, 2021 · 3 comments
Open

renderPriority and iframes #208

antosart opened this issue Sep 21, 2021 · 3 comments

Comments

@antosart
Copy link

I was wondering whether the new renderPriority attribute will have effects on iframes (either because it is set on the iframe element itself or because it is inherited from an ancestor element). If so, could this have security/privacy implications? By assigning different renderPriority to different iframes, you could get rendering timing information about a (possibly cross-origin) iframe.

@vmpstr
Copy link
Collaborator

vmpstr commented Sep 21, 2021

I think this is a fair point. My initial thoughts is that we would either allow rendering to happen in iframes or we wouldn't. I don't think we would be able to enforce something like background priority for iframes (especially cross origin)

@antosart
Copy link
Author

Ok. I think it would be good to spell out in the explainer how iframes would behave w.r.t. this attribute.

@chrishtr
Copy link
Collaborator

I think we should definitely let renderPriority affect iframes, since some content needs to be put in iframes and it's still a legitimate use case to pre-render iframe content.

That being said, we should work carefully through appropriate mitigations for priviacy and security as necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants