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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Testing document.register() type extension behaviours through createElement(). 1 Testing document.registerElement() type extension behaviours through createEleme nt().
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 document.register("x-foo", { prototype: Object.create(HTMLDivElement.protot ype) }) threw exception InvalidStateError: Failed to execute 'register' on 'Docu ment': Registration failed for type 'x-foo'. A type with that name is already re gistered.. 6 PASS document.registerElement("x-foo", { prototype: Object.create(HTMLDivElement .prototype) }) threw exception InvalidStateError: Failed to execute 'registerEle ment' on 'Document': Registration failed for type 'x-foo'. A type with that name is already registered..
7 PASS fooNewed.outerHTML is "<x-foo></x-foo>" 7 PASS fooNewed.outerHTML is "<x-foo></x-foo>"
8 PASS fooNewed instanceof fooConstructor && fooNewed instanceof HTMLElement is tr ue 8 PASS fooNewed instanceof fooConstructor && fooNewed instanceof HTMLElement is tr ue
9 PASS fooNewed instanceof HTMLUnknownElement is false 9 PASS fooNewed instanceof HTMLUnknownElement is false
10 PASS barNewed.outerHTML is "<input is=\"x-bar\">" 10 PASS barNewed.outerHTML is "<input is=\"x-bar\">"
11 PASS barNewed instanceof barConstructor && barNewed instanceof HTMLInputElement is true 11 PASS barNewed instanceof barConstructor && barNewed instanceof HTMLInputElement is true
12 PASS isFormControl(barNewed) is true 12 PASS isFormControl(barNewed) is true
13 PASS bazNewed.outerHTML is "<x-baz></x-baz>" 13 PASS bazNewed.outerHTML is "<x-baz></x-baz>"
14 PASS bazNewed instanceof bazConstructor && bazNewed instanceof HTMLElement is tr ue 14 PASS bazNewed instanceof bazConstructor && bazNewed instanceof HTMLElement is tr ue
15 PASS bazNewed instanceof HTMLUnknownElement is false 15 PASS bazNewed instanceof HTMLUnknownElement is false
16 PASS quxNewed instanceof quxConstructor && quxNewed instanceof barConstructor && quxNewed instanceof HTMLInputElement is true 16 PASS quxNewed instanceof quxConstructor && quxNewed instanceof barConstructor && quxNewed instanceof HTMLInputElement is true
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 PASS divFooParsed instanceof HTMLDivElement is true 62 PASS divFooParsed instanceof HTMLDivElement is true
63 PASS namedBarParsed instanceof barConstructor is false 63 PASS namedBarParsed instanceof barConstructor is false
64 PASS namedBarParsed instanceof HTMLUnknownElement is false 64 PASS namedBarParsed instanceof HTMLUnknownElement is false
65 PASS namedBarParsed instanceof HTMLElement is true 65 PASS namedBarParsed instanceof HTMLElement is true
66 PASS divBarParsed instanceof barConstructor is false 66 PASS divBarParsed instanceof barConstructor is false
67 PASS divBarParsed instanceof HTMLDivElement is true 67 PASS divBarParsed instanceof HTMLDivElement is true
68 PASS successfullyParsed is true 68 PASS successfullyParsed is true
69 69
70 TEST COMPLETE 70 TEST COMPLETE
71 71
OLDNEW
« 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