Revert "[blink] Control ScriptStreamer with ScriptResource"

This reverts commit 7bd9163502462762e58d8010577dbf36aeef6c13.

Reason for revert: fast/css-grid-layout/grid-columns-rows-get-set.html is flaky
Bug: 894792, 894795

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:
> Commit-Queue: Leszek Swirski <>
> Reviewed-by: Hiroshige Hayashizaki <>
> Reviewed-by: Kinuko Yasuda <>
> Reviewed-by: Kouhei Ueno <>
> Cr-Commit-Position: refs/heads/master@{#599148},,,,,

Change-Id: Id8e8df8f960c60c88762cdf837e7ba9eb74944d6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:865098
Reviewed-by: Florent Castelli <>
Commit-Queue: Florent Castelli <>
Cr-Commit-Position: refs/heads/master@{#599180}
22 files changed