OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS deleteContents on Range must enqueue a disconnected reaction | |
3 PASS extractContents on Range must enqueue a disconnected reaction | |
4 PASS cloneContents on Range must enqueue an attributeChanged reaction when cloni
ng an element with an observed attribute | |
5 PASS cloneContents on Range must not enqueue an attributeChanged reaction when c
loning an element with an unobserved attribute | |
6 PASS cloneContents on Range must enqueue an attributeChanged reaction when cloni
ng an element only for observed attributes | |
7 PASS insertNode on Range must enqueue a connected reaction | |
8 PASS insertNode on Range must enqueue a disconnected reaction, an adopted reacti
on, and a connected reaction when the custom element was in another document | |
9 PASS surroundContents on Range must enqueue a connected reaction | |
10 PASS surroundContents on Range must enqueue a disconnected reaction, an adopted
reaction, and a connected reaction when the custom element was in another docume
nt | |
11 FAIL createContextualFragment on Range must construct a custom element assert_eq
uals: expected (function) function "class CustomElement extends HTMLElement { | |
12 constructor() { | |
13 super(); | |
14 log.push({type: 'constructed', element: this}); | |
15 } | |
16 attributeChangedCallback(...args) { | |
17 log.push(create_attribute_changed_callback_log(this, ...args)); | |
18 } | |
19 connectedCallback() { log.push({type: 'connected', element: this}); } | |
20 disconnectedCallback() { log.push({type: 'disconnected', element: this})
; } | |
21 adoptedCallback(oldDocument, newDocument) { log.push({type: 'adopted', e
lement: this, oldDocument: oldDocument, newDocument: newDocument}); } | |
22 }" but got (object) object "[object HTMLElement]" | |
23 Harness: the test ran to completion. | |
24 | |
OLD | NEW |