Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Store the ResourceTask on the WorkerGlobalScope. | Ms2ger | 2014-07-17 | 2 | -5/+16 | |
| | | | | | | | | | | This is necessary to load dependent resources, such as through new Worker(), importScripts, XHR, ... | |||||
* | | Inline DedicatedWorkerGlobalScope::init. | Ms2ger | 2014-07-17 | 2 | -14/+3 | |
| | | | | | | | | This was an unnecessary abstraction. | |||||
* | | Move the code to start the worker into ↵ | Ms2ger | 2014-07-17 | 2 | -32/+37 | |
| | | | | | | | | | | | | DedicatedWorkerGlobalScope::run_worker_scope. This is somewhat cleaner than keeping it all in the Worker constructor. | |||||
* | | Merge pull request #2842 from Ms2ger/workers | Ms2ger | 2014-07-17 | 10 | -2/+303 | |
|\ \ | | | | | | | Basic Web Workers; r=Manishearth,larsbergstrom | |||||
| * | | Add a spec link for the Worker constructor. | Ms2ger | 2014-07-17 | 1 | -0/+1 | |
| | | | ||||||
| * | | Explicitly spawn a native task for workers. | Ms2ger | 2014-07-17 | 1 | -3/+6 | |
| | | | ||||||
| * | | Create Worker objects. | Ms2ger | 2014-07-16 | 2 | -4/+19 | |
| | | | ||||||
| * | | Implement WorkerGlobalScope.self. | Ms2ger | 2014-07-16 | 2 | -1/+6 | |
| | | | ||||||
| * | | Support Worker globals in global_object_for_js_object. | Ms2ger | 2014-07-15 | 1 | -2/+7 | |
| | | | ||||||
| * | | Implement global.console in workers. | Ms2ger | 2014-07-15 | 2 | -0/+23 | |
| | | | ||||||
| * | | Store the JSContext in a field on the worker global scope. | Ms2ger | 2014-07-15 | 4 | -14/+32 | |
| | | | ||||||
| * | | Load scripts in workers. | Ms2ger | 2014-07-15 | 2 | -2/+34 | |
| | | | ||||||
| * | | Add a constructor for DedicatedWorkerGlobalScope. | Ms2ger | 2014-07-15 | 2 | -1/+26 | |
| | | | ||||||
| * | | Spawn a thread for workers. | Ms2ger | 2014-07-15 | 1 | -1/+7 | |
| | | | ||||||
| * | | Parse the URL passed to the Worker constructor. | Ms2ger | 2014-07-15 | 1 | -2/+9 | |
| | | | ||||||
| * | | Add worker scope variants to the Global enums. | Ms2ger | 2014-07-15 | 1 | -0/+10 | |
| | | | ||||||
| * | | Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope. | Ms2ger | 2014-07-15 | 6 | -0/+100 | |
| | | | | | | | | | | | | Part of #2811. | |||||
| * | | Implement a stub Worker interface. | Ms2ger | 2014-07-15 | 2 | -0/+51 | |
| |/ | | | | | | | Part of #2811. | |||||
* | | Merge pull request #2835 from brunoabinader/bind_to_tree_fix | Ms2ger | 2014-07-16 | 5 | -31/+42 | |
|\ \ | | | | | | | Added 'parent is/was in tree' param to bind_to_tree/unbind_from_tree; r=Ms2ger | |||||
| * | | Use tree_in_doc on Style elem to parse its own CSS, if needed | Bruno de Oliveira Abinader | 2014-07-16 | 1 | -6/+10 | |
| | | | ||||||
| * | | Added 'parent is/was in tree' param to bind_to_tree/unbind_from_tree | Bruno de Oliveira Abinader | 2014-07-16 | 5 | -25/+32 | |
| |/ | | | | | | | | | | | | | According to a talk with Ms2ger, both bind_to_tree / unbind_from_tree should be called regardless if the tree is part of a Document. This information is now passed as a parameter to their respective virtual methods. | |||||
* / | Implement MessageEvent. | Ms2ger | 2014-07-16 | 3 | -0/+114 | |
|/ | ||||||
* | Add newlines in global.rs. | Ms2ger | 2014-07-15 | 1 | -0/+2 | |
| | ||||||
* | Support FormData outside Window scopes. | Ms2ger | 2014-07-15 | 1 | -11/+10 | |
| | ||||||
* | Introduce abstractions for global scopes. | Ms2ger | 2014-07-15 | 39 | -110/+223 | |
| | | | | Part of #2811. | |||||
* | Remove some Cells for immutable members. | Ms2ger | 2014-07-15 | 2 | -12/+10 | |
| | ||||||
* | Make some DOM fields private. | Ms2ger | 2014-07-15 | 3 | -7/+7 | |
| | | | | Relevant to #2242. | |||||
* | Put some 'use' statements in alphabetical order. | Ms2ger | 2014-07-15 | 8 | -10/+10 | |
| | ||||||
* | Simplify the implementation of cx_for_dom_reflector. | Ms2ger | 2014-07-15 | 1 | -6/+2 | |
| | ||||||
* | Rename variables that refer to global objects. | Ms2ger | 2014-07-15 | 21 | -92/+95 | |
| | | | | | | | | This clarifies whether those variables will point to a Window object or an arbitrary global object. Note in particular that all IDL Constructors will accept an arbitrary global object. | |||||
* | Remove an unnecessary string copy in the Text constructor. | Ms2ger | 2014-07-15 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #2826 from Ms2ger/get_attribute_parts-slices | Ms2ger | 2014-07-15 | 2 | -10/+13 | |
|\ | | | | | Return slices from get_attribute_parts; r=Manishearth | |||||
| * | Return slices from get_attribute_parts. | Ms2ger | 2014-07-14 | 2 | -10/+13 | |
| | | ||||||
* | | Merge pull request #2830 from Ms2ger/constructor-unused-variable | Ms2ger | 2014-07-15 | 1 | -1/+0 | |
|\ \ | | | | | | | Remove the unused 'obj' local from the construct hook; r=Manishearth | |||||
| * | | Remove the unused 'obj' local from the construct hook. | Ms2ger | 2014-07-14 | 1 | -1/+0 | |
| | | | ||||||
* | | | Merge pull request #2833 from Ms2ger/attrlist-window | Manish Goregaokar | 2014-07-14 | 1 | -4/+2 | |
|\ \ \ | | | | | | | | | Remove the unused window member of AttrList. | |||||
| * | | | Remove the unused window member of AttrList. | Ms2ger | 2014-07-14 | 1 | -4/+2 | |
| |/ / | ||||||
* | | | Merge pull request #2834 from Ms2ger/file-window | Manish Goregaokar | 2014-07-14 | 1 | -3/+1 | |
|\ \ \ | |_|/ |/| | | Remove the unused window field from File; r=Manishearth | |||||
| * | | Remove the unused window field from File. | Ms2ger | 2014-07-14 | 1 | -3/+1 | |
| |/ | ||||||
* | | Merge pull request #2829 from Ms2ger/validitystate-window | Ms2ger | 2014-07-14 | 1 | -6/+3 | |
|\ \ | | | | | | | Remove the unused window field from ValidityState; r=Manishearth | |||||
| * | | Remove the unused window field from ValidityState. | Ms2ger | 2014-07-14 | 1 | -6/+3 | |
| |/ | | | | | | | | | It is only necessary if the ValidityState would create new objects, which it doesn't. | |||||
* | | Merge pull request #2831 from Ms2ger/perf-cleanup | Ms2ger | 2014-07-14 | 1 | -2/+1 | |
|\ \ | | | | | | | Simplify the initialization of Performance; r=Manishearth | |||||
| * | | Simplify the initialization of Performance. | Ms2ger | 2014-07-14 | 1 | -2/+1 | |
| |/ | ||||||
* | | Remove the unused window field from HTMLCollection. | Ms2ger | 2014-07-14 | 1 | -4/+2 | |
| | | ||||||
* | | Remove the unused window field from NodeList. | Ms2ger | 2014-07-14 | 1 | -5/+2 | |
|/ | ||||||
* | Merge pull request #2824 from jgraham/remove_attribute_str | Ms2ger | 2014-07-13 | 2 | -11/+12 | |
|\ | | | | | Make Element.remove_attribute take &str instead of DOMString; r=Ms2ger | |||||
| * | Make Element.remove_attribute take &str instead of DOMString | James Graham | 2014-07-13 | 2 | -11/+12 | |
| | | ||||||
* | | Merge pull request #2820 from Ms2ger/RegisterBindings | Ms2ger | 2014-07-13 | 1 | -8/+11 | |
|\ \ | | | | | | | Move the call to RegisterBindings::Register into WindowBinding::Wrap; r=jdm | |||||
| * | | Move the call to RegisterBindings::Register into WindowBinding::Wrap. | Ms2ger | 2014-07-13 | 1 | -1/+4 | |
| | | | ||||||
| * | | Pass a JSContext and a reflector to RegisterBindings::Register. | Ms2ger | 2014-07-13 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | This makes the generated code less dependent on the fact that all global objects are Windows. |