servo/components/constellation
bors-servo 0ec4ea4ee1 Auto merge of #12910 - creativcoder:swsender, r=jdm
Implement postMessage for ServiceWorkers

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

Fixes #12773
r? @jdm

Changes:
* Implements `postMessage` on `ServiceWorker` object.
* Removes unused channels from sw and their scopes.
* Fixes a crash when calling `scope.script_chan()` in sw-scopes event handling.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12773

<!-- Either: -->
- [X] There are tests for these changes at `tests/html/service-worker`

<!-- 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/12910)
<!-- Reviewable:end -->
2016-09-15 08:34:22 -05:00
..
Cargo.toml Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
constellation.rs Auto merge of #12910 - creativcoder:swsender, r=jdm 2016-09-15 08:34:22 -05:00
lib.rs Remove clipboard crate to due disallowed usage of GPL code 2016-07-20 11:44:55 -05:00
pipeline.rs Excise SubpageId and use only PipelineIds 2016-09-13 15:37:38 -04:00
sandboxing.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
timer_scheduler.rs Replace the one-thread-per-timeout model by a two-thread model of timeouts. 2016-05-20 13:59:12 -05:00