OLD | NEW |
1 Tests that a 'toggle' event is fired asynchronously whenever the open attribute
is added to or removed from a details element. | 1 Tests that a 'toggle' event is fired asynchronously whenever the open attribute
is added to or removed from a details element. |
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 details.ontoggle.__proto__ is Function.prototype | 6 PASS details.ontoggle.__proto__ is Function.prototype |
7 PASS details.open is false | 7 PASS details.open is false |
8 PASS toggleEventCount is 0 | 8 PASS toggleEventCount is 0 |
9 PASS toggleEventCountFromHTMLAttribute is 0 | 9 PASS toggleEventCountFromHTMLAttribute is 0 |
10 PASS toggleEventCount is 0 | 10 PASS toggleEventCount is 0 |
11 PASS toggleEventCountFromHTMLAttribute is 0 | 11 PASS toggleEventCountFromHTMLAttribute is 0 |
12 PASS testEvent.__proto__ is Event.prototype | 12 PASS testEvent.__proto__ is Event.prototype |
13 PASS testEvent.type is "toggle" | 13 PASS testEvent.type is "toggle" |
14 PASS testEvent.__proto__ is Event.prototype | 14 PASS testEvent.__proto__ is Event.prototype |
15 PASS testEvent.type is "toggle" | 15 PASS testEvent.type is "toggle" |
16 PASS toggleEventCount is 1 | 16 PASS toggleEventCount is 1 |
17 PASS toggleEventCountFromHTMLAttribute is 1 | 17 PASS toggleEventCountFromHTMLAttribute is 1 |
18 PASS details.open is true | 18 PASS details.open is true |
19 PASS testEvent.__proto__ is Event.prototype | 19 PASS testEvent.__proto__ is Event.prototype |
20 PASS testEvent.type is "toggle" | 20 PASS testEvent.type is "toggle" |
21 PASS testEvent.__proto__ is Event.prototype | 21 PASS testEvent.__proto__ is Event.prototype |
22 PASS testEvent.type is "toggle" | 22 PASS testEvent.type is "toggle" |
23 PASS toggleEventCount is 2 | 23 PASS toggleEventCount is 2 |
24 PASS toggleEventCountFromHTMLAttribute is 2 | 24 PASS toggleEventCountFromHTMLAttribute is 2 |
25 PASS details.open is false | 25 PASS details.open is false |
26 PASS successfullyParsed is true | 26 PASS successfullyParsed is true |
27 | 27 |
28 TEST COMPLETE | 28 TEST COMPLETE |
29 details | 29 details |
OLD | NEW |