servo/components/constellation
bors-servo 1d8283e010
Auto merge of #20329 - gterzian:before_unload, r=cbrewster
Implement beforeunload event and infrastructure

<!-- Please describe your changes on the following line: -->

Implementation of:
1. https://html.spec.whatwg.org/multipage/#prompt-to-unload-a-document, and
2. https://html.spec.whatwg.org/multipage/#unload-a-document
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #10787 and fix #20485 and fix #20588 and fix #20496 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20329)
<!-- Reviewable:end -->
2018-05-07 13:22:23 -04:00
..
browsingcontext.rs Implement diff-based session history 2018-04-05 18:23:21 -05:00
Cargo.toml delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
constellation.rs Auto merge of #20329 - gterzian:before_unload, r=cbrewster 2018-05-07 13:22:23 -04:00
event_loop.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
lib.rs delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
network_listener.rs Use FetchCanceller for document loads 2017-11-22 14:06:27 -08:00
pipeline.rs Implement history state 2018-04-16 10:21:15 -05:00
sandboxing.rs delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
session_history.rs Make session history aware of URLs 2018-04-24 15:13:11 -05:00
timer_scheduler.rs Terminate timer scheduler thread during shutdown 2017-03-30 14:27:40 +02:00