| Index: LayoutTests/fast/parser/resources/xhtml-overwrite-frame.xhtml
|
| diff --git a/LayoutTests/fast/parser/resources/xhtml-overwrite-frame.xhtml b/LayoutTests/fast/parser/resources/xhtml-overwrite-frame.xhtml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..75e7c09174bf7894f87a63d5f90d66758c8a14d6
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/parser/resources/xhtml-overwrite-frame.xhtml
|
| @@ -0,0 +1,12 @@
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| +<script>
|
| +function overwrite() {
|
| + var testRunner = window.parent.testRunner;
|
| + window.frameElement.outerHTML = "PASS (no crash)";
|
| + if (testRunner)
|
| + testRunner.notifyDone();
|
| +}
|
| +
|
| +document.addEventListener("DOMCharacterDataModified", overwrite);
|
| +</script>
|
| +</html>
|
|
|