You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spoke with @toddreifsteck and @travisleithead and we're +1 on the spec. It's a good direction for the web, and the explainer is extremely well-thought-out (covers all the odd edge cases with visual diagrams – love it! 😃).
My only other feedback is that while the framework itself is great, the lists of features could use some elaboration. For instance, I'd like to see more features related to performance optimizations, ala @tkadlec's and @yoavweiss's Content Performance Policy. Disallowing sync XHR is a good start, but how about more perf-boosting restrictions, like:
no document.write()
no touch/wheel events without passive=true
no sync storage
no animating top/left/etc., only transform/opacity
no excessive callbacks (e.g. a per-second budget on setTimeouts, rAFs, potentially others)
other ideas?
Arguably this could be kept to a separate repo, but it's something I'd like to start thinking about.
The text was updated successfully, but these errors were encountered:
@nolanlawson thanks so much for the feedback. I think we're all definitely on board with the idea of expanding the feature set. Specifically document.write is one that folks here have had in mind for a while :) There are some things to work out with respect to the failure scenarios, i.e. what happens if you try to use document.write if it's disabled. There are some security concerns around breaking applications in unexpected ways. The features currently in the spec already have well-defined failure modes. But it's not a major blocker, just something that has to be fleshed out a bit more.
I spoke with @toddreifsteck and @travisleithead and we're +1 on the spec. It's a good direction for the web, and the explainer is extremely well-thought-out (covers all the odd edge cases with visual diagrams – love it! 😃).
My only other feedback is that while the framework itself is great, the lists of features could use some elaboration. For instance, I'd like to see more features related to performance optimizations, ala @tkadlec's and @yoavweiss's Content Performance Policy. Disallowing sync XHR is a good start, but how about more perf-boosting restrictions, like:
document.write()
top
/left
/etc., onlytransform
/opacity
setTimeout
s, rAFs, potentially others)Arguably this could be kept to a separate repo, but it's something I'd like to start thinking about.
The text was updated successfully, but these errors were encountered: