Re: [html-tests] Add tests for canceling beforeunload (#4800)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 5ecb60cbd6d5ea3a2ac73e83cc9af032c4a4bcd0
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/4800/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html">/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html</a></summary>


|                                    Subtest                                     | Results |
|--------------------------------------------------------------------------------|---------|
|                                                                                | OK      |
| `Returning undefined with a real iframe unloading; setting returnValue to foo` | PASS    |
| `Returning true with a real iframe unloading; setting returnValue to foo`      | PASS    |
| `Returning null with a real iframe unloading; setting returnValue to foo`      | PASS    |
| `Returning undefined with a real iframe unloading`                             | PASS    |
| `Returning 0 with a real iframe unloading; setting returnValue to foo`         | PASS    |
| `Returning  with a real iframe unloading; setting returnValue to foo`          | PASS    |
| `Returning null with a real iframe unloading`                                  | PASS    |
| `Returning a string must not cancel the event: CustomEvent, non-cancelable`    | PASS    |
| `Returning 0 with a real iframe unloading`                                     | PASS    |
| `Returning  with a real iframe unloading`                                      | PASS    |
| `Returning false with a real iframe unloading`                                 | PASS    |
| `Returning a string must not cancel the event: CustomEvent, cancelable`        | PASS    |
| `Returning false with a real iframe unloading; setting returnValue to foo`     | PASS    |
| `Returning true with a real iframe unloading`                                  | PASS    |

</details>

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

Received on Saturday, 11 February 2017 00:33:04 UTC