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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/import-with-bad-string.html

Issue 1930823002: Fix assertion when parsing @namespace/@import with url(<bad-string-token>) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: blablabla Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/namespaces/invalid-url-in-namespace.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5
6 <style>
7 @import url("bad-string-token
8 );
9 @import url();
10 </style>
11
12 <script>
13 test(() => {
14 var rules = document.styleSheets[0].cssRules;
15 assert_equals(rules.length, 1);
16 assert_equals(rules[0].cssText, '@import url("");');
17 }, "@import rules with <bad-string-token> are invalid");
18 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/namespaces/invalid-url-in-namespace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698