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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-token-list.js

Issue 1629403003: Merge DOMSettableTokensList into DOMTokensList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed non-oilpan inheritance Created 4 years, 10 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/fast/dom/HTMLOutputElement/script-tests/dom-token-list.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-token-list.js
similarity index 95%
rename from third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js
rename to third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-token-list.js
index e2c4abb39e1a59829a10353566e2d235cd67bbac..64a1c58d7baa33a0c092bd7c479eb43947ec852e 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-token-list.js
@@ -14,7 +14,7 @@ function createElement(tokenList)
debug('- Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/');
-// HTMLOutputElement::htmlFor setter is forwarding assignment to DOMSettableTokenList.value attribute.
+// HTMLOutputElement::htmlFor setter is forwarding assignment to DOMTokenList.value attribute.
createElement('x');
shouldBeEqualToString('element.htmlFor.value', 'x');
shouldBeEqualToString('String(element.htmlFor)', 'x');
@@ -235,21 +235,21 @@ createElement('x\u000Dy');
shouldEvaluateTo('element.htmlFor.length', 2);
-debug('- DOMSettableTokenList presence and type');
+debug('- DOMTokenList presence and type');
// Safari returns object
// Firefox returns object
// IE8 returns object
// Chrome returns function
-// assertEquals('object', typeof DOMSettableTokenList);
-shouldBeTrue('\'undefined\' != typeof DOMSettableTokenList');
+// assertEquals('object', typeof DOMTokenList);
+shouldBeTrue('\'undefined\' != typeof DOMTokenList');
-shouldBeEqualToString('typeof DOMSettableTokenList.prototype', 'object');
+shouldBeEqualToString('typeof DOMTokenList.prototype', 'object');
createElement('x');
shouldBeEqualToString('typeof element.htmlFor', 'object');
-shouldEvaluateTo('element.htmlFor.constructor', 'DOMSettableTokenList');
+shouldEvaluateTo('element.htmlFor.constructor', 'DOMTokenList');
shouldBeTrue('element.htmlFor === element.htmlFor');

Powered by Google App Engine
This is Rietveld 408576698