| Index: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-block.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-block.html b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-block.html
|
| index 13b11a3b690da609ffee7da41be68ddb761866a9..a58c5920ecbd0d3cf883928279bded5554fc67c5 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-block.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-block.html
|
| @@ -21,14 +21,13 @@
|
| <script>
|
| if (window.internals) {
|
| internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(true);
|
| - internals.setNetworkStateNotifierTestOnly(true);
|
| - internals.setNetworkConnectionInfo('cellular2g', 1.0);
|
| + internals.setNetworkConnectionInfoOverride(true, 'cellular2g', 1.0);
|
| internals.evictAllResources();
|
|
|
| // Reset the state of the singleton network state notifier.
|
| window.addEventListener('beforeunload', function() {
|
| internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(false);
|
| - internals.setNetworkStateNotifierTestOnly(false);
|
| + internals.clearNetworkConnectionInfoOverride();
|
| }, false);
|
| }
|
|
|
|
|