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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/deleteFromDocument-after-document-open-crash.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
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>

Powered by Google App Engine
This is Rietveld 408576698