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

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

Issue 23717043: Implement Custom Elements 'extends' option. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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-basic-expected.txt
diff --git a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
index f9337e34be898cfb293a76b3d65cb5214f4df44c..fb4e71553a9e060a5b9e655364bc49a0650ffa50 100644
--- a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
+++ b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
@@ -9,8 +9,6 @@ PASS fooConstructor.prototype.thisIsPrototype is true
PASS document.register("x-bad-a", HTMLElement) threw exception NotSupportedError: Failed to call 'register' on 'Document' for type 'x-bad-a': prototype is already in-use as an interface prototype object..
PASS document.register("x-bad-b", fooConstructor) threw exception NotSupportedError: Failed to call 'register' on 'Document' for type 'x-bad-b': prototype is already in-use as an interface prototype object..
PASS document.register("x-bad-c", { prototype: proto }) threw exception NotSupportedError: Failed to call 'register' on 'Document' for type 'x-bad-c': prototype constructor property is not configurable..
-PASS document.register("x-bad-d", { prototype: {} }) threw exception InvalidStateError: Failed to call 'register' on 'Document' for type 'x-bad-d': the prototype does not extend an HTML or SVG element..
-PASS document.register("x-bad-e", { prototype: Object.create(Document.prototype) }) threw exception InvalidStateError: Failed to call 'register' on 'Document' for type 'x-bad-e': the prototype does not extend an HTML or SVG element..
PASS fooConstructor() threw exception TypeError: DOM object constructor cannot be called as a function..
PASS createdFoo.__proto__ is fooConstructor.prototype
PASS createdFoo.constructor is fooConstructor
« no previous file with comments | « LayoutTests/fast/dom/custom/document-register-basic.html ('k') | LayoutTests/fast/dom/custom/document-register-namespace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698