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

Unified Diff: LayoutTests/fast/parser/badurl-base-preloader-crash.html

Issue 1044133002: HTMLPreloadScanner should only use valid <base> urls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 5 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: LayoutTests/fast/parser/badurl-base-preloader-crash.html
diff --git a/LayoutTests/fast/parser/badurl-base-preloader-crash.html b/LayoutTests/fast/parser/badurl-base-preloader-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..e23986c8d8d30c826570b7b36b0dc1ade295be9a
--- /dev/null
+++ b/LayoutTests/fast/parser/badurl-base-preloader-crash.html
@@ -0,0 +1,6 @@
+<base href="gopher:��&#279%�:0"></base>
Yoav Weiss 2015/04/02 05:29:09 Can you add a doctype?
kouhei (in TOK) 2015/04/02 06:19:39 Done.
+<script src=":"></script>
+<script>
+if (window.testRunner) testRunner.dumpAsText();
+</script>
+<p>PASS: if scanning this document with preloader doesn't crash in debug builds</p>

Powered by Google App Engine
This is Rietveld 408576698