servo/components/script/dom/bindings
bors-servo e2e7013e76 Auto merge of #12395 - jdm:nowrap, r=Ms2ger
Avoid calling JS_WrapValue for same-compartment DOM reflectors

This change shaves off 15-20ns per iteration of the node.firstChild getter test in tests/html/bindings_perf.html. Based on [similar Gecko code](http://searchfox.org/mozilla-central/rev/f43c9e0ffa92e72dbdbcbf57eecf04a43d46da63/dom/bindings/BindingUtils.h#781).

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix (partially) #12358

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12395)
<!-- Reviewable:end -->
2016-07-12 05:50:46 -07:00
..
codegen Auto merge of #12395 - jdm:nowrap, r=Ms2ger 2016-07-12 05:50:46 -07:00
callback.rs Reuse report_pending_exception in CallSetup. 2016-07-05 20:20:23 +02:00
cell.rs task -> thread 2016-01-10 17:58:13 +09:00
conversions.rs Avoid unnecessary JS_WrapValue calls for DOM reflectors. 2016-07-12 08:22:50 -04:00
error.rs Auto merge of #12261 - szeged:gattcharacteristicfunctions, r=jdm 2016-07-06 11:11:26 -07:00
global.rs removed unused imports 2016-06-02 16:18:13 -06:00
guard.rs Refactor util::prefs operations to be methods on static struct. 2016-07-02 16:43:39 -04:00
inheritance.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
interface.rs Implement the [Exposed] extended attribute on interfaces. 2016-07-12 13:06:56 +02:00
js.rs Move TrustedNodeAddress to script_layout_interface. 2016-06-20 19:08:06 +02:00
mod.rs Remove utils::Prefable in favour of guard::Guard 2016-05-26 23:56:13 +02:00
num.rs Use num-traits in script. 2016-04-20 15:23:43 +02:00
proxyhandler.rs Switch to using the new rooted!/RootedGuard API for rooting. 2016-07-04 20:59:01 +03:00
refcounted.rs Make debug logging for tracing JS objects more informative. 2016-05-11 08:34:48 -04:00
reflector.rs Add global default method for Reflectable trait 2016-01-11 20:23:47 -05:00
str.rs Associate logical and physical keypresses together to support non-QWERTY keyboards. 2016-07-05 18:06:42 -04:00
structuredclone.rs Update SpiderMonkey 2016-05-03 18:36:11 +02:00
trace.rs Make textinput handle actual key values. Don't restrict character values to a single byte. 2016-07-06 00:10:24 -04:00
utils.rs Implement the [Exposed] extended attribute on interfaces. 2016-07-12 13:06:56 +02:00
weakref.rs Removed unused imports 2016-05-15 22:24:26 +03:00
xmlname.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00