Re: [dom-tests] Add tests for Event.returnValue (#4305)

# Firefox #
Testing revision 7479cb86d6618c97bc0664b610b94588241670bb
Starting 10 test iterations
All results were stable

## All results ##

### [/dom/events/Event-initEvent.html](http://w3c-test.org/submissions/4305/dom/events/Event-initEvent.html) ###
|                               Subtest                               | Results |
|---------------------------------------------------------------------|---------|
|                                                                     | OK      |
| `Properties of initEvent(type, true, false)`                        | FAIL    |
| `Calling initEvent during propagation.`                             | PASS    |
| `Properties of initEvent(type, false, true)`                        | FAIL    |
| `Calling initEvent must unset the stop immediate propagation flag.` | PASS    |
| `Calling initEvent must unset the stop propagation flag.`           | PASS    |
| `Calling initEvent multiple times (getting type).`                  | PASS    |
| `Calling initEvent multiple times (not getting type).`              | PASS    |
| `Properties of initEvent(type, true, true)`                         | FAIL    |
| `Properties of initEvent(type, false, false)`                       | FAIL    |
| `Calling initEvent must not have an effect during dispatching.`     | PASS    |

### [/dom/events/AddEventListenerOptions-passive.html](http://w3c-test.org/submissions/4305/dom/events/AddEventListenerOptions-passive.html) ###
|                                          Subtest                                           | Results |
|--------------------------------------------------------------------------------------------|---------|
|                                                                                            | OK      |
| `passive behavior of one listener should be unaffected by the presence of other listeners` | PASS    |
| `Equivalence of option values`                                                             | PASS    |
| `Supports passive option on addEventListener only`                                         | PASS    |
| `returnValue should be ignored if-and-only-if the passive option is true`                  | FAIL    |
| `preventDefault should be ignored if-and-only-if the passive option is true`               | PASS    |

### [/dom/events/Event-defaultPrevented-after-dispatch.html](http://w3c-test.org/submissions/4305/dom/events/Event-defaultPrevented-after-dispatch.html) ###
|                 Subtest                 | Results |
|-----------------------------------------|---------|
|                                         | OK      |
| `Default prevention via returnValue`    | FAIL    |
| `Default prevention via preventDefault` | PASS    |

### [/dom/events/Event-returnValue.html](http://w3c-test.org/submissions/4305/dom/events/Event-returnValue.html) ###
| Subtest | Results |
|---------|---------|
|         | ERROR   |

### [/dom/events/EventTarget-dispatchEvent-returnvalue.html](http://w3c-test.org/submissions/4305/dom/events/EventTarget-dispatchEvent-returnvalue.html) ###
|                                   Subtest                                   | Results |
|-----------------------------------------------------------------------------|---------|
|                                                                             | OK      |
| `Return value of EventTarget.dispatchEvent() affected by preventDefault().` | FAIL    |
| `Return value of EventTarget.dispatchEvent() affected by returnValue.`      | FAIL    |

### [/dom/events/Event-dispatch-click.html](http://w3c-test.org/submissions/4305/dom/events/Event-dispatch-click.html) ###
|                             Subtest                             | Results |
|-----------------------------------------------------------------|---------|
|                                                                 | OK      |
| `event state during post-click handling`                        | FAIL    |
| `redispatch during post-click handling`                         | FAIL    |
| `disabled checkbox still has activation behavior`               | PASS    |
| `pick the first with activation behavior <a href>`              | FAIL    |
| `disconnected radio should be checked`                          | FAIL    |
| `disconnected form should not submit`                           | PASS    |
| `basic with wrong event class`                                  | PASS    |
| `disabled checkbox still has activation behavior, part 2`       | FAIL    |
| `pick the first with activation behavior <input type=checkbox>` | FAIL    |
| `disconnected checkbox should be checked`                       | FAIL    |
| `look at parents when event bubbles`                            | PASS    |
| `look at parents only when event bubbles`                       | FAIL    |
| `basic with click()`                                            | PASS    |
| `basic with dispatchEvent()`                                    | PASS    |

### [/dom/events/Event-defaultPrevented.html](http://w3c-test.org/submissions/4305/dom/events/Event-defaultPrevented.html) ###
|                                    Subtest                                    | Results |
|-------------------------------------------------------------------------------|---------|
|                                                                               | OK      |
| `returnValue should not change defaultPrevented if cancelable is false.`      | PASS    |
| `returnValue should change defaultPrevented if cancelable is true.`           | PASS    |
| `When an event is created, defaultPrevented should be initialized to false.`  | PASS    |
| `preventDefault() should not change defaultPrevented if cancelable is false.` | PASS    |
| `preventDefault() should change defaultPrevented if cancelable is true.`      | PASS    |
| `initEvent should work correctly (cancelable).`                               | PASS    |
| `initEvent should unset defaultPrevented.`                                    | PASS    |
| `initEvent should work correctly (not cancelable).`                           | PASS    |

### [/dom/events/Event-constructors.html](http://w3c-test.org/submissions/4305/dom/events/Event-constructors.html) ###
|         Subtest         | Results |
|-------------------------|---------|
|                         | OK      |
| `Event constructors 11` | PASS    |
| `Event constructors 10` | PASS    |
| `Event constructors`    | PASS    |
| `Event constructors 3`  | FAIL    |
| `Event constructors 2`  | FAIL    |
| `Event constructors 1`  | PASS    |
| `Event constructors 7`  | PASS    |
| `Event constructors 6`  | PASS    |
| `Event constructors 5`  | PASS    |
| `Event constructors 4`  | PASS    |
| `Event constructors 9`  | PASS    |
| `Event constructors 8`  | PASS    |
| `Event constructors 12` | PASS    |


View on GitHub: https://github.com/w3c/web-platform-tests/pull/4305#issuecomment-265930001

Received on Friday, 9 December 2016 04:19:39 UTC