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

Side by Side Diff: LayoutTests/fast/dom/wrapper-classes-expected.txt

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/wrapper-classes.html ('k') | LayoutTests/fast/js/constructor-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This tests wrapper class names for JavaScript. 1 This tests wrapper class names for JavaScript.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS successfullyParsed is true 6 PASS successfullyParsed is true
7 7
8 TEST COMPLETE 8 TEST COMPLETE
9 Basics 9 Basics
10 10
(...skipping 14 matching lines...) Expand all
25 PASS classString(document.implementation.constructor) is "Function" 25 PASS classString(document.implementation.constructor) is "Function"
26 PASS document.implementation.constructor.name is "DOMImplementation" 26 PASS document.implementation.constructor.name is "DOMImplementation"
27 PASS classString(root.attributes) is "NamedNodeMap" 27 PASS classString(root.attributes) is "NamedNodeMap"
28 FAIL classString(root.attributes.__proto__) should be NamedNodeMapPrototype. Was Object. 28 FAIL classString(root.attributes.__proto__) should be NamedNodeMapPrototype. Was Object.
29 PASS classString(root.attributes.constructor) is "Function" 29 PASS classString(root.attributes.constructor) is "Function"
30 PASS root.attributes.constructor.name is "NamedNodeMap" 30 PASS root.attributes.constructor.name is "NamedNodeMap"
31 PASS classString(document.createNodeIterator(root, 0, null, false)) is "NodeIter ator" 31 PASS classString(document.createNodeIterator(root, 0, null, false)) is "NodeIter ator"
32 FAIL classString(document.createNodeIterator(root, 0, null, false).__proto__) sh ould be NodeIteratorPrototype. Was Object. 32 FAIL classString(document.createNodeIterator(root, 0, null, false).__proto__) sh ould be NodeIteratorPrototype. Was Object.
33 PASS classString(document.createNodeIterator(root, 0, null, false).constructor) is "Function" 33 PASS classString(document.createNodeIterator(root, 0, null, false).constructor) is "Function"
34 PASS document.createNodeIterator(root, 0, null, false).constructor.name is "Node Iterator" 34 PASS document.createNodeIterator(root, 0, null, false).constructor.name is "Node Iterator"
35 PASS classString(document.getElementsByTagName('div')) is "NodeList" 35 PASS classString(document.getElementsByTagName('div')) is "HTMLCollection"
36 FAIL classString(document.getElementsByTagName('div').__proto__) should be NodeL istPrototype. Was Object. 36 FAIL classString(document.getElementsByTagName('div').__proto__) should be HTMLC ollectionPrototype. Was Object.
37 PASS classString(document.getElementsByTagName('div').constructor) is "Function" 37 PASS classString(document.getElementsByTagName('div').constructor) is "Function"
38 PASS document.getElementsByTagName('div').constructor.name is "NodeList" 38 PASS document.getElementsByTagName('div').constructor.name is "HTMLCollection"
39 PASS classString(document.createRange()) is "Range" 39 PASS classString(document.createRange()) is "Range"
40 FAIL classString(document.createRange().__proto__) should be RangePrototype. Was Object. 40 FAIL classString(document.createRange().__proto__) should be RangePrototype. Was Object.
41 PASS classString(document.createRange().constructor) is "Function" 41 PASS classString(document.createRange().constructor) is "Function"
42 PASS document.createRange().constructor.name is "Range" 42 PASS document.createRange().constructor.name is "Range"
43 PASS classString(document.createTextNode('')) is "Text" 43 PASS classString(document.createTextNode('')) is "Text"
44 FAIL classString(document.createTextNode('').__proto__) should be TextPrototype. Was Object. 44 FAIL classString(document.createTextNode('').__proto__) should be TextPrototype. Was Object.
45 PASS classString(document.createTextNode('').constructor) is "Function" 45 PASS classString(document.createTextNode('').constructor) is "Function"
46 PASS document.createTextNode('').constructor.name is "Text" 46 PASS document.createTextNode('').constructor.name is "Text"
47 PASS classString(document.createTreeWalker(root, 0, null, false)) is "TreeWalker " 47 PASS classString(document.createTreeWalker(root, 0, null, false)) is "TreeWalker "
48 FAIL classString(document.createTreeWalker(root, 0, null, false).__proto__) shou ld be TreeWalkerPrototype. Was Object. 48 FAIL classString(document.createTreeWalker(root, 0, null, false).__proto__) shou ld be TreeWalkerPrototype. Was Object.
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 PASS tagConstructorName('var') is "HTMLElement" 639 PASS tagConstructorName('var') is "HTMLElement"
640 PASS tagClassString('wbr') is "HTMLElement" 640 PASS tagClassString('wbr') is "HTMLElement"
641 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. 641 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object.
642 PASS tagConstructorClassString('wbr') is "Function" 642 PASS tagConstructorClassString('wbr') is "Function"
643 PASS tagConstructorName('wbr') is "HTMLElement" 643 PASS tagConstructorName('wbr') is "HTMLElement"
644 PASS tagClassString('xmp') is "HTMLPreElement" 644 PASS tagClassString('xmp') is "HTMLPreElement"
645 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec t. 645 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec t.
646 PASS tagConstructorClassString('xmp') is "Function" 646 PASS tagConstructorClassString('xmp') is "Function"
647 PASS tagConstructorName('xmp') is "HTMLPreElement" 647 PASS tagConstructorName('xmp') is "HTMLPreElement"
648 648
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/wrapper-classes.html ('k') | LayoutTests/fast/js/constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698