Re: [html-tests] Add promise rejection tracking tests (#2388)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 2d5a139f5a1eae176ee82edceb9ddac577e8246d
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/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/allow-crossorigin.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/allow-crossorigin.html</a></summary>


|                                    Subtest                                    | Results |
|-------------------------------------------------------------------------------|---------|
|                                                                               | TIMEOUT |
| `Promise rejection event should be received for the cross-origin CORS script` | TIMEOUT |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/disallow-crossorigin.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/disallow-crossorigin.html</a></summary>


|                                  Subtest                                   | Results |
|----------------------------------------------------------------------------|---------|
|                                                                            | OK      |
| `Promise rejection event should be muted for cross-origin non-CORS script` | PASS    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-onerror.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-onerror.html</a></summary>


|                                  Subtest                                   | Results |
|----------------------------------------------------------------------------|---------|
|                                                                            | TIMEOUT |
| `Throwing inside an unhandledrejection handler invokes the error handler.` | TIMEOUT |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.serviceworker.https.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.serviceworker.https.html</a></summary>


|                                                                                                   Subtest                                                                                                    | Results |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                                                                                                              | TIMEOUT |
| `unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection`                                                                                                      | TIMEOUT |
| `delayed handling: a nested-postMessageTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler`                                                       | TIMEOUT |
| `unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection`                                                                                        | TIMEOUT |
| `unhandledrejection: from Promise.reject`                                                                                                                                                                    | TIMEOUT |
| `mutationObserverMicrotask vs. postMessageTask ordering is not disturbed inside unhandledrejection events`                                                                                                   | TIMEOUT |
| `unhandledrejection: from a setTimeout-delayed rejection`                                                                                                                                                    | TIMEOUT |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout`                                                                     | PASS    |
| `delayed handling: delaying handling by setTimeout(,10) will cause both events to fire`                                                                                                                      | PASS    |
| `delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)`                                                                     | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler`                             | PASS    |
| `delayed handling: a nested-task delay before attaching a handler causes unhandledrejection`                                                                                                                 | TIMEOUT |
| `no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler` | PASS    |
| `delayed handling: a nested-postMessageTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler`                                                            | TIMEOUT |
| `delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)`                                                                                       | PASS    |
| `unhandledrejection: from a throw in a fulfillment handler`                                                                                                                                                  | TIMEOUT |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a postMessageTask`                                                                | PASS    |
| `delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all`                                                                         | PASS    |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks`                                                                                              | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask`                                                                                              | PASS    |
| `unhandledrejection: from a throw in a rejection handler chained off of Promise.reject`                                                                                                                      | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject`                                                                                          | PASS    |
| `Service worker setup`                                                                                                                                                                                       | PASS    |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a postMessageTask`                                                                | PASS    |
| `delayed handling: a nested-postMessageTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler`                                                      | TIMEOUT |
| `unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler`                                                                                                             | TIMEOUT |
| `unhandledrejection: from a synchronous rejection in new Promise`                                                                                                                                            | TIMEOUT |
| `unhandledrejection: from a task-delayed rejection`                                                                                                                                                          | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise`                                                              | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all`                                                         | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout`                                                                     | PASS    |
| `unhandledrejection: from Promise.reject, indirected through Promise.all`                                                                                                                                    | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler`                                                               | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler`                               | PASS    |
| `unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler`                                                                                                                 | TIMEOUT |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html</a></summary>


|                                Subtest                                | Results |
|-----------------------------------------------------------------------|---------|
|                                                                       | OK      |
| `This tests the constructor for the PromiseRejectionEvent DOM class.` | FAIL    |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.worker.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.worker.html</a></summary>


| Subtest | Results |
|---------|---------|
|         | TIMEOUT |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.html</a></summary>


