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

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

Issue 144063004: Add support for DOM4's XMLDocument interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove FIXME about XMLDocument.load() Created 6 years, 11 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
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
49 PASS classString(document.createTreeWalker(root, 0, null, false).constructor) is "Function" 49 PASS classString(document.createTreeWalker(root, 0, null, false).constructor) is "Function"
50 PASS document.createTreeWalker(root, 0, null, false).constructor.name is "TreeWa lker" 50 PASS document.createTreeWalker(root, 0, null, false).constructor.name is "TreeWa lker"
51 51
52 XML 52 XML
53 53
54 PASS classString(xmlDocument) is "Document" 54 PASS classString(xmlDocument) is "XMLDocument"
55 FAIL classString(xmlDocument.__proto__) should be DocumentPrototype. Was Object. 55 FAIL classString(xmlDocument.__proto__) should be XMLDocumentPrototype. Was Obje ct.
56 PASS classString(xmlDocument.constructor) is "Function" 56 PASS classString(xmlDocument.constructor) is "Function"
57 PASS xmlDocument.constructor.name is "Document" 57 PASS xmlDocument.constructor.name is "XMLDocument"
58 PASS classString(xmlDocument.createCDATASection()) is "CDATASection" 58 PASS classString(xmlDocument.createCDATASection()) is "CDATASection"
59 FAIL classString(xmlDocument.createCDATASection().__proto__) should be CDATASect ionPrototype. Was Object. 59 FAIL classString(xmlDocument.createCDATASection().__proto__) should be CDATASect ionPrototype. Was Object.
60 PASS classString(xmlDocument.createCDATASection().constructor) is "Function" 60 PASS classString(xmlDocument.createCDATASection().constructor) is "Function"
61 PASS xmlDocument.createCDATASection().constructor.name is "CDATASection" 61 PASS xmlDocument.createCDATASection().constructor.name is "CDATASection"
62 PASS classString(xmlDocument.createElementNS('x', 'x', 'x')) is "Element" 62 PASS classString(xmlDocument.createElementNS('x', 'x', 'x')) is "Element"
63 FAIL classString(xmlDocument.createElementNS('x', 'x', 'x').__proto__) should be ElementPrototype. Was Object. 63 FAIL classString(xmlDocument.createElementNS('x', 'x', 'x').__proto__) should be ElementPrototype. Was Object.
64 PASS classString(xmlDocument.createElementNS('x', 'x', 'x').constructor) is "Fun ction" 64 PASS classString(xmlDocument.createElementNS('x', 'x', 'x').constructor) is "Fun ction"
65 PASS xmlDocument.createElementNS('x', 'x', 'x').constructor.name is "Element" 65 PASS xmlDocument.createElementNS('x', 'x', 'x').constructor.name is "Element"
66 PASS classString(xmlDocument.createProcessingInstruction('x', '')) is "Processin gInstruction" 66 PASS classString(xmlDocument.createProcessingInstruction('x', '')) is "Processin gInstruction"
67 FAIL classString(xmlDocument.createProcessingInstruction('x', '').__proto__) sho uld be ProcessingInstructionPrototype. Was Object. 67 FAIL classString(xmlDocument.createProcessingInstruction('x', '').__proto__) sho uld be ProcessingInstructionPrototype. Was Object.
(...skipping 571 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

Powered by Google App Engine
This is Rietveld 408576698