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

Unified Diff: third_party/WebKit/LayoutTests/fast/files/null-origin-string.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Fix layout tests that do top-level navigations to data: URLs Created 3 years, 10 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/files/null-origin-string.html
diff --git a/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html b/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html
index 85a0c0a77293d87253fbd86953ac6f545175a82f..c562f5b78261726eb5f5351a0d06466a7181c0a7 100644
--- a/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html
+++ b/third_party/WebKit/LayoutTests/fast/files/null-origin-string.html
@@ -15,8 +15,8 @@ function onInputFileChange()
var reader = new FileReader();
reader.readAsText(file);
console.log('Started reading...');
-
- top.location = 'data:text/html,<p>PASS if no crash.</p><script>testRunner.notifyDone()</scr' + 'ipt>';
+ console.log('PASS if no crash.');
Charlie Reis 2017/02/23 18:39:11 This isn't an equivalent test. Not sure if it mat
meacer 2017/02/23 20:47:25 Done. This was a bit frustrating as I can't seem t
+ testRunner.notifyDone();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698