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

Unified Diff: LayoutTests/fast/css/css-escaped-identifier-crash.html

Issue 220113006: Followup to CSSTokenizer memory usage optimization (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing whitespace in test. Created 6 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/css/css-escaped-identifier-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/css-escaped-identifier-crash.html
diff --git a/LayoutTests/fast/css/css-escaped-identifier-crash.html b/LayoutTests/fast/css/css-escaped-identifier-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..6cfb0e6de5bb921096cfd8e376d6b1742e1c6ed9
--- /dev/null
+++ b/LayoutTests/fast/css/css-escaped-identifier-crash.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+ <style>foo { D\\\\\$\eeeeeeeeeee\\\\\\\\\\\\\\\\\\ }</style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+</head>
+<body>
+ <p>
+ Test for crash discovered with escapes in CSS identifiers. If this text appears, the test passed.
+ </p>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css/css-escaped-identifier-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698