servo/components/script
bors-servo e977a6e69a 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 -->
2016-01-12 22:00:47 +05:30
..
docs Move the DOM memory management blog post into the tree. 2015-10-29 17:25:00 +01:00
dom Auto merge of #8954 - nox:protochain, r=Ms2ger 2016-01-12 22:00:47 +05:30
parse Remove unused import in script 2016-01-07 09:12:41 -08:00
build.rs
Cargo.toml Move LayerKind and ScrollPolicy enums to gfx_traits 2015-12-20 20:43:31 -05:00
clipboard_provider.rs Move ScriptMsg from msg crate into script_traits 2015-12-09 20:50:11 +01:00
cors.rs task -> thread 2016-01-10 17:58:13 +09:00
devtools.rs task -> thread 2016-01-10 17:58:13 +09:00
document_loader.rs task -> thread 2016-01-10 17:58:13 +09:00
layout_interface.rs Auto merge of #9245 - Ms2ger:reexports, r=nox 2016-01-11 23:57:51 +05:30
lib.rs task -> thread 2016-01-10 17:58:13 +09:00
makefile.cargo Fix spurious rebuilds of the script crate 2015-10-08 21:37:56 -07:00
mem.rs more refactoring 2015-10-30 20:26:29 +09:00
network_listener.rs task -> thread 2016-01-10 17:58:13 +09:00
page.rs Auto merge of #8481 - frewsxcv:iterablepage-iter, r=Ms2ger 2015-11-12 18:29:12 +05:30
reporter.rs Hoist ParseErrorReporter into style and remove the dependency on msg. 2016-01-11 18:01:48 -08:00
script_thread.rs Moving MouseEventType from msg to script_traits 2016-01-11 19:54:51 -05:00
textinput.rs Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all 2015-12-10 16:49:29 -05:00
timers.rs Add global default method for Reflectable trait 2016-01-11 20:23:47 -05:00
unpremultiplytable.rs add un-premultiply table for GetImageData 2015-10-20 04:51:29 -04:00
webdriver_handlers.rs task -> thread 2016-01-10 17:58:13 +09:00