| Index: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-conn-type.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-conn-type.html b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-conn-type.html
|
| index 99854a8d8ca5a0b54c12469b6e7e813d523a2b74..2123f921f1eead7b856f3f0eb308f8648ce93eb9 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-conn-type.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-conn-type.html
|
| @@ -6,14 +6,14 @@
|
| var jsLoaded = false;
|
| var loadSuccess = false;
|
| if (window.internals) {
|
| - internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrame(true);
|
| + internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(true);
|
| internals.setNetworkStateNotifierTestOnly(true);
|
| internals.setNetworkConnectionInfo('cellular3g', 2.0);
|
| internals.evictAllResources();
|
|
|
| window.addEventListener('beforeunload', function() {
|
| internals.setNetworkStateNotifierTestOnly(false);
|
| - internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrame(false);
|
| + internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(false);
|
| }, false);
|
| }
|
| document.write('<scr' + 'ipt src="' + src + '" onload="loadSuccess=true"></scr' + 'ipt>');
|
| @@ -23,5 +23,4 @@
|
| assert_true(jsLoaded);
|
| assert_true(loadSuccess);
|
| }, "Document.written scripts are not blocked in a fast connection");
|
| -
|
| </script>
|
|
|