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.open is false | 7 PASS details.open is false |
7 PASS toggleEventCount is 0 | 8 PASS toggleEventCount is 0 |
| 9 PASS toggleEventCountFromHTMLAttribute is 0 |
8 PASS toggleEventCount is 0 | 10 PASS toggleEventCount is 0 |
| 11 PASS toggleEventCountFromHTMLAttribute is 0 |
| 12 PASS testEvent.__proto__ is Event.prototype |
| 13 PASS testEvent.type is "toggle" |
9 PASS testEvent.__proto__ is Event.prototype | 14 PASS testEvent.__proto__ is Event.prototype |
10 PASS testEvent.type is "toggle" | 15 PASS testEvent.type is "toggle" |
11 PASS toggleEventCount is 1 | 16 PASS toggleEventCount is 1 |
| 17 PASS toggleEventCountFromHTMLAttribute is 1 |
12 PASS details.open is true | 18 PASS details.open is true |
13 PASS testEvent.__proto__ is Event.prototype | 19 PASS testEvent.__proto__ is Event.prototype |
14 PASS testEvent.type is "toggle" | 20 PASS testEvent.type is "toggle" |
| 21 PASS testEvent.__proto__ is Event.prototype |
| 22 PASS testEvent.type is "toggle" |
15 PASS toggleEventCount is 2 | 23 PASS toggleEventCount is 2 |
| 24 PASS toggleEventCountFromHTMLAttribute is 2 |
16 PASS details.open is false | 25 PASS details.open is false |
17 PASS successfullyParsed is true | 26 PASS successfullyParsed is true |
18 | 27 |
19 TEST COMPLETE | 28 TEST COMPLETE |
20 details | 29 details |
OLD | NEW |