servo/src/components/script/dom/bindings
Ms2ger 455465f3c6 Move the handling of default values in getJSToNativeConversionTemplate into handleOptional.
This is a first step towards moving responsibility for default values into the
caller, which should improve their code (in particular for the dictionary
codegen.

This also introduces a Dictionary::empty function, whose implementation is a
hack. The implementation will be improved once its codegen has access to the
raw default values.

Besides dictionaries, this commit does not change the generated code.
2014-05-05 11:29:46 +02:00
..
codegen Move the handling of default values in getJSToNativeConversionTemplate into handleOptional. 2014-05-05 11:29:46 +02:00
callback.rs This batch of changes upgrades Servo to work with the Rust upgrade as of 2014-04-27 15:46:12 -05:00
conversions.rs Replace all ~"" with "".to_owned(). 2014-05-03 22:17:45 +02:00
element.rs Implement JSManaged for DOM objects. 2014-02-24 15:16:42 -05:00
error.rs Use more rustic names for ThrowTypeError and infrastructure. 2014-04-28 17:18:28 +02:00
js.rs Address review comments. 2014-05-03 14:18:31 -04:00
proxyhandler.rs Replace most ~"string"s with "string".to_owned(). 2014-05-04 09:39:07 +02:00
str.rs Use ByteString in XHR 2014-05-03 19:39:11 +05:30
trace.rs Turn on GC all the time. Fix rooting errors during parsing and storing timers. Fix borrow errors during tracing. 2014-05-03 14:18:30 -04:00
utils.rs Address review comments. 2014-05-03 14:18:31 -04:00