aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
...
* | Store the ResourceTask on the WorkerGlobalScope.Ms2ger2014-07-172-5/+16
| | | | | | | | | | This is necessary to load dependent resources, such as through new Worker(), importScripts, XHR, ...
* | Inline DedicatedWorkerGlobalScope::init.Ms2ger2014-07-172-14/+3
| | | | | | | | This was an unnecessary abstraction.
* | Move the code to start the worker into ↵Ms2ger2014-07-172-32/+37
| | | | | | | | | | | | DedicatedWorkerGlobalScope::run_worker_scope. This is somewhat cleaner than keeping it all in the Worker constructor.
* | Merge pull request #2842 from Ms2ger/workersMs2ger2014-07-1710-2/+303
|\ \ | | | | | | Basic Web Workers; r=Manishearth,larsbergstrom
| * | Add a spec link for the Worker constructor.Ms2ger2014-07-171-0/+1
| | |
| * | Explicitly spawn a native task for workers.Ms2ger2014-07-171-3/+6
| | |
| * | Create Worker objects.Ms2ger2014-07-162-4/+19
| | |
| * | Implement WorkerGlobalScope.self.Ms2ger2014-07-162-1/+6
| | |
| * | Support Worker globals in global_object_for_js_object.Ms2ger2014-07-151-2/+7
| | |
| * | Implement global.console in workers.Ms2ger2014-07-152-0/+23
| | |
| * | Store the JSContext in a field on the worker global scope.Ms2ger2014-07-154-14/+32
| | |
| * | Load scripts in workers.Ms2ger2014-07-152-2/+34
| | |
| * | Add a constructor for DedicatedWorkerGlobalScope.Ms2ger2014-07-152-1/+26
| | |
| * | Spawn a thread for workers.Ms2ger2014-07-151-1/+7
| | |
| * | Parse the URL passed to the Worker constructor.Ms2ger2014-07-151-2/+9
| | |
| * | Add worker scope variants to the Global enums.Ms2ger2014-07-151-0/+10
| | |
| * | Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope.Ms2ger2014-07-156-0/+100
| | | | | | | | | | | | Part of #2811.
| * | Implement a stub Worker interface.Ms2ger2014-07-152-0/+51
| |/ | | | | | | Part of #2811.
* | Merge pull request #2835 from brunoabinader/bind_to_tree_fixMs2ger2014-07-165-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 neededBruno de Oliveira Abinader2014-07-161-6/+10
| | |
| * | Added 'parent is/was in tree' param to bind_to_tree/unbind_from_treeBruno de Oliveira Abinader2014-07-165-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.Ms2ger2014-07-163-0/+114
|/
* Add newlines in global.rs.Ms2ger2014-07-151-0/+2
|
* Support FormData outside Window scopes.Ms2ger2014-07-151-11/+10
|
* Introduce abstractions for global scopes.Ms2ger2014-07-1539-110/+223
| | | | Part of #2811.
* Remove some Cells for immutable members.Ms2ger2014-07-152-12/+10
|
* Make some DOM fields private.Ms2ger2014-07-153-7/+7
| | | | Relevant to #2242.
* Put some 'use' statements in alphabetical order.Ms2ger2014-07-158-10/+10
|
* Simplify the implementation of cx_for_dom_reflector.Ms2ger2014-07-151-6/+2
|
* Rename variables that refer to global objects.Ms2ger2014-07-1521-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.Ms2ger2014-07-151-1/+1
|
* Merge pull request #2826 from Ms2ger/get_attribute_parts-slicesMs2ger2014-07-152-10/+13
|\ | | | | Return slices from get_attribute_parts; r=Manishearth
| * Return slices from get_attribute_parts.Ms2ger2014-07-142-10/+13
| |
* | Merge pull request #2830 from Ms2ger/constructor-unused-variableMs2ger2014-07-151-1/+0
|\ \ | | | | | | Remove the unused 'obj' local from the construct hook; r=Manishearth
| * | Remove the unused 'obj' local from the construct hook.Ms2ger2014-07-141-1/+0
| | |
* | | Merge pull request #2833 from Ms2ger/attrlist-windowManish Goregaokar2014-07-141-4/+2
|\ \ \ | | | | | | | | Remove the unused window member of AttrList.
| * | | Remove the unused window member of AttrList.Ms2ger2014-07-141-4/+2
| |/ /
* | | Merge pull request #2834 from Ms2ger/file-windowManish Goregaokar2014-07-141-3/+1
|\ \ \ | |_|/ |/| | Remove the unused window field from File; r=Manishearth
| * | Remove the unused window field from File.Ms2ger2014-07-141-3/+1
| |/
* | Merge pull request #2829 from Ms2ger/validitystate-windowMs2ger2014-07-141-6/+3
|\ \ | | | | | | Remove the unused window field from ValidityState; r=Manishearth
| * | Remove the unused window field from ValidityState.Ms2ger2014-07-141-6/+3
| |/ | | | | | | | | It is only necessary if the ValidityState would create new objects, which it doesn't.
* | Merge pull request #2831 from Ms2ger/perf-cleanupMs2ger2014-07-141-2/+1
|\ \ | | | | | | Simplify the initialization of Performance; r=Manishearth
| * | Simplify the initialization of Performance.Ms2ger2014-07-141-2/+1
| |/
* | Remove the unused window field from HTMLCollection.Ms2ger2014-07-141-4/+2
| |
* | Remove the unused window field from NodeList.Ms2ger2014-07-141-5/+2
|/
* Merge pull request #2824 from jgraham/remove_attribute_strMs2ger2014-07-132-11/+12
|\ | | | | Make Element.remove_attribute take &str instead of DOMString; r=Ms2ger
| * Make Element.remove_attribute take &str instead of DOMStringJames Graham2014-07-132-11/+12
| |
* | Merge pull request #2820 from Ms2ger/RegisterBindingsMs2ger2014-07-131-8/+11
|\ \ | | | | | | Move the call to RegisterBindings::Register into WindowBinding::Wrap; r=jdm
| * | Move the call to RegisterBindings::Register into WindowBinding::Wrap.Ms2ger2014-07-131-1/+4
| | |
| * | Pass a JSContext and a reflector to RegisterBindings::Register.Ms2ger2014-07-131-7/+7
| | | | | | | | | | | | | | | This makes the generated code less dependent on the fact that all global objects are Windows.