Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLImageElement / image-srcset-invalid-url-no-crash.html
blobd00f23bdb91948068a227fb936ae547c359d09e3
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();
10 function done() {
11 testPassed("no crash.");
12 finishJSTest();
14 </script>
15 <img src="1x.png" srcset="//&%dE,; 1.2x" onerror="done()">