| Index: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-async-third-party-script.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-async-third-party-script.html b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-async-third-party-script.html
|
| index 430d6eb4cc41507dc5ebfc4e65129a973360c49e..681bbe080cdf3cac72072408ea949e1655ac368d 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-async-third-party-script.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-async-third-party-script.html
|
| @@ -7,14 +7,14 @@
|
| var jsLoaded = false;
|
| var loadSuccess = false;
|
| if (window.internals) {
|
| - internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrame(true);
|
| + internals.settings.setDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(true);
|
| internals.setNetworkStateNotifierTestOnly(true);
|
| internals.setNetworkConnectionInfo('cellular2g', 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" async></scr' + 'ipt>');
|
|
|