-
Notifications
You must be signed in to change notification settings - Fork 30
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
Drop prerenderSwitch from new draft? #38
Comments
We need feedback from Todd on this one since IE did some implementations there. @toddreifsteck? |
AFAICT, it is not supported in neither Blink nor WebKit, so I would presume that it would be safe to deprecate and remove it. Do we know what was the use case for adding it in the first place? |
I wrote http://www.w3.org/2015/10/webperf-prerender.html to attempt to prerender the webperf overview test but it didn't trigger prerenderSwitch in Edge as far as I can tell. |
@plehegar no, I'm not proposing we drop prerender as an overall platform feature. Rather, I'm suggesting we drop |
ok. sounds good to me. Let's get a +1 from Todd and we should be all set. |
@toddreifsteck can you take a quick look at this one? |
LGTM, merging |
Oh.. just an issue without a pull. Yes, this would be fine. :-) |
Resolved via 6cc5a9e. |
prerenderSwitch
attribute was added back in 2013There is a subtle gotcha with it too as far as interop with PerformanceObserver is concerned: our processing model says it should be set at step 26, before the entry is queued to notify any observers...
Does that mean we should delay steps 27,28 until the visibilityChange transition fires? If so, we need to change the wording in that step to account for cases where page is not being prerendered.. It also means the nav timing entry would be delayed until page is made visible.. This seems a bit odd.
I'm wondering if we should simply drop prerenderSwitch from the spec? It's trivial to get the timestamp via existing Page Visibility and User Timing APIs..
Thoughts, objections?
The text was updated successfully, but these errors were encountered: