aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/serviceworkerregistration.rs
Commit message (Collapse)AuthorAgeFilesLines
* Introduce NavigationPreloadManager for ServiceWorkerRegistrationCYBAI2018-12-081-3/+39
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Update webidl of ServiceWorkerRegistrationCYBAI2018-11-111-0/+9
|
* Reorder importsPyfisch2018-11-061-2/+4
|
* `cargo fix --edition`Simon Sapin2018-11-061-9/+9
|
* Format script componentchansuke2018-09-191-11/+24
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-12/+12
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-5/+5
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Initial work on job queues for service workersRahul Sharma2016-11-221-9/+29
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-6/+6
|
* Make create_scope_things take a &GlobalScopeAnthony Ramine2016-10-061-7/+5
|
* Make prepare_workerscope_init take a &GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-2/+2
|
* Introduce GlobalScope::devtools_chanAnthony Ramine2016-10-061-2/+4
|
* Introduce GlobalScope::get_next_worker_idAnthony Ramine2016-10-061-1/+1
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-1/+2
|
* Remove ScopeThings::pipeline_idAnthony Ramine2016-10-041-1/+0
| | | | It can be retrieved through its init field.
* Replace instances of old ServiceWorker specification URL with new oneVignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)2016-09-251-4/+4
| | | | | | The old specification URL is https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ has been replaced by the new one at https://w3c.github.io/ServiceWorker/.
* Auto merge of #12910 - creativcoder:swsender, r=jdmbors-servo2016-09-151-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 -->
| * make structured clone an enumRahul Sharma2016-09-151-4/+4
| |
| * store senders instead of buffering messagesRahul Sharma2016-09-071-7/+2
| |
| * Make service workers talk to their serviceworkerglobalscopesRahul Sharma2016-09-071-1/+6
| |
* | Use fn pipeline_id consistently, not fn pipelineAneesh Agrawal2016-09-131-2/+2
|/ | | | | | | | | | | | Consistently use the name 'pipeline_id' to refer to a function that returns an (optional) PipelineId. This was prompted by discovering both fn pipeline and fn pipeline_id doing the same job in htmliframeelement.rs. Note that there is fn pipeline in components/compositing/compositor.rs, but that actually returns an Option<&CompositionPipeline>, not any kind of PipelineId.
* Integrate service worker manager threadRahul Sharma2016-07-161-3/+41
|
* implement related sw interface and register methodRahul Sharma2016-06-021-0/+67