aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-08113-32722/+0
|
* Avoid trying to trace a null JSVal.Ms2ger2014-09-071-1/+1
| | | | | JSVal::trace_kind() asserts that it is a markable type; null is a gcthing that is not markable.
* Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes ↵Pierre Louis Aublin2014-09-041-5/+6
| | | | #347, #3065).
* Support callback return types in codegenChris Paris2014-08-282-2/+2
|
* Introduce ConstantSpec::get_value.Ms2ger2014-08-281-9/+15
| | | | I'll need it for cross-origin wrappers as well.
* Introduce the NativePropertyHooks struct.Ms2ger2014-08-282-3/+45
| | | | This will be required for the cross-origin wrapper work.
* Factor out code to call JS_DeletePropertyById2.Ms2ger2014-08-272-9/+15
| | | | I'll need to write the same code again for cross-origin wrappers.
* Update ProxyTraps to use real bools.Ms2ger2014-08-262-52/+57
|
* Merge pull request #3121 from Ms2ger/sorted-dictionariesMs2ger2014-08-201-23/+0
|\ | | | | Stop resorting dictionaries; r=abinader
| * Stop resorting dictionaries.Ms2ger2014-08-201-23/+0
| | | | | | | | | | | | Rust is more forgiving about the order of definitions than C++, so there is no need to try to sort them. Worse, the "sorting" actually causes the order in the generated file to be non-deterministic.
* | Use extended attributes to define which interfaces are globals (fixes #1053).Ms2ger2014-08-203-10/+14
|/ | | | This makes our approach consistent with Gecko's.
* Add a documentation comment for CGWrapMethod.Ms2ger2014-08-191-0/+4
|
* Merge pull request #3112 from Ms2ger/hasInterfacePrototypeObjectManish Goregaokar2014-08-192-64/+49
|\ | | | | Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
| * Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.Ms2ger2014-08-192-64/+49
| | | | | | | | | | | | | | Checking for callbacks directly makes it a lot clearer what's going on, and we don't intend to take hasConcreteDescendant into consideration. See also <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720>.
* | Update WebIDL.py.Ms2ger2014-08-191-67/+560
| |
* | Add a script to update the WebIDL parser.Ms2ger2014-08-193-0/+64
|/
* Distinguish the sender to the own thread and to the parent thread in ↵Ms2ger2014-08-121-0/+2
| | | | | | | | | 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.
* Store a pointer to the Worker in the DedicatedWorkerGlobalScope.Ms2ger2014-08-121-0/+10
|
* Throw a catchable exception from ThrowingConstructor.Ms2ger2014-08-101-2/+3
|
* Upgrade Rust.Jack Moffitt2014-08-084-8/+12
|
* Correct the fallibility of proxy operations in the *Methods trait (fixes #3041).Ms2ger2014-08-081-1/+1
| | | | | A typo caused us to use the fallibility of the last normal method in the interface.
* Throw a TypeError when unwrapping a this object fails.Ms2ger2014-08-051-1/+4
|
* Throw a TypeError when unwrapping an interface argument fails.Ms2ger2014-08-051-1/+9
|
* Remove FailureFatalCastableObjectUnwrapper.Ms2ger2014-08-051-22/+8
| | | | | The inheritance pattern used here was not particularly enlightening, and only one caller uses FailureFatalCastableObjectUnwrapper.
* Fix the double indentation in CastableObjectUnwrapper.Ms2ger2014-08-051-7/+9
| | | | The current code indents the first line of codeOnFailure four spaces too far.
* Upgrade Rust.Jack Moffitt2014-08-028-165/+136
|
* Throw a TypeError when a non-object is passed where one is expected.Ms2ger2014-07-301-1/+1
|
* Implement the delete proxy trap (fixes #2213).Sankha Narayan Guria2014-07-292-3/+22
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-4/+0
|
* Generate traits for the generated bindings code to call.Ms2ger2014-07-271-1/+106
|
* Remove an unused argument to needCx and use it in CGCallGenerator.Ms2ger2014-07-271-5/+3
|
* Pass a non-nullable string to NamedGetter.Ms2ger2014-07-271-5/+5
| | | | | | | | | There is no actual reason to use a nullable string here; all callers have a string they want to pass. The issue dates back to the time that DOMString was inherently nullable (before #1215); this API was not converted back to the non-nullable DOMString type after that landed.
* Merge pull request #2933 from Ms2ger/initialize_globalJosh Matthews2014-07-271-0/+2
|\ | | | | Assert that we're handed a DOM global in initialize_global.
| * Assert that we're handed a DOM global in initialize_global.Ms2ger2014-07-261-0/+2
| |
* | Merge pull request #2932 from Ms2ger/fixme-347Manish Goregaokar2014-07-262-1/+2
|\ \ | |/ |/| Add pointers to the relevant issue for some bugs; r=jdm
| * Add pointers to the relevant issue for some bugs.Ms2ger2014-07-262-1/+2
| |
* | Add documentation for the DOM.Ms2ger2014-07-269-12/+206
|/
* Don't fail on invalid JS syntax in event handlers.Matt Brubeck2014-07-181-2/+18
| | | | Fixes #2862.
* Store the ScriptChan in the WorkerGlobalScope.Ms2ger2014-07-171-1/+4
| | | | This is necessary to make XMLHttpRequest and postMessage work.
* Store the worker's URL in the WorkerGlobalScope.Ms2ger2014-07-171-1/+4
| | | | This will be necessary to resolve relative URLs in the worker.
* Implement a resource_task getter on GlobalRef.Ms2ger2014-07-171-3/+7
| | | | This is needed to fetch resources on all threads.
* Support Worker globals in global_object_for_js_object.Ms2ger2014-07-151-2/+7
|
* Store the JSContext in a field on the worker global scope.Ms2ger2014-07-151-1/+1
|
* Add worker scope variants to the Global enums.Ms2ger2014-07-151-0/+10
|
* Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope.Ms2ger2014-07-151-0/+3
| | | | Part of #2811.
* Add newlines in global.rs.Ms2ger2014-07-151-0/+2
|
* Introduce abstractions for global scopes.Ms2ger2014-07-155-13/+100
| | | | Part of #2811.
* Simplify the implementation of cx_for_dom_reflector.Ms2ger2014-07-151-6/+2
|
* Rename variables that refer to global objects.Ms2ger2014-07-152-4/+4
| | | | | | | | 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 the unused 'obj' local from the construct hook.Ms2ger2014-07-141-1/+0
|