Index: third_party/WebKit/LayoutTests/editing/selection/deleteFromDocument-after-document-open-crash.html |
diff --git a/third_party/WebKit/LayoutTests/editing/selection/deleteFromDocument-after-document-open-crash.html b/third_party/WebKit/LayoutTests/editing/selection/deleteFromDocument-after-document-open-crash.html |
index ee295092270f36640fb96ec99e696fc2d493bb01..a35de47cb684cae3acb20586daaab7dda64e8a60 100644 |
--- a/third_party/WebKit/LayoutTests/editing/selection/deleteFromDocument-after-document-open-crash.html |
+++ b/third_party/WebKit/LayoutTests/editing/selection/deleteFromDocument-after-document-open-crash.html |
@@ -17,8 +17,7 @@ function run() { |
selection.deleteFromDocument(); |
- document.write('This calling deleteFromDocument after document.open. WebKit should not crash.<br>'); |
- document.write('PASS<br>'); |
+ document.body.innerHTML = 'This calling deleteFromDocument after document.open. WebKit should not crash.<br>PASS'; |
} |
</script> |
</head> |