| 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");
|
| +});
|
|
|