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

Unified Diff: LayoutTests/fast/dom/custom/document-register-type-extensions-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-type-extensions-expected.txt
diff --git a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
index 3045942f1f26375329aedaeaa5099070b7d90f09..677f11ddca95430c60f7f2b37c7d2aaa3fb375b3 100644
--- a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
+++ b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt
@@ -1,9 +1,9 @@
-Testing document.register() type extension behaviours through createElement().
+Testing document.registerElement() type extension behaviours through createElement().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.register("x-foo", { prototype: Object.create(HTMLDivElement.prototype) }) threw exception InvalidStateError: Failed to execute 'register' on 'Document': Registration failed for type 'x-foo'. A type with that name is already registered..
+PASS document.registerElement("x-foo", { prototype: Object.create(HTMLDivElement.prototype) }) threw exception InvalidStateError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'x-foo'. A type with that name is already registered..
PASS fooNewed.outerHTML is "<x-foo></x-foo>"
PASS fooNewed instanceof fooConstructor && fooNewed instanceof HTMLElement is true
PASS fooNewed instanceof HTMLUnknownElement is false
« no previous file with comments | « LayoutTests/fast/dom/custom/document-register-type-extensions.html ('k') | LayoutTests/fast/dom/custom/element-names.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698