servo/components/script/dom
Pierre Chevalier a6a685e954 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.
2015-10-10 18:13:37 +01:00
..
bindings Clarify some code in do_create_interface_objects 2015-10-10 18:13:37 +01:00
webidls Auto merge of #7835 - iawaknahc:webstorage-quota, r=jdm 2015-10-09 12:36:47 -06:00
activation.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
attr.rs Auto merge of #7841 - frewsxcv:htmlbodyelement-text, r=nox 2015-10-09 06:11:46 -06:00
blob.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
browsercontext.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
canvasgradient.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
canvaspattern.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
canvasrenderingcontext2d.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
characterdata.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
closeevent.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
comment.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
console.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
create.rs HTMLTableSectionElement improvements 2015-10-03 12:23:22 -04:00
crypto.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
css.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
cssstyledeclaration.rs Use util::str::str_join in more places 2015-09-28 19:57:06 -04:00
customevent.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
dedicatedworkerglobalscope.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
document.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
documentfragment.rs Implement NonElementParentNode for DocumentFragment 2015-09-10 01:33:13 +02:00
documenttype.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
domexception.rs Add better stringifier for DOMException 2015-09-24 11:58:28 +05:30
domimplementation.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
domparser.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
dompoint.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
dompointreadonly.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
domrect.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
domrectlist.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
domstringmap.rs Remove deprecated 'creator' WebIDL attribute 2015-09-21 07:12:17 -04:00
domtokenlist.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
element.rs Implement <body>'s "text" attribute 2015-10-08 10:55:12 -04:00
errorevent.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
event.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
eventdispatcher.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
eventtarget.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
file.rs Elide most 'a lifetimes 2015-09-04 08:55:51 +05:30
filelist.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
filereader.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
formdata.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
htmlanchorelement.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
htmlappletelement.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
htmlareaelement.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
htmlaudioelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlbaseelement.rs script: Stop copying the document URL. 2015-09-24 18:54:53 -07:00
htmlbodyelement.rs Implement <body>'s "text" attribute 2015-10-08 10:55:12 -04:00
htmlbrelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlbuttonelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmlcanvaselement.rs script: Return a white bitmap if the canvas has a size but no context 2015-09-25 18:10:50 +02:00
htmlcollection.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
htmldataelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmldatalistelement.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
htmldialogelement.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
htmldirectoryelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmldivelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmldlistelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlelement.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
htmlembedelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlfieldsetelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmlfontelement.rs Use the correct IDL setter for <font>.size 2015-10-07 08:28:43 -04:00
htmlformelement.rs Refactor html form dataset collection 2015-10-07 10:22:02 -04:00
htmlframeelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlframesetelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlheadelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlheadingelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlhrelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlhtmlelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmliframeelement.rs Implement HTMLIFrameElement::pipeline_id on LayoutJS<HTMLIFrameElement>. 2015-10-08 11:00:56 +02:00
htmlimageelement.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
htmlinputelement.rs Auto merge of #7892 - anthgur:form-data-refactor, r=jdm 2015-10-07 08:32:44 -06:00
htmllabelelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmllegendelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmllielement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmllinkelement.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
htmlmapelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlmediaelement.rs Introduce [Abstract] to mark non-leaf interfaces 2015-09-13 19:46:28 +02:00
htmlmetaelement.rs Handle <meta name=viewport> elements when added to document 2015-09-30 20:31:35 -07:00
htmlmeterelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlmodelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlobjectelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmlolistelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmloptgroupelement.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
htmloptionelement.rs Remove a pointless level of indentation. 2015-10-07 11:15:20 +02:00
htmloutputelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmlparagraphelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlparamelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlpreelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlprogresselement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlquoteelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlscriptelement.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
htmlselectelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmlsourceelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlspanelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlstyleelement.rs Merge adjacent identical impl sections 2015-08-28 10:30:42 -04:00
htmltablecaptionelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmltablecellelement.rs Define the parsed attribute getters for HTMLTableCellElement on LayoutJS. 2015-10-06 09:40:33 +02:00
htmltablecolelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmltabledatacellelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmltableelement.rs Imlement 'bgcolor' IDL attrs for table elements 2015-09-26 10:15:58 -04:00
htmltableheadercellelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmltablerowelement.rs Implement HTMLTableRowElement::Cells 2015-10-01 20:09:48 -04:00
htmltablesectionelement.rs HTMLTableSectionElement improvements 2015-10-03 12:23:22 -04:00
htmltemplateelement.rs Implement adopting and cloning steps for HTMLTemplateElement 2015-09-08 10:28:23 +02:00
htmltextareaelement.rs Refactor FormControl trait 2015-09-30 22:02:56 +02:00
htmltimeelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmltitleelement.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
htmltrackelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlulistelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlunknownelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
htmlvideoelement.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
imagedata.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
keyboardevent.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
location.rs implement window.location.reload() 2015-09-21 07:56:33 +02:00
macros.rs Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01) 2015-09-02 09:22:17 +02:00
messageevent.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
mod.rs webgl: Implement WebGLContextEvent and use it on context creation error 2015-10-08 00:29:31 +02:00
mouseevent.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
namednodemap.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
navigator.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
navigatorinfo.rs implement navigator.platform 2015-09-29 08:14:30 +02:00
node.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
nodeiterator.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
nodelist.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
performance.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
performancetiming.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
processinginstruction.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
progressevent.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
range.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
screen.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
servohtmlparser.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
storage.rs Implement a quota of 5MB per origin for localstorage and sessionstorage 2015-10-09 03:55:27 +08:00
storageevent.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
testbinding.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
testbindingproxy.rs Remove deprecated 'creator' WebIDL attribute 2015-09-21 07:12:17 -04:00
text.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
textdecoder.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
textencoder.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
treewalker.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
uievent.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
url.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
urlhelper.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
urlsearchparams.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
userscripts.rs Remove AttributeHandlers 2015-08-27 16:59:04 +02:00
validitystate.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
virtualmethods.rs Handle <meta name=viewport> elements when added to document 2015-09-30 20:31:35 -07:00
webglactiveinfo.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
webglbuffer.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
webglcontextevent.rs webgl: Implement WebGLContextEvent and use it on context creation error 2015-10-08 00:29:31 +02:00
webglframebuffer.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
webglobject.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
webglprogram.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
webglrenderbuffer.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
webglrenderingcontext.rs webgl: Implement WebGLContextEvent and use it on context creation error 2015-10-08 00:29:31 +02:00
webglshader.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
webglshaderprecisionformat.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
webgltexture.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
webgluniformlocation.rs Remove helper traits 2015-08-27 16:59:02 +02:00
websocket.rs Auto merge of #7885 - jimberlage:7858/null-message, r=Ms2ger 2015-10-09 09:02:45 -06:00
window.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
worker.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
workerglobalscope.rs Refactor Error enum usage to consistently be qualified 2015-10-06 05:43:52 -04:00
workerlocation.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
workernavigator.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
xmlhttprequest.rs Refactor away duplication of get_rooted functionality 2015-10-08 23:12:20 +01:00
xmlhttprequesteventtarget.rs Introduce [Abstract] to mark non-leaf interfaces 2015-09-13 19:46:28 +02:00
xmlhttprequestupload.rs Move EventTargetTypeId/NodeTypeId to DOMClass 2015-09-12 01:09:46 +02:00