servo/components/script
bors-servo 0ea0ade71d Auto merge of #13574 - creativcoder:job-iface, r=jdm
Implement job queue for ServiceWorkerRegistration

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

Fixes #13424
As of now this PR (Work in Progress), will try to implement (partially) on algorithms namely : [Schedule_Job](https://w3c.github.io/ServiceWorker/#schedule-job-algorithm), [Run_Job](https://w3c.github.io/ServiceWorker/#run-job-algorithm), [Register_Job](https://w3c.github.io/ServiceWorker/#register-algorithm).

 An issue that needs to be addressed:
Resolving the promise value after queueing it as a `dom_manipulation_task` by wrapping it in a runnable `RunJobHandler` (which holds a `TrustedPromise`) and trying to call `resolve_native` results in a crash. [stack trace](http://paste.ofcode.org/zdjJ9npBgX6JsyWQkJjnYk)

@jdm I am not sure what's causing the crash ?

---

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- 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/13574)

<!-- Reviewable:end -->
2016-11-21 14:52:02 -06:00
..
docs
dom Auto merge of #13574 - creativcoder:job-iface, r=jdm 2016-11-21 14:52:02 -06:00
task_source Properly implement TaskSource for NetworkingTaskSource 2016-11-11 14:50:42 -08:00
body.rs Rename Reflectable::global_scope to global 2016-10-06 21:36:41 +02:00
build.rs
Cargo.toml Make ServoParser::pending_input hold onto a BufferQueue 2016-11-18 10:12:06 +01:00
clipboard_provider.rs
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Replace script thread root browsing context by a collection of documents. 2016-11-08 10:48:58 -06:00
document_loader.rs Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
fetch.rs Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
layout_wrapper.rs Rename selector_impl.rs to selector_parser.rs 2016-11-20 15:30:37 +01:00
lib.rs Initial work on job queues for service workers 2016-11-22 01:29:37 +05:30
mem.rs
network_listener.rs Properly implement TaskSource for NetworkingTaskSource 2016-11-11 14:50:42 -08:00
origin.rs Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
script_runtime.rs Remove GlobalRoot and GlobalRef 2016-10-06 21:36:00 +02:00
script_thread.rs Initial work on job queues for service workers 2016-11-22 01:29:37 +05:30
serviceworker_manager.rs Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
serviceworkerjob.rs Initial work on job queues for service workers 2016-11-22 01:29:37 +05:30
textinput.rs Return KeyReaction::Nothing for a Tab event 2016-11-12 15:49:00 +01:00
timers.rs Use a timer callback when re-establishing a connection 2016-11-11 14:52:20 -08:00
unpremultiplytable.rs
webdriver_handlers.rs Remove redundant url clones 2016-11-18 12:39:22 +08:00