aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/interface.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Implement HTMLConstructorConnor Brewster2017-06-151-5/+76
| |
| * Add function to get constructor objects by nameConnor Brewster2017-06-151-0/+210
| |
* | changed to use globalscope originddh2017-04-261-5/+6
| |
* | added wrapper selection and subsumes logicddh2017-04-251-1/+3
| |
* | added JSPrincipal bindingsddh2017-04-251-2/+7
|/
* Update js, AGAINAnthony Ramine2016-11-271-4/+4
|
* Implement WebIDL namespacesAnthony Ramine2016-09-081-2/+5
|
* Reorder some stuff in bindings::interfaceAnthony Ramine2016-09-061-101/+101
|
* Remove NonNullJSNativeAnthony Ramine2016-09-061-5/+1
|
* Move WebIDL constants machinery to bindings::constantAnthony Ramine2016-09-061-58/+3
|
* Simplify InterfaceConstructorBehaviorAnthony Ramine2016-09-061-32/+30
|
* Define interface members on the global object directly (fixes #4593)Anthony Ramine2016-08-251-10/+14
|
* Pass a MutableHandleObject to create_global_objectAnthony Ramine2016-08-251-16/+14
|
* Make create_global_object take a &'static ClassAnthony Ramine2016-08-251-1/+1
|
* Rename utils::create_dom_object to interface::create_global_objectAnthony Ramine2016-08-251-14/+57
|
* Make define_constants unsafeAnthony Ramine2016-08-251-10/+8
|
* Update SpiderMonkey to m-c bcf4ff0c3eef.Ms2ger2016-07-281-48/+44
| | | | | | This currently breaks Servo on Android, because there are a number of interdependent changes that cannot easily land serially in a way that keeps it working throughout. We expect to fix this in the near future.
* Implement the [Exposed] extended attribute on interfaces.Ms2ger2016-07-121-0/+9
| | | | Fixes #2823.
* Switch to using the new rooted!/RootedGuard API for rooting.Eduard Burtescu2016-07-041-17/+17
|
* Implement [Unscopable] (fixes #11583)Anthony Ramine2016-06-071-8/+40
|
* Implement [Func]Anthony Ramine2016-05-271-4/+4
|
* Rename receiver to global in bindings::interfaceAnthony Ramine2016-05-261-8/+8
|
* Remove some 'static lifetimes from bindings::interfaceAnthony Ramine2016-05-261-18/+18
|
* Make define_constants privateAnthony Ramine2016-05-261-1/+4
|
* Remove utils::Prefable in favour of guard::GuardAnthony Ramine2016-05-261-25/+26
|
* Remove Prefable::terminator 🤖Anthony Ramine2016-05-261-4/+12
|
* Simplify how Prefable arrays are passed in bindings::interfaceAnthony Ramine2016-05-261-18/+16
|
* Use JS_NewStringCopyN for the representation of interface objectsAnthony Ramine2016-05-161-9/+9
| | | | | This removes the need for the final null byte and we can make NonCallbackInterfaceObjectClass::new safe again I guess.
* Auto merge of #10756 - servo:smup, r=Ms2gerbors-servo2016-05-031-19/+16
|\ | | | | | | | | | | | | | | Update SpiderMonkey <!-- 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/10756) <!-- Reviewable:end -->
| * Update SpiderMonkeyAnthony Ramine2016-05-031-19/+16
| |
* | Implement hiding of interface members via Pref annotations.Josh Matthews2016-05-021-8/+22
| |
* | Start generating arrays of specs for easier implementation of preference checks.Josh Matthews2016-05-021-15/+23
|/
* Refactor the `call` hook on non-callback interface objects (fixes #10744)Anthony Ramine2016-04-251-8/+51
| | | | | | | | | | | It's now set through the intermediate InterfaceConstructorBehavior structure, which lets us improve the abstraction around NonCallbackInterfaceObjectClass a bit better. When the interface's constructor is supposed to always throw, the error for calling `Foo()` without new is "Illegal constructor.". when the interface actually defines an interface, the error is instead "This constructor needs to be called with `new`.".
* Make NonCallbackInterfaceObjectClass::new unsafeAnthony Ramine2016-04-251-1/+1
|
* Make all interface objects share the same funToStringGuillaume Gomez2016-03-211-11/+21
|
* Cache legacy callback interface objects in proto_or_icache_arrayAnthony Ramine2016-02-251-6/+7
| | | | | We need them to be cached to not instantiate them multiple times with lazy initialisation.
* All interface objects now share the same hasInstanceGuillaume Gomez2016-02-171-19/+34
|
* Fix the hasInstance hook of interface objectsAnthony Ramine2016-02-151-10/+17
| | | | Step 2 wasn't properly implemented.
* Clean up imports in script::dom::bindings::interfaceAnthony Ramine2016-02-151-4/+2
|
* Move ConstantSpec, NonNullJSNative and define_constants from utils to interfacenxnfufunezn2016-01-241-3/+63
|
* implement NonCallbackInterfaceObjectClass::as_jsclass()apopiak2016-01-141-1/+8
|
* Fix prototypes of interface objects (fixes #2665)Anthony Ramine2016-01-121-8/+7
|
* Inline create_constructor into its only callerAnthony Ramine2016-01-121-28/+13
|
* Describe non-callback interface objects with JSClass structuresAnthony Ramine2016-01-121-22/+155
| | | | JS_NewFunction doesn't allow us to set the prototype of the interface objects.
* Use the object prototype for callback interface objectsAnthony Ramine2016-01-121-8/+20
| | | | window.NodeFilter's prototype should be the object prototype.
* Refactor prototype initialisationAnthony Ramine2016-01-121-0/+155
The function do_create_interface_objects is removed in favour of 4 functions: create_callback_interface_object, create_interface_prototype_object, create_noncallback_interface_object and create_named_constructors. While this increases the amount of codegen'd code, this greatly improves the readability of the code involved in this part of DOM, instead of having one function doing 4 different things. We can always find a more adequate abstraction later. NativeProperties and everything related to the interface objects have been removed from the utils module.