aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/worker.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Use task! to forward unhandled errors to worker objectsAnthony Ramine2017-09-181-46/+2
|
* Use task! to post worker messagesAnthony Ramine2017-09-181-21/+0
|
* Move Task to its own moduleAnthony Ramine2017-09-181-1/+1
|
* Rename Runnable to TaskAnthony Ramine2017-09-161-7/+7
| | | | | | | | | | | | The changes are: * `*Runnable` -> `*Task`; * `RunnableMsg` -> `Task`; * `RunnableWrapper` -> `TaskCanceller`; * `MainThreadRunnable` -> `MainThreadTask`; * `wrap_runnable` -> `wrap_task`; * `get_runnable_wrapper` -> `task_canceller`; * `handler` -> `run`; * `main_thread_handler` -> `run_with_script_thread`.
* Use absolute paths in the event handlers macrosAnthony Ramine2017-09-011-1/+0
|
* Untry scriptSimon Sapin2017-06-181-1/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Inline dom::eventdispatcher into dom::eventAnthony Ramine2017-01-221-2/+1
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* script creates methods taking '*mut JSContext' unsafeAbelardo E. Mendoza2016-11-141-1/+2
| | | | rebase + marked the necessary new code as unsafe
* Migrate `EventTarget` event firing functions to use `Atom`s.Corey Farwell2016-11-031-1/+1
| | | | This allows us to utilize more `atom` macros.
* Remove "fire a simple event" concept, refactor event firing API.Corey Farwell2016-11-031-1/+1
| | | | | "fire a simple event" concept was removed in https://github.com/whatwg/html/pull/1933.
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-1/+1
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-2/+2
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-11/+9
|
* Introduce GlobalScope::script_chanAnthony Ramine2016-10-061-1/+1
|
* Make prepare_workerscope_init take a &GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::report_an_errorAnthony Ramine2016-10-061-3/+3
|
* Introduce GlobalScope::api_base_urlAnthony Ramine2016-10-061-3/+3
|
* Make dispatch_jsval methods take a &GlobalScopeAnthony Ramine2016-10-061-5/+5
|
* Make StructuredCloneData::read take a &GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-3/+3
|
* Introduce GlobalScope::devtools_chanAnthony Ramine2016-10-061-2/+3
|
* Introduce GlobalScope::get_next_worker_idAnthony Ramine2016-10-061-1/+1
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-3/+4
|
* Move workers' pipeline IDs to WorkerGlobalScopeAnthony Ramine2016-10-021-1/+1
|
* Return an enum instead of a boolean from dispatch_eventAdolfo Ochagavía2016-09-261-2/+3
| | | | Fixes #13196
* Update Rust to 1.13.0-nightly (6ffdda1ba 2016-09-14)Anthony Ramine2016-09-151-2/+3
|
* Use fn pipeline_id consistently, not fn pipelineAneesh Agrawal2016-09-131-3/+3
| | | | | | | | | | | | 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.
* Implement error reporting for workers.Ms2ger2016-09-091-2/+45
| | | | | Fixes #3311. Fixes #13158.
* Reorder `use` statementsUK9922016-09-091-4/+4
|
* Remove dead error handling code.Ms2ger2016-09-051-27/+1
|
* Implementing Close function and mark success tests.Morris Tseng2016-07-251-5/+15
|
* Integrate service worker manager threadRahul Sharma2016-07-161-9/+17
|
* Switch to using the new rooted!/RootedGuard API for rooting.Eduard Burtescu2016-07-041-3/+3
|
* Implement Blob URL's DOM interfacesZhen Zhang2016-06-171-1/+4
|
* implement related sw interface and register methodRahul Sharma2016-06-021-128/+17
|
* Auto merge of #11538 - Ms2ger:warnings, r=emiliobors-servo2016-06-011-4/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | Fix some build warnings. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because refactoring <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11538) <!-- Reviewable:end -->
| * Fix some build warnings.Ms2ger2016-06-011-4/+2
| |
* | Add file backend support for Blob and relatedZhen Zhang2016-06-011-2/+2
|/ | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes
* Pass a parent JS runtime when creating DOM Worker runtimesTill Schneidereit2016-05-241-2/+9
| | | | This enables sharing data with the parent runtime, decreasing memory usage and startup time. Also contains an update to current rust-mozjs, because that's required for this to work.
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* adding interface for custom responsesRahul Sharma2016-05-201-1/+34
|
* Implement trait-based ResourceThreads and clean up related naming issuesZhen Zhang2016-05-201-2/+2
| | | | | | | | | | Changes include: - Introduce an IpcSend trait to abstract over a collection of IpcSenders - Implement ResourceThreads collection to abstract the resource-related sub threads across the component - Rename original ResourceThread and ControlMsg into an unifed CoreResource__ to accommodate above changes and avoid confusions
* Auto merge of #11239 - jdm:time-profile, r=noxbors-servo2016-05-181-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add timeline markers for HTTP requests, JS evaluation, and HTML parsing. 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 (didn't try to compile past a rustc upgrade on airplane wifi) - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11218 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [X] These changes do not require tests because we don't have testing infrastructure for profiling. 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11239) <!-- Reviewable:end -->
| * Add timeline markers for HTTP requests, JS evaluation, and HTML parsing.Josh Matthews2016-05-181-0/+1
| |
* | Report panics in web worker threads.Ms2ger2016-05-181-0/+1
|/
* Removed unused importsPer Lundberg2016-05-151-2/+0
| | | | This fixes #11185.
* Stop using JSAutoRequest.Ms2ger2016-05-131-2/+1
|
* Reduce channel cloning.Ms2ger2016-04-291-3/+3
|