[blink] Enable ModuleScript streaming compilation
- Bail out in ScriptStreamer::TryStartStreamingTask if the response is not a JavaScript mime type (for CSS and JSON modules) - Only initiate script streaming from the main thread (for now this prevents streaming compilation for workers and worklets) - Fix trace event ending for streaming compiled module scripts - Add WPT test with a large CSS module that would previously trigger script streaming Bug: 1061857 Change-Id: I5100e4c12aa3504ea4132b344f7910041270318a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595299 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by:Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:
Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#839447}
Showing
Please register or sign in to comment