Re: [dom-tests] Add tests for event.srcElement (#4790)

# Firefox (nightly channel) #
Testing web-platform-tests at revision ab2fa21b2113d36c6e25604b18cc73e0333214cc
Using browser at version BuildID 20170123125947; SourceStamp 36486fdc3813ef7943ae5b07b4128866d1938a6c
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/Event-initEvent.html">/dom/events/Event-initEvent.html</a></summary>


|                               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    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/Event-defaultPrevented-after-dispatch.html">/dom/events/Event-defaultPrevented-after-dispatch.html</a></summary>


|                          Subtest                           | Results |
|------------------------------------------------------------|---------|
|                                                            | OK      |
| `Event.defaultPrevented is not reset after dipatchEvent()` | FAIL    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/EventListener-handleEvent.html">/dom/events/EventListener-handleEvent.html</a></summary>


|            Subtest             | Results |
|--------------------------------|---------|
|                                | OK      |
| `EventListener::handleEvent()` | FAIL    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/Event-dispatch-other-document.html">/dom/events/Event-dispatch-other-document.html</a></summary>


|                     Subtest                      | Results |
|--------------------------------------------------|---------|
|                                                  | OK      |
| `Custom event on an element in another document` | FAIL    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/Event-dispatch-click.html">/dom/events/Event-dispatch-click.html</a></summary>


|                             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    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/Event-constructors.html">/dom/events/Event-constructors.html</a></summary>


|         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    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4790/dom/events/Event-dispatch-detached-click.html">/dom/events/Event-dispatch-detached-click.html</a></summary>


|                                  Subtest                                   | Results |
|----------------------------------------------------------------------------|---------|
|                                                                            | OK      |
| `Click event can be dispatched to an element that is not in the document.` | FAIL    |
| `Click event on an element not in the document`                            | PASS    |

</details>

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

Received on Friday, 10 February 2017 00:45:09 UTC