Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-block.html

Issue 2260303002: Sending an async GET request for doc.written blocked scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a58c5920ecbd0d3cf883928279bded5554fc67c5..7d81ecfb6c10bed39dd002bef8c5fff3cdc2f0a6 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
@@ -55,6 +55,10 @@
</script>
<script>
+ if (window.testRunner) {
+ testRunner.dumpResourceRequestPriorities();
+ testRunner.dumpAsText();
+ }
test(function () {
assert_true(jsLoaded);
assert_true(loadSuccess);
@@ -76,4 +80,9 @@
assert_false(loadSuccess);
assert_true(loadFailed);
}, "cross origin doc.written scripts are blocked");
+
+ if (window.testRunner) {
Nate Chapin 2016/09/06 20:28:12 This shouldn't be needed twice? and the dumpAsText
shivanisha 2016/09/06 20:31:25 Passing this test will require putting dumpResourc
+ testRunner.dumpResourceRequestPriorities();
+ testRunner.dumpAsText();
+ }
</script>

Powered by Google App Engine
This is Rietveld 408576698