| Index: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/resources/class-list.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/resources/class-list.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/resources/class-list.js
|
| index b62810098299e4aee485ba4d2b55b2ef9dd3199d..b207e35f35cd746424d2f95aac69d9975b431a08 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/resources/class-list.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/resources/class-list.js
|
| @@ -154,14 +154,10 @@ function shouldThrowDOMException(f, ec)
|
| }
|
|
|
| createElement('x');
|
| -shouldThrowDOMException(function() {
|
| - element.classList.contains('');
|
| -}, DOMException.SYNTAX_ERR);
|
| +shouldNotThrow('element.classList.contains("")');
|
|
|
| createElement('x y');
|
| -shouldThrowDOMException(function() {
|
| - element.classList.contains('x y');
|
| -}, DOMException.INVALID_CHARACTER_ERR);
|
| +shouldNotThrow('element.classList.contains("x y")');
|
|
|
| createElement('');
|
| shouldThrowDOMException(function() {
|
|
|