| Index: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-from-disposed-document-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-from-disposed-document-crash.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-from-disposed-document-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1e42e2d13436151404519c841c928b259155e8f2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-from-disposed-document-crash.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body id=bodyElement>
|
| +<iframe id=iframe></iframe>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +var xhtml = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html");
|
| +var body = bodyElement;
|
| +iframe.contentDocument.documentElement.appendChild(body);
|
| +body.parentNode.removeChild(body);
|
| +gc();
|
| +xhtml.documentElement.appendChild(body);
|
| +testPassed('no crash');
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|