servo/components/script/dom
Emilio Cobos Álvarez 95a0d0584f webgl: Add destructors for texture, program, shader, buffer and framebuffer
This allows to cleanup resources earlier if they stop being used. Right
now all resources were cleaned up when the context was destroyed, this is
a slightly better approach.

We ignore the possible failure of the send() call, since we don't keep
track of these resources from the `WebGLRenderingContext` structure, so
a texture could be destroyed after the context and give us problems.
2015-11-01 13:39:20 +01:00
..
bindings Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
webidls Update URLSearchParams to use USVString and String. 2015-10-30 16:33:29 +01:00
activation.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
attr.rs remove get_rooted() and replace all references to it with references to get() 2015-10-29 21:48:39 +09:00
blob.rs Generate all Derived implementations in codegen 2015-10-14 22:04:20 +02:00
browsercontext.rs Return a reference in BrowserContext::active_window() 2015-10-19 09:36:53 +02:00
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 Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
characterdata.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
closeevent.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
comment.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
console.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
create.rs Add HTMLPreElement type to xml and plaintext DOM nodes 2015-10-26 10:22:04 -07: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 Initialize dom struct fields in declaration order 2015-10-30 15:40:43 -04:00
customevent.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
dedicatedworkerglobalscope.rs Timers are scheduled by a dedicated per-constellation thread. 2015-10-21 16:40:49 +02:00
document.rs Auto merge of #8282 - Ms2ger:handle_mouse_move_event, r=Manishearth 2015-10-31 18:57:31 +05:30
documentfragment.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
documenttype.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
domexception.rs Add better stringifier for DOMException 2015-09-24 11:58:28 +05:30
domimplementation.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
domparser.rs Do not root DOMParser::window 2015-10-19 09:36:55 +02: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 Improve implementation of DOMRect and implement DOMRectReadOnly 2015-10-17 22:47:01 +02:00
domrectlist.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
domrectreadonly.rs Improve implementation of DOMRect and implement DOMRectReadOnly 2015-10-17 22:47:01 +02:00
domstringmap.rs Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames 2015-10-30 21:13:29 -04:00
domtokenlist.rs Do not root DOMTokenList::element 2015-10-19 09:36:57 +02:00
element.rs Auto merge of #8260 - martiansideofthemoon:my-code-fix, r=Manishearth 2015-10-31 22:25:27 +05:30
errorevent.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
event.rs Initialize dom struct fields in declaration order 2015-10-30 15:40:43 -04:00
eventdispatcher.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
eventtarget.rs Remove explicit lifetimes which can be elided. 2015-10-21 01:27:48 +02:00
file.rs Generate the TypeId enums in codegen 2015-10-14 18:45:35 +02:00
filelist.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
filereader.rs remove get_rooted() and replace all references to it with references to get() 2015-10-29 21:48:39 +09:00
formdata.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
htmlanchorelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlappletelement.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
htmlareaelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlaudioelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlbaseelement.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
htmlbodyelement.rs Use 'atom!' macro for known static strings 2015-10-30 08:30:13 -04:00
htmlbrelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlbuttonelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmlcanvaselement.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
htmlcollection.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
htmldataelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmldatalistelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmldialogelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmldirectoryelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmldivelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmldlistelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlelement.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
htmlembedelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlfieldsetelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmlfontelement.rs Use 'atom!' macro for known static strings 2015-10-30 08:30:13 -04:00
htmlformelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlframeelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlframesetelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlheadelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlheadingelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlhrelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlhtmlelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmliframeelement.rs Use 'atom!' macro for known static strings 2015-10-30 08:30:13 -04:00
htmlimageelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlinputelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmllabelelement.rs Fix unused variable warnings. 2015-10-31 12:21:51 -07:00
htmllegendelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmllielement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmllinkelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlmapelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlmediaelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlmetaelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlmeterelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlmodelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlobjectelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmlolistelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmloptgroupelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmloptionelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmloutputelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlparagraphelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlparamelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlpreelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlprogresselement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlquoteelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlscriptelement.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
htmlselectelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmlsourceelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlspanelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlstyleelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmltablecaptionelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmltablecellelement.rs Fix some rust-clippy violations 2015-10-30 18:41:22 -04:00
htmltablecolelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmltabledatacellelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmltableelement.rs Fix some rust-clippy violations 2015-10-30 18:41:22 -04:00
htmltableheadercellelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmltablerowelement.rs Fix some rust-clippy violations 2015-10-30 18:41:22 -04:00
htmltablesectionelement.rs Fix some rust-clippy violations 2015-10-30 18:41:22 -04:00
htmltemplateelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmltextareaelement.rs Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
htmltimeelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmltitleelement.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
htmltrackelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlulistelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlunknownelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
htmlvideoelement.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
imagedata.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
keyboardevent.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
location.rs Update URL-related interfaces and their tests up to spec 2015-10-19 21:05:07 +02:00
macros.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
messageevent.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
mod.rs Add bindings for TouchEvent DOM interfaces 2015-10-22 10:35:11 -07:00
mouseevent.rs remove get_rooted() and replace all references to it with references to get() 2015-10-29 21:48:39 +09:00
namednodemap.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +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 Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
nodeiterator.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
nodelist.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
performance.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
performancetiming.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
processinginstruction.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
progressevent.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
range.rs Fix some rust-clippy violations 2015-10-30 18:41:22 -04:00
screen.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
servohtmlparser.rs Auto merge of #7956 - gkbrk:binary_mime, r=jdm 2015-10-31 21:30:52 +05:30
storage.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
storageevent.rs remove get_rooted() and replace all references to it with references to get() 2015-10-29 21:48:39 +09:00
testbinding.rs Support unions that contain USVStrings. 2015-10-30 16:24:04 +01:00
testbindingproxy.rs Remove deprecated 'creator' WebIDL attribute 2015-09-21 07:12:17 -04:00
text.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
textdecoder.rs sorted the extern crate, mod & use declarations 2015-09-24 02:12:45 +05:30
textencoder.rs Remove the pointless TextEncoder::encoding field. 2015-10-30 16:48:30 +01:00
touch.rs Implement Document.createTouch 2015-10-22 10:49:30 -07:00
touchevent.rs Dispatch touch events and perform default touch actions. 2015-10-22 10:37:03 -07:00
touchlist.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
treewalker.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
uievent.rs remove get_rooted() and replace all references to it with references to get() 2015-10-29 21:48:39 +09:00
url.rs Update URL-related interfaces and their tests up to spec 2015-10-19 21:05:07 +02:00
urlhelper.rs Update URL-related interfaces and their tests up to spec 2015-10-19 21:05:07 +02:00
urlsearchparams.rs Update URLSearchParams to use USVString and String. 2015-10-30 16:33:29 +01:00
userscripts.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
validitystate.rs Link to the HTML multipage spec, not the single-page one. 2015-10-13 11:48:51 -07:00
values.rs Consolidate magic number representing max unsigned long 2015-10-10 13:46:11 -04:00
virtualmethods.rs Implement 'control' attribute for <label> elements 2015-10-25 08:06:31 -04:00
webglactiveinfo.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
webglbuffer.rs webgl: Add destructors for texture, program, shader, buffer and framebuffer 2015-11-01 13:39:20 +01:00
webglcontextevent.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
webglframebuffer.rs webgl: Add destructors for texture, program, shader, buffer and framebuffer 2015-11-01 13:39:20 +01:00
webglobject.rs make dom_struct derive HeapSizeOf, 2015-08-27 01:17:48 +01:00
webglprogram.rs webgl: Add destructors for texture, program, shader, buffer and framebuffer 2015-11-01 13:39:20 +01:00
webglrenderbuffer.rs webgl: Add destructors for texture, program, shader, buffer and framebuffer 2015-11-01 13:39:20 +01:00
webglrenderingcontext.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
webglshader.rs webgl: Add destructors for texture, program, shader, buffer and framebuffer 2015-11-01 13:39:20 +01:00
webglshaderprecisionformat.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
webgltexture.rs webgl: Add destructors for texture, program, shader, buffer and framebuffer 2015-11-01 13:39:20 +01:00
webgluniformlocation.rs Remove helper traits 2015-08-27 16:59:02 +02:00
websocket.rs Clean up the cast calls 2015-10-21 11:40:34 +02:00
window.rs Un-boxed ScriptReflow 2015-10-31 22:29:16 -07:00
worker.rs Timers are scheduled by a dedicated per-constellation thread. 2015-10-21 16:40:49 +02:00
workerglobalscope.rs Timers are scheduled by a dedicated per-constellation thread. 2015-10-21 16:40:49 +02:00
workerlocation.rs Update URL-related interfaces and their tests up to spec 2015-10-19 21:05:07 +02:00
workernavigator.rs Make the traits for the IDL interfaces take &self 2015-08-27 22:27:43 +02:00
xmlhttprequest.rs Removed JS::root Fixes #8251 2015-10-31 18:15:16 +05:30
xmlhttprequesteventtarget.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
xmlhttprequestupload.rs Generate all Derived implementations in codegen 2015-10-14 22:04:20 +02:00