commit | dd9df78ccc1e1ac79a5657966a264562c6d03fb7 | [log] [tgz] |
---|---|---|
author | Leszek Swirski <leszeks@chromium.org> | Fri Oct 19 14:40:33 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 19 14:40:33 2018 |
tree | 850806487b0057e0aeaa6bf53f8f287a8d723940 | |
parent | 8b6615947b4d820630aba94123792961519f24aa [diff] |
Reland "[blink] Control ScriptStreamer with ScriptResource" This is a reland of 7bd9163502462762e58d8010577dbf36aeef6c13 No changes from the original, revert reason is fixed with https://chromium-review.googlesource.com/c/1283037 Original change's description: > [blink] Control ScriptStreamer with ScriptResource > > Move the ScriptStreamer control logic from ClassicPendingScript to > ScriptResource. In the future, this will allow us to start streaming > a ScriptResource before the ClassicPendingScript is available, e.g on > preload. > > The ClassicPendingScript now only sends one "finished" callback, from > ScriptResource. This callback is either when the streaming completes, > or when there is no streaming and the ClassicPendingScript has told > the ScriptResource that it doesn't intend to start streaming. In the > long run, we want all scripts to go through the streaming interface, > and we want ScriptResource to control when streaming starts, so the > "no more streaming" call will disappear -- however it is necessary to > maintain the current behaviour, and be able to control it with a > runtime flag. > > Bug: chromium:865098 > Change-Id: I2c4cc16635a6538b7ff24a24463fe6f34efd8a2e > Reviewed-on: https://chromium-review.googlesource.com/c/1181430 > Commit-Queue: Leszek Swirski <leszeks@chromium.org> > Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> > Reviewed-by: Kouhei Ueno <kouhei@chromium.org> > Cr-Commit-Position: refs/heads/master@{#599148} TBR=kouhei@chromium.org,kinuko@chromium.org Bug: chromium:865098 Change-Id: I0df324ef8e284f4d3d55a1721d71be5a66a3285c Reviewed-on: https://chromium-review.googlesource.com/c/1286450 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#601143}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .