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

Side by Side Diff: LayoutTests/fast/dom/custom/document-register-namespace-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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
1 Using document.register() for extending HTML and non-HTML elements. 1 Using document.register() for extending HTML and non-HTML elements.
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 html1.namespaceURI is 'http://www.w3.org/1999/xhtml' 6 PASS html1.namespaceURI is 'http://www.w3.org/1999/xhtml'
7 PASS html2.namespaceURI is 'http://www.w3.org/1999/xhtml' 7 PASS html2.namespaceURI is 'http://www.w3.org/1999/xhtml'
8 PASS html3.namespaceURI is 'http://www.w3.org/1999/xhtml' 8 PASS html3.namespaceURI is 'http://www.w3.org/1999/xhtml'
9 PASS html4.namespaceURI is 'http://www.w3.org/1999/xhtml' 9 PASS html4.namespaceURI is 'http://www.w3.org/1999/xhtml'
10 PASS notHTML.namespaceURI is 'http://www.example.com/' 10 PASS notHTML.namespaceURI is 'http://www.example.com/'
11 PASS notHTML instanceof CustomHTMLElement is false 11 PASS notHTML instanceof CustomHTMLElement is false
12 PASS notHTML instanceof HTMLElement is false 12 PASS notHTML instanceof HTMLElement is false
13 PASS svg1.tagName is 'svg-foo' 13 PASS svg1.tagName is 'svg-foo'
14 PASS svg1.namespaceURI is 'http://www.w3.org/2000/svg' 14 PASS svg1.namespaceURI is 'http://www.w3.org/2000/svg'
15 PASS svg2.tagName is 'svg-foo' 15 PASS svg2.tagName is 'svg-foo'
16 PASS svg2.namespaceURI is 'http://www.w3.org/2000/svg' 16 PASS svg2.namespaceURI is 'http://www.w3.org/2000/svg'
17 PASS svg3.tagName is 'svg-foo' 17 PASS svg3.tagName is 'svg-foo'
18 PASS svg3.namespaceURI is 'http://www.w3.org/2000/svg' 18 PASS svg3.namespaceURI is 'http://www.w3.org/2000/svg'
19 PASS notSVG1.namespaceURI is 'http://www.w3.org/1999/xhtml' 19 PASS notSVG1.namespaceURI is 'http://www.w3.org/1999/xhtml'
20 PASS notSVG1 instanceof CustomSVGElement is false 20 PASS notSVG1 instanceof CustomSVGElement is false
21 PASS notSVG1 instanceof HTMLUnknownElement is false 21 PASS notSVG1 instanceof HTMLUnknownElement is false
22 PASS notSVG1 instanceof HTMLElement is true 22 PASS notSVG1 instanceof HTMLElement is true
23 PASS Object.getPrototypeOf(notSVG1) is HTMLElement.prototype 23 PASS Object.getPrototypeOf(notSVG1) is HTMLElement.prototype
24 PASS notSVG2.namespaceURI is 'http://www.w3.org/1999/xhtml' 24 PASS notSVG2.namespaceURI is 'http://www.w3.org/1999/xhtml'
25 PASS notSVG2 instanceof CustomSVGElement is false 25 PASS notSVG2 instanceof CustomSVGElement is false
26 PASS notSVG2 instanceof HTMLUnknownElement is false 26 PASS notSVG2 instanceof HTMLUnknownElement is false
27 PASS notSVG2 instanceof HTMLElement is true 27 PASS notSVG2 instanceof HTMLElement is true
28 PASS Object.getPrototypeOf(notSVG2) is HTMLElement.prototype 28 PASS Object.getPrototypeOf(notSVG2) is HTMLElement.prototype
29 PASS document.register('xml-foo', { prototype: Object.create(Element.prototype) }) threw exception Error: NamespaceError: DOM Exception 14. 29 PASS document.register('xml-foo', { prototype: Object.create(Element.prototype) }) threw exception NamespaceError: An attempt was made to create or change an ob ject in a way which is incorrect with regard to namespaces..
30 PASS successfullyParsed is true 30 PASS successfullyParsed is true
31 31
32 TEST COMPLETE 32 TEST COMPLETE
33 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698