Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Implement HTMLConstructor | Connor Brewster | 2017-06-15 | 1 | -5/+76 | |
| | | ||||||
| * | Add function to get constructor objects by name | Connor Brewster | 2017-06-15 | 1 | -0/+210 | |
| | | ||||||
* | | changed to use globalscope origin | ddh | 2017-04-26 | 1 | -5/+6 | |
| | | ||||||
* | | added wrapper selection and subsumes logic | ddh | 2017-04-25 | 1 | -1/+3 | |
| | | ||||||
* | | added JSPrincipal bindings | ddh | 2017-04-25 | 1 | -2/+7 | |
|/ | ||||||
* | Update js, AGAIN | Anthony Ramine | 2016-11-27 | 1 | -4/+4 | |
| | ||||||
* | Implement WebIDL namespaces | Anthony Ramine | 2016-09-08 | 1 | -2/+5 | |
| | ||||||
* | Reorder some stuff in bindings::interface | Anthony Ramine | 2016-09-06 | 1 | -101/+101 | |
| | ||||||
* | Remove NonNullJSNative | Anthony Ramine | 2016-09-06 | 1 | -5/+1 | |
| | ||||||
* | Move WebIDL constants machinery to bindings::constant | Anthony Ramine | 2016-09-06 | 1 | -58/+3 | |
| | ||||||
* | Simplify InterfaceConstructorBehavior | Anthony Ramine | 2016-09-06 | 1 | -32/+30 | |
| | ||||||
* | Define interface members on the global object directly (fixes #4593) | Anthony Ramine | 2016-08-25 | 1 | -10/+14 | |
| | ||||||
* | Pass a MutableHandleObject to create_global_object | Anthony Ramine | 2016-08-25 | 1 | -16/+14 | |
| | ||||||
* | Make create_global_object take a &'static Class | Anthony Ramine | 2016-08-25 | 1 | -1/+1 | |
| | ||||||
* | Rename utils::create_dom_object to interface::create_global_object | Anthony Ramine | 2016-08-25 | 1 | -14/+57 | |
| | ||||||
* | Make define_constants unsafe | Anthony Ramine | 2016-08-25 | 1 | -10/+8 | |
| | ||||||
* | Update SpiderMonkey to m-c bcf4ff0c3eef. | Ms2ger | 2016-07-28 | 1 | -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. | Ms2ger | 2016-07-12 | 1 | -0/+9 | |
| | | | | Fixes #2823. | |||||
* | Switch to using the new rooted!/RootedGuard API for rooting. | Eduard Burtescu | 2016-07-04 | 1 | -17/+17 | |
| | ||||||
* | Implement [Unscopable] (fixes #11583) | Anthony Ramine | 2016-06-07 | 1 | -8/+40 | |
| | ||||||
* | Implement [Func] | Anthony Ramine | 2016-05-27 | 1 | -4/+4 | |
| | ||||||
* | Rename receiver to global in bindings::interface | Anthony Ramine | 2016-05-26 | 1 | -8/+8 | |
| | ||||||
* | Remove some 'static lifetimes from bindings::interface | Anthony Ramine | 2016-05-26 | 1 | -18/+18 | |
| | ||||||
* | Make define_constants private | Anthony Ramine | 2016-05-26 | 1 | -1/+4 | |
| | ||||||
* | Remove utils::Prefable in favour of guard::Guard | Anthony Ramine | 2016-05-26 | 1 | -25/+26 | |
| | ||||||
* | Remove Prefable::terminator 🤖 | Anthony Ramine | 2016-05-26 | 1 | -4/+12 | |
| | ||||||
* | Simplify how Prefable arrays are passed in bindings::interface | Anthony Ramine | 2016-05-26 | 1 | -18/+16 | |
| | ||||||
* | Use JS_NewStringCopyN for the representation of interface objects | Anthony Ramine | 2016-05-16 | 1 | -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=Ms2ger | bors-servo | 2016-05-03 | 1 | -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 SpiderMonkey | Anthony Ramine | 2016-05-03 | 1 | -19/+16 | |
| | | ||||||
* | | Implement hiding of interface members via Pref annotations. | Josh Matthews | 2016-05-02 | 1 | -8/+22 | |
| | | ||||||
* | | Start generating arrays of specs for easier implementation of preference checks. | Josh Matthews | 2016-05-02 | 1 | -15/+23 | |
|/ | ||||||
* | Refactor the `call` hook on non-callback interface objects (fixes #10744) | Anthony Ramine | 2016-04-25 | 1 | -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 unsafe | Anthony Ramine | 2016-04-25 | 1 | -1/+1 | |
| | ||||||
* | Make all interface objects share the same funToString | Guillaume Gomez | 2016-03-21 | 1 | -11/+21 | |
| | ||||||
* | Cache legacy callback interface objects in proto_or_icache_array | Anthony Ramine | 2016-02-25 | 1 | -6/+7 | |
| | | | | | We need them to be cached to not instantiate them multiple times with lazy initialisation. | |||||
* | All interface objects now share the same hasInstance | Guillaume Gomez | 2016-02-17 | 1 | -19/+34 | |
| | ||||||
* | Fix the hasInstance hook of interface objects | Anthony Ramine | 2016-02-15 | 1 | -10/+17 | |
| | | | | Step 2 wasn't properly implemented. | |||||
* | Clean up imports in script::dom::bindings::interface | Anthony Ramine | 2016-02-15 | 1 | -4/+2 | |
| | ||||||
* | Move ConstantSpec, NonNullJSNative and define_constants from utils to interface | nxnfufunezn | 2016-01-24 | 1 | -3/+63 | |
| | ||||||
* | implement NonCallbackInterfaceObjectClass::as_jsclass() | apopiak | 2016-01-14 | 1 | -1/+8 | |
| | ||||||
* | Fix prototypes of interface objects (fixes #2665) | Anthony Ramine | 2016-01-12 | 1 | -8/+7 | |
| | ||||||
* | Inline create_constructor into its only caller | Anthony Ramine | 2016-01-12 | 1 | -28/+13 | |
| | ||||||
* | Describe non-callback interface objects with JSClass structures | Anthony Ramine | 2016-01-12 | 1 | -22/+155 | |
| | | | | JS_NewFunction doesn't allow us to set the prototype of the interface objects. | |||||
* | Use the object prototype for callback interface objects | Anthony Ramine | 2016-01-12 | 1 | -8/+20 | |
| | | | | window.NodeFilter's prototype should be the object prototype. | |||||
* | Refactor prototype initialisation | Anthony Ramine | 2016-01-12 | 1 | -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. |