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

Side by Side Diff: LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html

Issue 1142523002: MemoryCache::resourceForURL(): add argument validation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash-expected.txt » ('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 <script src="../../../resources/js-test.js"></script>
3 <script>
4 description("Invalid img.srcset URL should not crash");
5 window.jsTestIsAsync = true;
6 if (testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
9 }
10 function done() {
11 testPassed("no crash.");
12 finishJSTest();
13 }
14 </script>
15 <img src="1x.png" srcset="//&%dE,; 1.2x" onerror="done()">
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698