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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/redirect-with-open-subframe.html

Issue 2741513002: [Merge M-57] Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Created 3 years, 9 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/fast/loader/redirect-with-open-subframe.html
diff --git a/third_party/WebKit/LayoutTests/fast/loader/redirect-with-open-subframe.html b/third_party/WebKit/LayoutTests/fast/loader/redirect-with-open-subframe.html
index 073484d8001791d212ae454690df1a8b36568db1..a60b89ab2ade5eab9e973ff0f1100c56a35a6a11 100644
--- a/third_party/WebKit/LayoutTests/fast/loader/redirect-with-open-subframe.html
+++ b/third_party/WebKit/LayoutTests/fast/loader/redirect-with-open-subframe.html
@@ -7,8 +7,7 @@
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
- var newDoc = "SUCCESS<script>if (window.testRunner) testRunner.notifyDone();</scr" + "ipt>";
- setTimeout("window.location='data:text/html," + newDoc + "'", 500);
+ setTimeout("window.location='../../resources/notify-success.html'", 500);
</script>
<div>FAILURE: should redirect.</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698