|                                                                                                   Subtest                                                                                                    | Results |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                                                                                                              | TIMEOUT |
| `delayed handling: a task delay before attaching a handler prevents unhandledrejection`                                                                                                                      | PASS    |
| `unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection`                                                                                                      | TIMEOUT |
| `delayed handling: a nested-postMessageTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler`                                                       | TIMEOUT |
| `delayed handling: postMessageTask after promise creation/rejection, plus promise microtasks, is not too late to attach a rejection handler`                                                                 | PASS    |
| `postMessageTask ordering vs. the task queued for unhandled rejection notification (2)`                                                                                                                      | TIMEOUT |
| `unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection`                                                                                        | TIMEOUT |
| `unhandledrejection: from Promise.reject`                                                                                                                                                                    | TIMEOUT |
| `mutationObserverMicrotask vs. postMessageTask ordering is not disturbed inside unhandledrejection events`                                                                                                   | TIMEOUT |
| `unhandledrejection: from a setTimeout-delayed rejection`                                                                                                                                                    | TIMEOUT |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout`                                                                     | PASS    |
| `delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)`                                                                     | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler`                             | PASS    |
| `delayed handling: a nested-task delay before attaching a handler causes unhandledrejection`                                                                                                                 | TIMEOUT |
| `no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler` | PASS    |
| `delayed handling: a nested-postMessageTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler`                                                            | TIMEOUT |
| `delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)`                                                                                       | PASS    |
| `unhandledrejection: from a throw in a fulfillment handler`                                                                                                                                                  | TIMEOUT |
| `delayed handling: postMessageTask before promise creation/rejection, plus many promise microtasks, is not too late to attach a rejection handler`                                                           | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a postMessageTask`                                                                | PASS    |
| `delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all`                                                                         | PASS    |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks`                                                                                              | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask`                                                                                              | PASS    |
| `unhandledrejection: from a throw in a rejection handler chained off of Promise.reject`                                                                                                                      | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject`                                                                                          | PASS    |
| `delayed handling: delaying handling by setTimeout(,10) will cause both events to fire`                                                                                                                      | PASS    |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a postMessageTask`                                                                | PASS    |
| `delayed handling: a nested-postMessageTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler`                                                      | TIMEOUT |
| `delayed handling: postMessageTask after promise creation/rejection, plus many promise microtasks, is not too late to attach a rejection handler`                                                            | PASS    |
| `unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler`                                                                                                             | TIMEOUT |
| `unhandledrejection: from a synchronous rejection in new Promise`                                                                                                                                            | TIMEOUT |
| `unhandledrejection: from a task-delayed rejection`                                                                                                                                                          | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise`                                                              | PASS    |
| `rejectionhandled is dispatched from a queued task, and not immediately`                                                                                                                                     | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all`                                                         | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout`                                                                     | PASS    |
| `unhandledrejection: from Promise.reject, indirected through Promise.all`                                                                                                                                    | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler`                                                               | PASS    |
| `postMessageTask ordering vs. the task queued for unhandled rejection notification (1)`                                                                                                                      | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler`                               | PASS    |
| `unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler`                                                                                                                 | TIMEOUT |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.sharedworker.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.sharedworker.html</a></summary>


|                                                                                                   Subtest                                                                                                    | Results |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|                                                                                                                                                                                                              | TIMEOUT |
| `unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection`                                                                                                      | TIMEOUT |
| `delayed handling: a nested-postMessageTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler`                                                       | TIMEOUT |
| `unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection`                                                                                        | TIMEOUT |
| `unhandledrejection: from Promise.reject`                                                                                                                                                                    | TIMEOUT |
| `mutationObserverMicrotask vs. postMessageTask ordering is not disturbed inside unhandledrejection events`                                                                                                   | TIMEOUT |
| `unhandledrejection: from a setTimeout-delayed rejection`                                                                                                                                                    | TIMEOUT |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout`                                                                     | PASS    |
| `delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)`                                                                     | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler`                             | PASS    |
| `delayed handling: a nested-task delay before attaching a handler causes unhandledrejection`                                                                                                                 | TIMEOUT |
| `no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler` | PASS    |
| `delayed handling: a nested-postMessageTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler`                                                            | TIMEOUT |
| `delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)`                                                                                       | PASS    |
| `unhandledrejection: from a throw in a fulfillment handler`                                                                                                                                                  | TIMEOUT |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a postMessageTask`                                                                | PASS    |
| `delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all`                                                                         | PASS    |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks`                                                                                              | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask`                                                                                              | PASS    |
| `unhandledrejection: from a throw in a rejection handler chained off of Promise.reject`                                                                                                                      | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject`                                                                                          | PASS    |
| `delayed handling: delaying handling by setTimeout(,10) will cause both events to fire`                                                                                                                      | PASS    |
| `microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a postMessageTask`                                                                | PASS    |
| `delayed handling: a nested-postMessageTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler`                                                      | TIMEOUT |
| `unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler`                                                                                                             | TIMEOUT |
| `unhandledrejection: from a synchronous rejection in new Promise`                                                                                                                                            | TIMEOUT |
| `unhandledrejection: from a task-delayed rejection`                                                                                                                                                          | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise`                                                              | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all`                                                         | PASS    |
| `microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout`                                                                     | PASS    |
| `unhandledrejection: from Promise.reject, indirected through Promise.all`                                                                                                                                    | TIMEOUT |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler`                                                               | PASS    |
| `no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler`                               | PASS    |
| `unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler`                                                                                                                 | TIMEOUT |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/2388/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-attached-in-event.html">/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-attached-in-event.html</a></summary>


|                                     Subtest                                      | Results |
|----------------------------------------------------------------------------------|---------|
|                                                                                  | TIMEOUT |
| `Attaching a handler in unhandledrejection should not trigger rejectionhandled.` | TIMEOUT |

</details>

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

Received on Wednesday, 8 February 2017 21:23:50 UTC