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

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: move the check up 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
« no previous file with comments | « no previous file | LayoutTests/fast/parser/badurl-base-preloader-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c5efb9f175db00d85cb7c2ad04c79bafc3cd4ce6
--- /dev/null
+++ b/LayoutTests/fast/parser/badurl-base-preloader-crash.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<base href="gopher:��&#279%�:0"></base>
+<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>
« no previous file with comments | « no previous file | LayoutTests/fast/parser/badurl-base-preloader-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698