| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS A "constructor" that is not a constructor |
| 3 PASS Invalid names |
| 4 PASS Duplicate name |
| 5 PASS Duplicate name defined recursively |
| 6 PASS Reused constructor |
| 7 PASS HTMLElement constructor looks up definitions in the current global-reused c
onstructor |
| 8 FAIL Invalid extends value assert_throws: extends value must not be valid custom
ized element name function "() => { |
| 9 try { |
| 10 func.call(this); |
| 11 } catch(e) { |
| 12 exception = e; |
| 13 throw e; |
| 14 } |
| 15 }" did not throw |
| 16 FAIL Invalid extends value assert_throws: extends value cannot be HTMLUnknownEle
ment function "() => { |
| 17 try { |
| 18 func.call(this); |
| 19 } catch(e) { |
| 20 exception = e; |
| 21 throw e; |
| 22 } |
| 23 }" did not throw |
| 24 FAIL Localname should be extends value not defined-name promise_test: Unhandled
rejection with value: object "TypeError: Illegal constructor" |
| 25 PASS HTMLElement constructor looks up definitions in the current global |
| 26 PASS Reused constructor recursively |
| 27 PASS Define while element definition is running |
| 28 PASS Define while element definition is running in a separate registry |
| 29 PASS Element definition flag resets before upgrades |
| 30 PASS Order of checks |
| 31 PASS Upgrade: existing elements |
| 32 PASS Upgrade: sets prototype of existing elements |
| 33 PASS Upgrade: shadow tree |
| 34 PASS If an exception is thrown, rethrow that exception and terminate the algorit
hm |
| 35 PASS Rethrow any exceptions thrown while getting prototype |
| 36 PASS Retrieved prototype is a non-object |
| 37 PASS Rethrow any exceptions thrown while retrieving attributeChangedCallback |
| 38 PASS Rethrow any exceptions thrown while retrieving disconnectedCallback |
| 39 PASS Rethrow any exceptions thrown while retrieving connectedCallback |
| 40 PASS If retrieved callback attributeChangedCallback is not undefined and not cal
lable, throw TypeError |
| 41 PASS If retrieved callback disconnectedCallback is not undefined and not callabl
e, throw TypeError |
| 42 PASS If retrieved callback connectedCallback is not undefined and not callable,
throw TypeError |
| 43 PASS Rethrow any exceptions thrown while getting observedAttributes |
| 44 PASS exception thrown while converting observedAttributes to sequence<DOMString>
should be rethrown |
| 45 PASS Get(constructor, observedAttributes) should not execute if attributeChanged
Callback is undefined |
| 46 PASS Invalid constructor |
| 47 PASS Invalid constructor |
| 48 PASS Invalid constructor |
| 49 Harness: the test ran to completion. |
| 50 |
| OLD | NEW |