| Index: third_party/WebKit/LayoutTests/bindings/blink-in-js-asan-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/bindings/blink-in-js-asan-crash.html b/third_party/WebKit/LayoutTests/bindings/blink-in-js-asan-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c5aa18871a89229fd0b6427ae7f305d4bdf756f4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/bindings/blink-in-js-asan-crash.html
|
| @@ -0,0 +1,31 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| + function runTest() {
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + if (sessionStorage.pageReloaded)
|
| + return;
|
| +
|
| + img = document.createElement('img');
|
| + img.src = `data:image/svg+xml,
|
| + <svg xmlns="http://www.w3.org/2000/svg">
|
| + <foreignObject>
|
| + <body xmlns="http://www.w3.org/1999/xhtml">
|
| + <marquee></marquee>
|
| + </body>
|
| + </foreignObject>
|
| + </svg>`;
|
| + document.body.appendChild(img);
|
| +
|
| + sessionStorage.pageReloaded = true;
|
| + window.location.reload();
|
| + }
|
| +</script>
|
| +</head>
|
| +<body onload='runTest()'>
|
| +Test passes if it does not crash on ASan builds.
|
| +</body>
|
| +</html>
|
|
|