Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -12/+13 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Remove global argument from Promise::new_in_current_realm. | Josh Matthews | 2023-05-20 | 1 | -1/+1 |
| | |||||
* | serviceworker: make job queue unique per origin | Gregory Terzian | 2020-05-21 | 1 | -30/+164 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -4/+2 |
| | |||||
* | rename compartment to realm | Kunal Mohan | 2020-01-24 | 1 | -3/+3 |
| | |||||
* | Use the newly added inCompartments option everywhere it can be | Bastien Orivel | 2019-05-25 | 1 | -7/+8 |
| | |||||
* | Update Worker webidl to support WorkerOptions | CYBAI | 2019-05-11 | 1 | -1/+2 |
| | |||||
* | Pass InCompartment by value | Aron Zwaan | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | Add proof parameter to Promise::new_in_current_compartment | Aron Zwaan | 2019-04-24 | 1 | -2/+6 |
| | |||||
* | Rename Promise::new to Promise::new_in_current_compartment | Aron Zwaan | 2019-04-03 | 1 | -1/+2 |
| | |||||
* | Remove now-unnecessary must_root and allow(unrooted_must_root) annotations | Manish Goregaokar | 2019-01-04 | 1 | -1/+1 |
| | |||||
* | Explain unrooted_must_root on ServiceWorkerContainer::Register | Manish Goregaokar | 2019-01-04 | 1 | -3/+4 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -2/+4 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -13/+13 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -14/+24 |
| | |||||
* | Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) | Simon Sapin | 2017-11-09 | 1 | -1/+0 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -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 Ramine | 2017-09-26 | 1 | -3/+3 |
| | | | | | | | 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 MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | |||||
* | Rename JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Make Promise::reject_error sound | Anthony Ramine | 2017-09-22 | 1 | -7/+6 |
| | |||||
* | Introduce MainThreadScriptMsg::DispatchJobQueue | Anthony Ramine | 2017-09-17 | 1 | -1/+1 |
| | | | | This removes the last remaining use of Task::run_with_script_thread | ||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -2/+2 |
| | | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS. | ||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Initial work on job queues for service workers | Rahul Sharma | 2016-11-22 | 1 | -32/+23 |
| | |||||
* | Add more event names to atom list; use more `atom` macros. | Corey Farwell | 2016-11-06 | 1 | -2/+1 |
| | |||||
* | Migrate `EventTarget` event firing functions to use `Atom`s. | Corey Farwell | 2016-11-03 | 1 | -1/+2 |
| | | | | This allows us to utilize more `atom` macros. | ||||
* | Remove "fire a simple event" concept, refactor event firing API. | Corey Farwell | 2016-11-03 | 1 | -1/+1 |
| | | | | | "fire a simple event" concept was removed in https://github.com/whatwg/html/pull/1933. | ||||
* | Add Promises to Service Worker Container | Patrick Trottier | 2016-10-31 | 1 | -10/+31 |
| | | | | The purpose of the code changes is to enable the use of promises in the Service Worker container. I also modified the Service Worker test in order to support the promises. | ||||
* | Rename Reflectable::global_scope to global | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Introduce GlobalScope::api_base_url | Anthony Ramine | 2016-10-06 | 1 | -2/+3 |
| | |||||
* | Introduce Reflectable::global_scope | Anthony Ramine | 2016-10-06 | 1 | -5/+3 |
| | |||||
* | Introduce GlobalScope::pipeline_id | Anthony Ramine | 2016-10-06 | 1 | -2/+5 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Replace instances of old ServiceWorker specification URL with new one | Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ) | 2016-09-25 | 1 | -2/+2 |
| | | | | | | 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=jdm | bors-servo | 2016-09-15 | 1 | -2/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 enum | Rahul Sharma | 2016-09-15 | 1 | -2/+1 |
| | | |||||
* | | Use fn pipeline_id consistently, not fn pipeline | Aneesh Agrawal | 2016-09-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -1/+1 |
|/ | |||||
* | Dispatch events to service worker object and refactor html tests | Rahul Sharma | 2016-08-02 | 1 | -1/+3 |
| | |||||
* | Integrate service worker manager thread | Rahul Sharma | 2016-07-16 | 1 | -1/+1 |
| | |||||
* | implement related sw interface and register method | Rahul Sharma | 2016-06-02 | 1 | -0/+104 |