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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/innerText/setter-tests.js

Issue 2623223003: Import wpt@82173128ef6f536e5faaafc29eecc521380f81ae (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 3 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/imported/wpt/innerText/setter-tests.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/innerText/setter-tests.js b/third_party/WebKit/LayoutTests/imported/wpt/innerText/setter-tests.js
index 1c973ae048bc7c35afa65eefc6b432c1c3102036..9318607e1aa39cef171dc05082bd2265afa1886f 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/innerText/setter-tests.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt/innerText/setter-tests.js
@@ -25,3 +25,11 @@ testHTML("<div><br>", "abc", "abc", "Existing <br> deleted");
testHTML("<div>", "", "", "Assigning the empty string");
testHTML("<div>", null, "", "Assigning null");
testHTML("<div>", undefined, "undefined", "Assigning undefined");
+
+// Setting innerText on these should not throw
+["area", "base", "basefont", "bgsound", "br", "col", "embed", "frame", "hr",
+"image", "img", "input", "keygen", "link", "menuitem", "meta", "param",
+"source", "track", "wbr", "colgroup", "frameset", "head", "html", "table",
+"tbody", "tfoot", "thead", "tr"].forEach(function(tag) {
+ testText(document.createElement(tag), "abc", "abc", "innerText on <" + tag + "> element");
+});

Powered by Google App Engine
This is Rietveld 408576698