| Index: LayoutTests/editing/execCommand/window-open-insert-list-crash.html
|
| diff --git a/LayoutTests/editing/execCommand/window-open-insert-list-crash.html b/LayoutTests/editing/execCommand/window-open-insert-list-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c51bb88469d20a6fcae79475adbceef35f262dc2
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/execCommand/window-open-insert-list-crash.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<title>Crash issue 338542</title>
|
| +<script src="../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +description('Should not crash if we load a test case from crbug.com/338542.');
|
| +
|
| +window.jsTestIsAsync = true;
|
| +
|
| +window.addEventListener('message', didReceiveMessage, false);
|
| +
|
| +var iframe = document.createElement('iframe');
|
| +iframe.src = 'resources/window-open-insert-list-crash-iframe.html';
|
| +document.body.appendChild(iframe);
|
| +
|
| +function didReceiveMessage(event)
|
| +{
|
| + shouldBeEqualToString('event.data', 'FINISH');
|
| + document.body.removeChild(iframe);
|
| + testPassed('Did not crash.');
|
| + window.finishJSTest();
|
| +}
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|