1 This test ensures that the lifecycle callbacks of API-originated elements are visible in following script block.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS document.createElement('x-foo').callbacksCalled is true
7 PASS document.createElement('div', 'x-bar').callbacksCalled is true
8 PASS document.createElementNS('http://www.w3.org/1999/xhtml', 'x-foo').callbacksCalled is true
9 PASS document.createElementNS('http://www.w3.org/1999/xhtml', 'div', 'x-bar').callbacksCalled is true
10 PASS foo.cloneNode().callbacksCalled is true
11 PASS foo.cloneNode(true).firstChild.callbacksCalled is true
12 PASS bar.cloneNode().callbacksCalled is true
13 PASS bar.cloneNode(true).firstChild.callbacksCalled is true
14 PASS foreignFoo.callbacksCalled is true
15 PASS foreignFoo.firstChild.callbacksCalled is true
16 PASS importedFoo.callbacksCalled is true
17 PASS importedFoo.firstChild.callbacksCalled is true
18 PASS window.callbacksCalled is ['div', 'x-foo']
19 PASS importedBar.callbacksCalled is true
20 PASS importedBar.firstChild.callbacksCalled is true
21 PASS window.callbacksCalled is ['DIV', 'X-FOO']
22 PASS window.callbacksCalled is ['X-FOO']
23 PASS window.callbacksCalled is ['X-FOO']
24 PASS successfullyParsed is true