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

Unified Diff: LayoutTests/fast/js/webidl-class-strings-expected.txt

Issue 1017733003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test expectations Created 5 years, 6 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: LayoutTests/fast/js/webidl-class-strings-expected.txt
diff --git a/LayoutTests/fast/js/webidl-class-strings-expected.txt b/LayoutTests/fast/js/webidl-class-strings-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3799369a7ce905c9f2ef6287014fcc3463ae57c
--- /dev/null
+++ b/LayoutTests/fast/js/webidl-class-strings-expected.txt
@@ -0,0 +1,33 @@
+Verify 'class string' binding for WebIDL
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS Object.prototype.toString.call(window) is "[object Window]"
+PASS Object.prototype.toString.call(window.__proto__) is "[object Window]"
+PASS Object.prototype.toString.call(Window.prototype) is "[object Window]"
+PASS Object.prototype.toString.call(document.head.classList) is "[object DOMTokenList]"
+FAIL Object.prototype.toString.call(document.head.classList[Symbol.iterator]()) should be [object DOMTokenList Iterator]. Was [object Iterator].
+FAIL Object.prototype.toString.call(document.head.classList[Symbol.iterator]().__proto__) should be [object DOMTokenListIterator]. Was [object Iterator].
+PASS Object.prototype.toString.call(document) is "[object HTMLDocument]"
+PASS Object.prototype.toString.call(document.__proto__) is "[object HTMLDocument]"
+PASS Object.prototype.toString.call(HTMLDocument.prototype) is "[object HTMLDocument]"
+PASS Object.prototype.toString.call(new Blob) is "[object Blob]"
+PASS Object.prototype.toString.call((new Blob).__proto__) is "[object Blob]"
+PASS Object.prototype.toString.call(Blob.prototype) is "[object Blob]"
+PASS Object.prototype.toString.call(IDBKeyRange.only(0)) is "[object IDBKeyRange]"
+PASS Object.prototype.toString.call(IDBKeyRange.only(0).__proto__) is "[object IDBKeyRange]"
+PASS Object.prototype.toString.call(IDBKeyRange.prototype) is "[object IDBKeyRange]"
+PASS Object.prototype.toString.call(document.createElement('img')) is "[object HTMLImageElement]"
+PASS Object.prototype.toString.call(document.createElement('img').__proto__) is "[object HTMLImageElement]"
+PASS Object.prototype.toString.call(new Image) is "[object HTMLImageElement]"
+PASS Object.prototype.toString.call((new Image).__proto__) is "[object HTMLImageElement]"
+PASS Object.prototype.toString.call(HTMLImageElement.prototype) is "[object HTMLImageElement]"
+PASS Object.prototype.toString.call(new TransitionEvent('')) is "[object TransitionEvent]"
+PASS Object.prototype.toString.call(new WebKitTransitionEvent('')) is "[object TransitionEvent]"
+PASS Object.prototype.toString.call(TransitionEvent.prototype) is "[object TransitionEvent]"
+PASS Object.prototype.toString.call(WebKitTransitionEvent.prototype) is "[object TransitionEvent]"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698