-
Notifications
You must be signed in to change notification settings - Fork 19
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
Making unload opt-in via Permissions Policy #200
Comments
Hey @fergald, thanks for filing a new issue. Curious, where does the 95% come from? Overall, removing |
@annevk, 95% comes from @nicjansma's report. Firefox is similar. Chrome mobile, and all safari are down in the 50s and 60s. Mobile will be due to a mix of skipping Chrome engineers made the change to the spec. It was considered reasonable at the time (and for mobile it is reasonable because The current We see 2 options (I'm happy to consider any others), both of which are breaking changes
1 is considerably easier than 2 but 2 leaves the web platform in a better place. If we choose 1, Re: reverse origin trial. If we did an ROT of removing |
Yes. |
It's impossible for us to run a reverse origin trial for a feature that is used on maybe 30% of pageloads (I don't know the true fraction of all pageloads but over 30% of potentially cacheable navigations are blocked by this). Also, disabling is known to break installed enterprise software. If we can reduce that fraction significantly then an ROT may be feasible eventually. |
I don't understand. It seems that would apply to the approach outlined in OP as well. |
Getting 30% of pages to do a new Permissions Policy opt-in only to still block b/f cache in Chrome seems like a waste of everyone's time, unless the theory is that only a very small fraction of 30% really need |
Neither approach can flipped to 100%, they both have to be rolled out to a gradually increasing fraction of users. The Permissions-Policy approach
ROT:
ROT is an option but I see no upside for users, sites or anyone who implements it. |
It seems that analysis is ignoring a couple aspects, such as Chromium's current implementation not being compliant. At least, I assume the implicit ask is that with the Permissions Policy approach other browsers would adopt Chromium's handling of the |
WebKittens
@annevk @marcoscaceres
Title of the spec
Disable unload handlers by default and add Permissions-Policy to opt-in to enabling them.
URL to the spec
https://github.com/fergald/docs/blob/master/explainers/permissions-policy-deprecate-unload.md
URL to the spec's repository
https://github.com/fergald/docs/
Issue Tracker URL
No response
Explainer URL
https://github.com/fergald/docs/blob/master/explainers/permissions-policy-deprecate-unload.md
TAG Design Review URL
w3ctag/design-reviews#738
Mozilla standards-positions issue URL
mozilla/standards-positions#691
WebKit Bugzilla URL
No response
Radar URL
No response
Description
This is a revised approach to #127
The text was updated successfully, but these errors were encountered: