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

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

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years 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 4eadbee60868ea9d5fbe62aacdf760a49e52844b..aecf9311aafd5cf41afd68c1bbba0105039079b5 100644
--- a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
+++ b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
@@ -1,4 +1,4 @@
-Testing document.register() basic behaviors.
+Testing document.registerElement() basic behaviors.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -6,9 +6,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS typeof fooConstructor is "function"
PASS fooConstructor.prototype.__proto__ is HTMLElement.prototype
PASS fooConstructor.prototype.thisIsPrototype is true
-PASS document.register("x-bad-a", HTMLElement) threw exception NotSupportedError: Failed to execute 'register' on 'Document': Registration failed for type 'x-bad-a'. The prototype is already in-use as an interface prototype object..
-PASS document.register("x-bad-b", fooConstructor) threw exception NotSupportedError: Failed to execute 'register' on 'Document': Registration failed for type 'x-bad-b'. The prototype is already in-use as an interface prototype object..
-PASS document.register("x-bad-c", { prototype: proto }) threw exception NotSupportedError: Failed to execute 'register' on 'Document': Registration failed for type 'x-bad-c'. Prototype constructor property is not configurable..
+PASS document.registerElement("x-bad-a", HTMLElement) threw exception NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'x-bad-a'. The prototype is already in-use as an interface prototype object..
+PASS document.registerElement("x-bad-b", fooConstructor) threw exception NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'x-bad-b'. The prototype is already in-use as an interface prototype object..
+PASS document.registerElement("x-bad-c", { prototype: proto }) threw exception NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'x-bad-c'. Prototype constructor property is not configurable..
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

Powered by Google App Engine
This is Rietveld 408576698