Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -200/+0 |
| | |||||
* | Structured clone the argument to DedicatedWorkerGlobalScope.postMessage. | Ms2ger | 2014-08-14 | 1 | -7/+13 |
| | |||||
* | Structured clone the argument to Worker.postMessage. | Ms2ger | 2014-08-14 | 1 | -2/+14 |
| | |||||
* | Implement {Worker,DedicatedWorkerGlobalScope}.onmessage. | Ms2ger | 2014-08-13 | 1 | -1/+12 |
| | |||||
* | Distinguish the sender to the own thread and to the parent thread in ↵ | Ms2ger | 2014-08-12 | 1 | -17/+19 |
| | | | | | | | | | DedicatedWorkerGlobalScope. The WorkerGlobalScope stores a reference to the sender for the own thread, to allow passing clones to sub-workers. The DedicatedWorkerGlobalScope additionally keeps a reference to the sender for the (unique) parent thread, to implement postMessage and memory management of the Worker object. | ||||
* | Implement DedicatedWorkerGlobalScope.postMessage. | Ms2ger | 2014-08-12 | 1 | -1/+13 |
| | |||||
* | Store a pointer to the Worker in the DedicatedWorkerGlobalScope. | Ms2ger | 2014-08-12 | 1 | -4/+30 |
| | |||||
* | Pass the script channel to DedicatedWorkerGlobalScope::run_worker_scope ↵ | Ms2ger | 2014-08-12 | 1 | -4/+3 |
| | | | | | | | | rather than creating it there. This allows us to create the Worker object before calling DedicatedWorkerGlobalScope::run_worker_scope, which is necessary to pass a pointer to the worker to it. | ||||
* | Give workers their own ScriptChan and use it for postMessage. | Ms2ger | 2014-08-11 | 1 | -10/+15 |
| | | | | | This ensures that XHR callbacks for XHR objects in workers are called on the worker thread rather than the main thread. | ||||
* | Use TaskBuilder to spawn worker threads. | Ms2ger | 2014-08-04 | 1 | -7/+6 |
| | |||||
* | Start dogfooding rust-url. Fix #1673. | Simon Sapin | 2014-07-21 | 1 | -4/+5 |
| | |||||
* | Implement Worker.postMessage. | Ms2ger | 2014-07-18 | 1 | -4/+29 |
| | |||||
* | Store the ScriptChan in the WorkerGlobalScope. | Ms2ger | 2014-07-17 | 1 | -7/+12 |
| | | | | This is necessary to make XMLHttpRequest and postMessage work. | ||||
* | Store the worker's URL in the WorkerGlobalScope. | Ms2ger | 2014-07-17 | 1 | -5/+7 |
| | | | | This will be necessary to resolve relative URLs in the worker. | ||||
* | Implement a resource_task getter on GlobalRef. | Ms2ger | 2014-07-17 | 1 | -1/+2 |
| | | | | This is needed to fetch resources on all threads. | ||||
* | Store the ResourceTask on the WorkerGlobalScope. | Ms2ger | 2014-07-17 | 1 | -4/+10 |
| | | | | | This is necessary to load dependent resources, such as through new Worker(), importScripts, XHR, ... | ||||
* | Inline DedicatedWorkerGlobalScope::init. | Ms2ger | 2014-07-17 | 1 | -11/+3 |
| | | | | This was an unnecessary abstraction. | ||||
* | Move the code to start the worker into ↵ | Ms2ger | 2014-07-17 | 1 | -1/+35 |
| | | | | | | DedicatedWorkerGlobalScope::run_worker_scope. This is somewhat cleaner than keeping it all in the Worker constructor. | ||||
* | Store the JSContext in a field on the worker global scope. | Ms2ger | 2014-07-15 | 1 | -9/+11 |
| | |||||
* | Load scripts in workers. | Ms2ger | 2014-07-15 | 1 | -0/+10 |
| | |||||
* | Add a constructor for DedicatedWorkerGlobalScope. | Ms2ger | 2014-07-15 | 1 | -0/+17 |
| | |||||
* | Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope. | Ms2ger | 2014-07-15 | 1 | -0/+33 |
Part of #2811. |