aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-01-12 22:00:47 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-01-12 22:00:47 +0530
commite977a6e69a06ad69e87cc235b4ede60f8fb3eca3 (patch)
tree16f2a5d24406f306fa397278f5bac6d78be88762 /components/script/dom/testbinding.rs
parent53c4a782a0906c487139d4b6f3c62d9eca3f9f17 (diff)
parentd13da7d9b30a6671ed45e2f2c290405a5c92aafe (diff)
downloadservo-e977a6e69a06ad69e87cc235b4ede60f8fb3eca3.tar.gz
servo-e977a6e69a06ad69e87cc235b4ede60f8fb3eca3.zip
Auto merge of #8954 - nox:protochain, r=Ms2ger
Fix prototypes of interface objects (fixes #2665) 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. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8954) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/testbinding.rs')
0 files changed, 0 insertions, 0 deletions