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

Unified Diff: third_party/WebKit/LayoutTests/tables/invalid-background-url-crash.html

Issue 2130673002: Avoid invoking ResourceFetcher::cachedResource() with a null URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: semicolon 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/tables/invalid-background-url-crash.html
diff --git a/third_party/WebKit/LayoutTests/tables/invalid-background-url-crash.html b/third_party/WebKit/LayoutTests/tables/invalid-background-url-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..569ea7de04dfdbd18a749bb1554881b15568d1ab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/tables/invalid-background-url-crash.html
@@ -0,0 +1,12 @@
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+
+<body onload="window.open()">
+ <table background="http://tLayp%e3s&quot;^1"></table>
+</body>
+
+<script>
+if (window.testRunner)
+ testRunner.setCanOpenWindows();
+test(() => {}, 'This test passes if it does not crash.');
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698