Index: third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html |
diff --git a/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html b/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html |
index e19834f7a17492a867c57c5f25850705d0b0ab5e..5d2c7cde05f3bea8da66cee1c0136a7ce40be358 100644 |
--- a/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html |
+++ b/third_party/WebKit/LayoutTests/editing/editability/empty-document-justify-right.html |
@@ -10,7 +10,7 @@ function runTest() { |
document.open(); |
window.getSelection().addRange(document.createRange()); |
document.execCommand("JustifyRight", false, null); |
- document.writeln('This test ensures WebKit does not crash when executing JustifyRight in an empty document.<br><br>PASS'); |
+ document.body.innerHTML = 'This test ensures WebKit does not crash when executing JustifyRight in an empty document.<br><br>PASS'; |
} |
</script> |
</head> |