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

Side by Side Diff: LayoutTests/fast/parser/badurl-base-should-be-ignored.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, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <script src="../../resources/js-test.js"></script>
Yoav Weiss 2015/04/02 05:29:09 Can you add a DOCTYPE?
kouhei (in TOK) 2015/04/02 06:19:39 Done.
2 <base href="gopher:???:"></base>
3 <script>
4 window.fail = false;
5 </script>
6 <!-- The resource should not be read, as the baseUrl is now set to empty from re ading invalid url -->
7 <script src="resources/fail.js"></script>
Yoav Weiss 2015/04/02 05:29:09 Did that fail before your change? AFAIU you're jus
kouhei (in TOK) 2015/04/02 06:19:39 No.
8 <script>
9 shouldBeFalse('window.fail')
10 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698