Chromium Code Reviews| Index: LayoutTests/fast/parser/html-document-parser-suspended-40.html |
| diff --git a/LayoutTests/fast/parser/html-document-parser-suspended-40.html b/LayoutTests/fast/parser/html-document-parser-suspended-40.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..836f29b1cb6a22a2f79e843a59219735c33ee6d1 |
| --- /dev/null |
| +++ b/LayoutTests/fast/parser/html-document-parser-suspended-40.html |
| @@ -0,0 +1,24 @@ |
| +<!DOCTYPE html> |
| +<head> |
| +<meta charset="utf-8"> |
| +</head> |
| +<body> |
| +<noscript><p>Javascript must be enabled.</p></noscript> |
| +<p>Testing a crash.</p> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +setTimeout(function (){ |
| + // alert() is practically a no-op while running blink tests, so testRunner.sleep |
| + // will be the call that blocks scripts and sets defersLoading. |
| + alert("When you close this alert, the renderer should not assert and crash"); |
| + if (window.testRunner) |
| + testRunner.sleep(500); |
| + else |
| + location.reload(); |
| +}, 40); |
| +</script> |
| +<p><iframe src="data:text/html,%3Ch1%3EHi%3C%2Fh1%3E%3Ciframe%20src%3D%22data%3Atext%2Fhtml%2C%3Ch1%3EHi%22%3E%3C%2Fiframe%3E"></iframe></p> |
|
kouhei (in TOK)
2014/11/19 07:56:10
Ditto.
|
| + |
| +</body> |
| +</html> |