Contact emails
Explainer
Spec discussion: https://github.com/WICG/feature-policy/issues/135
Summary
Add a new policy-controlled feature, sync-script, which can be used to disable the execution of scripts that block parsing.
Motivation
Parser-blocking scripts can greatly delay the appearance of meaningful content. This gives developers that want to prioritize parsing over potentially long-running script execution a tool to enforce their own preferred development practices.
Risks
Interoperability and Compatibility
No signals yet from other browsers
Ergonomics
The main ergonomic complexity I'm aware of is on exactly which set of synchronous scripts this feature policy has the power to block and whether that will conform with developer expectations. See https://github.com/WICG/feature-policy/issues/135#issuecomment-395238652 for discussion of a specific corner case (dynamically-inserted inline scripts).
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
The draft CL includes test coverage.
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/6218263637786624
Requesting approval to ship?
Not yet.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ba9ba611-be90-4d26-9d05-49d00d996ee5%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACf%3D2L%2BZ%3DiaNA8phzKscgFSUHfPFaoHp4cqWTcpxWD_mTkfCcw%40mail.gmail.com.