| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist.html
|
| index dba18f0f97a5de951679cda82544c2ff98f10cc0..d016d7b45a62b380c2d068b246ae2bb480d245fe 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist.html
|
| @@ -290,15 +290,13 @@ test(function () {
|
| assert_false(failed,'an error was thrown');
|
| }, 'classList.length must be read-only');
|
| test(function () {
|
| - var failed = false, realList = secondelem.classList;
|
| - try {
|
| - secondelem.classList = '';
|
| - } catch(e) {
|
| - failed = e;
|
| - }
|
| + var realList = secondelem.classList;
|
| + secondelem.classList = 'foo bar';
|
| assert_equals(secondelem.classList,realList);
|
| - assert_false(failed,'an error was thrown');
|
| -}, 'classList must be read-only');
|
| + assert_equals(secondelem.classList.length,2);
|
| + assert_equals(secondelem.classList[0],'foo');
|
| + assert_equals(secondelem.classList[1],'bar');
|
| +}, 'classList must have [PutForwards=value]');
|
| </script>
|
| </head>
|
| <body>
|
|
|