| Index: LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
|
| diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html b/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d00f23bdb91948068a227fb936ae547c359d09e3
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/HTMLImageElement/image-srcset-invalid-url-no-crash.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +<script>
|
| + description("Invalid img.srcset URL should not crash");
|
| + window.jsTestIsAsync = true;
|
| + if (testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| + }
|
| + function done() {
|
| + testPassed("no crash.");
|
| + finishJSTest();
|
| + }
|
| +</script>
|
| +<img src="1x.png" srcset="//&%dE,; 1.2x" onerror="done()">
|
|
|