| Index: third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-domain.html b/third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
|
| similarity index 51%
|
| copy from third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-domain.html
|
| copy to third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
|
| index 2ad66137ead332ad1ae61e720492e3efd987b003..077f6657410e86b7e0c8b91d19bc1e5473a0821a 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-domain.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/form-associated-element-crash5.html
|
| @@ -1,21 +1,20 @@
|
| <!DOCTYPE html>
|
| <html>
|
| -<head>
|
| +<body>
|
| +<p id="foo">
|
| +<output form="foo" id="foo"></output>
|
| +</p>
|
| <script>
|
| if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| testRunner.waitUntilDone();
|
| }
|
| -
|
| -function done()
|
| -{
|
| +window.onload = function () {
|
| + document.body.removeChild(document.querySelector("p"));
|
| + document.body.innerHTML = 'PASS; no crash.';
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| -}
|
| +};
|
| </script>
|
| -</head>
|
| -<body>
|
| -<iframe sandbox="allow-scripts" src="data:text/html,<script>document.domain='127.0.0.1'</script>" onload="done()">
|
| -</iframe>
|
| </body>
|
| </html>
|
|
|