fune/servo/components/script/dom/bindings/codegen
Anthony Ramine 46b9c7f311 servo: Merge #8954 - Fix prototypes of interface objects (fixes #2665) (from nox:protochain); r=Ms2ger
Callback interface objects' (i.e. NodeFilter's) prototype is now Object instead of
Function and non-callback interface objects' their proper ancestor, starting with
the Function prototype.

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.

Fixes #2665.

Source-Repo: https://github.com/servo/servo
Source-Revision: e977a6e69a06ad69e87cc235b4ede60f8fb3eca3
2016-01-12 21:31:47 +05:01
..
parser servo: Merge #8055 - Remove all our patches to the WebIDL parser (from nox:rm-webidl-patches); r=Ms2ger 2015-12-16 14:50:25 +05:01
ply servo: Merge #3230 - Cargoify servo (from servo:cargoify) 2014-09-09 08:18:18 -06:00
BindingGen.py servo: Merge #9188 - Remove unused command-line Python codegen arguments (from frewsxcv:unused-codegen-options); r=Manishearth 2016-01-09 09:51:45 +05:01
Bindings.conf servo: Merge #8506 - Properly propagate changes when range or trees are mutated (from nox:finish-ranges); r=dzbarsky 2015-12-26 03:39:15 +05:01
CodegenRust.py servo: Merge #8954 - Fix prototypes of interface objects (fixes #2665) (from nox:protochain); r=Ms2ger 2016-01-12 21:31:47 +05:01
Configuration.py servo: Merge #8954 - Fix prototypes of interface objects (fixes #2665) (from nox:protochain); r=Ms2ger 2016-01-12 21:31:47 +05:01
GlobalGen.py servo: Merge #9188 - Remove unused command-line Python codegen arguments (from frewsxcv:unused-codegen-options); r=Manishearth 2016-01-09 09:51:45 +05:01