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..0e448f0ef79387a543b8634b2db431d2100503ff 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 |
@@ -49,7 +49,7 @@ shouldBeEqualToString('element.className', 'x'); |
// http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/getting/007.htm |
createElement('x x'); |
element.classList.add('x'); |
-shouldBeEqualToString('element.className', 'x x'); |
+shouldBeEqualToString('element.className', 'x x'); |
// http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/getting/008.htm |
createElement('y'); |
@@ -120,11 +120,11 @@ shouldBeEqualToString('element.className', 'x y'); |
createElement('x\t'); |
element.classList.add('y'); |
-shouldBeEqualToString('element.className', 'x\ty'); |
+shouldBeEqualToString('element.className', 'x y'); |
createElement(' '); |
element.classList.add('y'); |
-shouldBeEqualToString('element.className', ' y'); |
+shouldBeEqualToString('element.className', 'y'); |
debug('Test invalid tokens'); |