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

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

Issue 14776002: Create wrappers for unresolved Custom Elements at the correct type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use toV8 in the constructor. Remove unused variable. Created 7 years, 8 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/dom/custom/document-register-namespace-expected.txt
diff --git a/LayoutTests/fast/dom/custom/document-register-namespace-expected.txt b/LayoutTests/fast/dom/custom/document-register-namespace-expected.txt
index 1d17665ad030513378c61b3329a9ffaba4c798d4..1f4b40dc94fcb328ee555ec5996970afd47fff07 100644
--- a/LayoutTests/fast/dom/custom/document-register-namespace-expected.txt
+++ b/LayoutTests/fast/dom/custom/document-register-namespace-expected.txt
@@ -18,10 +18,14 @@ PASS svg3.tagName is 'svg-foo'
PASS svg3.namespaceURI is 'http://www.w3.org/2000/svg'
PASS notSVG1.namespaceURI is 'http://www.w3.org/1999/xhtml'
PASS notSVG1 instanceof CustomSVGElement is false
-PASS notSVG1 instanceof HTMLUnknownElement is true
+PASS notSVG1 instanceof HTMLUnknownElement is false
+PASS notSVG1 instanceof HTMLElement is true
+PASS Object.getPrototypeOf(notSVG1) is HTMLElement.prototype
PASS notSVG2.namespaceURI is 'http://www.w3.org/1999/xhtml'
PASS notSVG2 instanceof CustomSVGElement is false
-PASS notSVG2 instanceof HTMLUnknownElement is true
+PASS notSVG2 instanceof HTMLUnknownElement is false
+PASS notSVG2 instanceof HTMLElement is true
+PASS Object.getPrototypeOf(notSVG2) is HTMLElement.prototype
PASS document.register('xml-foo', { prototype: Object.create(Element.prototype) }) threw exception Error: NamespaceError: DOM Exception 14.
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698