| Index: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload.html b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload.html
|
| index f4d03d2f633c1f5e32305518b4c9c5fe57127e26..00149698f4ad64d575bbd7cfd3995602435b2bcf 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload.html
|
| @@ -11,13 +11,12 @@
|
| }, "window.internals is required for the test to run");
|
|
|
| internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(true);
|
| - internals.setNetworkStateNotifierTestOnly(true);
|
| - internals.setNetworkConnectionInfo('cellular2g', 1.0);
|
| + internals.setNetworkConnectionInfoOverride(true, 'cellular2g', 1.0);
|
| internals.evictAllResources();
|
|
|
| window.addEventListener('beforeunload', function() {
|
| internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(false);
|
| - internals.setNetworkStateNotifierTestOnly(false);
|
| + internals.clearNetworkConnectionInfoOverride();
|
| // Remove localStorage items, just in case they haven't been
|
| // already removed, due to test failure.
|
| if (window.localStorage.getItem("errorCount") !== null) {
|
|
|