Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: third_party/WebKit/LayoutTests/editing/editability/empty-document-delete.html

Issue 1637323002: Editing: Tidy up HTML document structure before execCommand(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert the Node.cpp change Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/editability/empty-document-delete-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/editability/empty-document-delete.html
diff --git a/third_party/WebKit/LayoutTests/editing/editability/empty-document-delete.html b/third_party/WebKit/LayoutTests/editing/editability/empty-document-delete.html
index 3c983b274f1f5fd01096770259f5c77b14043e41..01d3d7c91aa4dc10c59e5175a0ebe3163081a926 100644
--- a/third_party/WebKit/LayoutTests/editing/editability/empty-document-delete.html
+++ b/third_party/WebKit/LayoutTests/editing/editability/empty-document-delete.html
@@ -10,7 +10,7 @@ function runTest() {
document.open();
window.getSelection().addRange(document.createRange());
document.execCommand("Delete", false, null);
- document.writeln('This test ensures WebKit does not crash when executing Delete in an empty document.<br><br>PASS');
+ document.body.innerHTML = 'This test ensures WebKit does not crash when executing Delete in an empty document.<br><br>PASS';
}
</script>
</head>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/editability/empty-document-delete-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698