| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS HTMLElement constructor, invoke |
| 3 PASS HTMLElement constructor, construct |
| 4 PASS Custom element constructor, invoke |
| 5 PASS Custom element constructor, construct |
| 6 PASS Custom element constructor, construct invalid new.target |
| 7 PASS Custom element constructor, NewTarget is equal to active function object |
| 8 PASS Custom element constructor, active function object is not equal to HTMLElem
ent |
| 9 FAIL Already constructed marker, construct with new assert_throws: Constructing
an element that is already constructed marker should throw InvalidStateError fun
ction "() => { |
| 10 try { |
| 11 func.call(this); |
| 12 } catch(e) { |
| 13 exception = e; |
| 14 throw e; |
| 15 } |
| 16 }" did not throw |
| 17 PASS Already constructed marker, create element |
| 18 PASS Already constructed marker, upgrade element |
| 19 Harness: the test ran to completion. |
| 20 |
| OLD | NEW |