servo/components/script/dom/bindings
bors-servo 6111cf9ffc Auto merge of #7943 - pierrechevalier83:fix_issue_7941, r=Ms2ger
Clarify some code in do_create_interface_objects

rval.get() is believed to be always null upon entering this function.
This assumption is verified by the added assertion.
It makes more sense to move the block of code that was moved inside
the if statement which is the only place where it can be initialized.

Fixes #7941.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7943)
<!-- Reviewable:end -->
2015-10-19 09:37:03 -06:00
..
codegen Fix formatting for variable in doc-comment within codegen 2015-10-17 15:20:12 -04:00
callback.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
cell.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
conversions.rs added spec link for type mapping 2015-10-15 19:28:56 +05:30
error.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
global.rs Update script to work with lint changes 2015-10-16 01:20:27 +05:30
js.rs Implement Deref<Target=T> for JS<T> where T: Reflectable 2015-10-17 01:58:52 +02:00
mod.rs Enable some warnings for generated code. 2015-10-16 12:07:57 +02:00
num.rs make test-tidy check that = have space after them 2015-09-01 07:18:19 -04:00
proxyhandler.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
refcounted.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
str.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
structuredclone.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
trace.rs Implement size attribute for <font> element 2015-09-30 22:51:30 -04:00
utils.rs Auto merge of #7943 - pierrechevalier83:fix_issue_7941, r=Ms2ger 2015-10-19 09:37:03 -06:00