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

Unified Diff: third_party/WebKit/LayoutTests/editing/assert_selection.js

Issue 2125233003: [Editing][CodeHealth] assert_selection test doesn't need to have element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « third_party/WebKit/LayoutTests/editing/assert_selection.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/assert_selection.js
diff --git a/third_party/WebKit/LayoutTests/editing/assert_selection.js b/third_party/WebKit/LayoutTests/editing/assert_selection.js
index 014aa440c7c3dc8e39fc9e21bcedfe3cafed1dc6..14c29d63602ee59691175060bf278a9bb59b7169 100644
--- a/third_party/WebKit/LayoutTests/editing/assert_selection.js
+++ b/third_party/WebKit/LayoutTests/editing/assert_selection.js
@@ -509,6 +509,7 @@ class Sample {
constructor(sampleText) {
/** @const @type {!HTMLIFame} */
this.iframe_ = document.createElement('iframe');
+ document.body = document.createElement("body");
yosin_UTC9 2016/07/07 05:55:48 Let's check whether |document| has BODY or not to
yoichio 2016/07/07 06:42:07 Done.
document.body.appendChild(this.iframe_);
/** @const @type {!HTMLDocument} */
this.document_ = this.iframe_.contentDocument;
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/assert_selection.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698