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

Unified Diff: third_party/WebKit/LayoutTests/media/adopt-node-crash.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/media/adopt-node-crash.html
diff --git a/third_party/WebKit/LayoutTests/media/adopt-node-crash.html b/third_party/WebKit/LayoutTests/media/adopt-node-crash.html
index ae0dc3d32966ad8e6a1b1116115f0b40cb477058..1a0243967d86af506c878f0e5547a2efbb4921f9 100644
--- a/third_party/WebKit/LayoutTests/media/adopt-node-crash.html
+++ b/third_party/WebKit/LayoutTests/media/adopt-node-crash.html
@@ -20,7 +20,7 @@
{
if (window.GCController)
return GCController.collect();
-
+
// Force garbage collection
for (var ndx = 0; ndx < 99000; ndx++)
var str = new String("1234");
@@ -28,22 +28,22 @@
function finish()
{
- log("EVENT(loadstart) from iframe");
-
+ log("EVENT(loadstart) from iframe");
+
forceGC();
- location.href="data:text/html,SUCCESS<script>if (window.testRunner) testRunner.notifyDone()<" + "/script>";
+ location.href = "../resources/notify-success.html";
}
function loadstart()
{
- log("EVENT(loadstart)");
+ log("EVENT(loadstart)");
var video = document.getElementsByTagName('video')[0];
var newVideo = video.cloneNode(true);
newVideo.addEventListener("loadstart", finish);
var iframeDocument = document.getElementById("iframe").contentDocument;
- iframeDocument.body.appendChild(newVideo);
+ iframeDocument.body.appendChild(newVideo);
}
function start()

Powered by Google App Engine
This is Rietveld 408576698