| Index: third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html b/third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7b1728edffd8c79a10dd3969a0edc7cce06ede24
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <title>Regression test for CR573921</title>
|
| + </head>
|
| + <body>
|
| + <iframe id="f"></iframe>
|
| + <script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| + }
|
| + let n = 0;
|
| + window.onmessage = (event) => {
|
| + n++;
|
| + if (n > 3) {
|
| + document.body.textContent = 'PASS did not crash';
|
| + if (window.testRunner) {
|
| + testRunner.notifyDone();
|
| + }
|
| + }
|
| + };
|
| + f.src = 'resources/write-script-waiting-for-style-crash.html';
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|