1 Tests that a 'toggle' event is fired asynchronously whenever the open attribute is added to or removed from a details element.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS details.ontoggle.__proto__ is Function.prototype
7 PASS details.open is false
8 PASS toggleEventCount is 0
9 PASS toggleEventCountFromHTMLAttribute 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"
14 PASS testEvent.__proto__ is Event.prototype
15 PASS testEvent.type is "toggle"
16 PASS toggleEventCount is 1
17 PASS toggleEventCountFromHTMLAttribute is 1
18 PASS details.open is true
19 PASS testEvent.__proto__ is Event.prototype
20 PASS testEvent.type is "toggle"
21 PASS testEvent.__proto__ is Event.prototype
22 PASS testEvent.type is "toggle"
23 PASS toggleEventCount is 2
24 PASS toggleEventCountFromHTMLAttribute is 2
25 PASS details.open is false
26 PASS successfullyParsed is true