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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Verify 'class string' binding for WebIDL
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS Object.prototype.toString.call(window) is "[object Window]"
7 PASS Object.prototype.toString.call(window.__proto__) is "[object Window]"
8 PASS Object.prototype.toString.call(Window.prototype) is "[object Window]"
9 PASS Object.prototype.toString.call(document.head.classList) is "[object DOMToke nList]"
10 FAIL Object.prototype.toString.call(document.head.classList[Symbol.iterator]()) should be [object DOMTokenList Iterator]. Was [object Iterator].
11 FAIL Object.prototype.toString.call(document.head.classList[Symbol.iterator]()._ _proto__) should be [object DOMTokenListIterator]. Was [object Iterator].
12 PASS Object.prototype.toString.call(document) is "[object HTMLDocument]"
13 PASS Object.prototype.toString.call(document.__proto__) is "[object HTMLDocument ]"
14 PASS Object.prototype.toString.call(HTMLDocument.prototype) is "[object HTMLDocu ment]"
15 PASS Object.prototype.toString.call(new Blob) is "[object Blob]"
16 PASS Object.prototype.toString.call((new Blob).__proto__) is "[object Blob]"
17 PASS Object.prototype.toString.call(Blob.prototype) is "[object Blob]"
18 PASS Object.prototype.toString.call(IDBKeyRange.only(0)) is "[object IDBKeyRange ]"
19 PASS Object.prototype.toString.call(IDBKeyRange.only(0).__proto__) is "[object I DBKeyRange]"
20 PASS Object.prototype.toString.call(IDBKeyRange.prototype) is "[object IDBKeyRan ge]"
21 PASS Object.prototype.toString.call(document.createElement('img')) is "[object H TMLImageElement]"
22 PASS Object.prototype.toString.call(document.createElement('img').__proto__) is "[object HTMLImageElement]"
23 PASS Object.prototype.toString.call(new Image) is "[object HTMLImageElement]"
24 PASS Object.prototype.toString.call((new Image).__proto__) is "[object HTMLImage Element]"
25 PASS Object.prototype.toString.call(HTMLImageElement.prototype) is "[object HTML ImageElement]"
26 PASS Object.prototype.toString.call(new TransitionEvent('')) is "[object Transit ionEvent]"
27 PASS Object.prototype.toString.call(new WebKitTransitionEvent('')) is "[object T ransitionEvent]"
28 PASS Object.prototype.toString.call(TransitionEvent.prototype) is "[object Trans itionEvent]"
29 PASS Object.prototype.toString.call(WebKitTransitionEvent.prototype) is "[object TransitionEvent]"
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698