servo/components/script/dom
bors-servo 4e9967b43e
Auto merge of #24148 - asajeffrey:script-prefetch, r=jdm,nox
Prefetch img, scripts and stylesheets during parsing

<!-- Please describe your changes on the following line: -->

Eagerly tokenize html input, and scan for `script` and `img` tags which can be prefetched into the cache. This allows resources to be loaded concurrently, which would otherwise be loaded sequentially due to being blocked by script execution. On the cloth webgl demo, this takes the time-to-paint down from 732ms to 560ms.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #3847
- [x] These changes do not require tests because it's a perf improvement

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/24148)
<!-- Reviewable:end -->
2019-09-11 15:28:05 -04:00
..
bindings Prefetch img and scripts during parsing 2019-09-10 16:13:49 -05:00
servoparser Responding to review comments 2019-09-11 12:13:41 -05:00
webgl_extensions Make GL/GLES decisions based on the API in use. 2019-07-12 13:36:44 -04:00
webgl_validations Add initial support for WebGL compressed textures 2019-05-21 16:56:40 -04:00
webidls implement historical srcElement attribute for Event interface 2019-09-05 22:29:48 +10:00
abstractworker.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
abstractworkerglobalscope.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
activation.rs Implement MouseEvent buttons attribute 2019-05-16 10:59:20 +03:00
analysernode.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
attr.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
audiobuffer.rs AudioBuffer: Track sample rate 2019-08-19 14:36:30 -03:00
audiobuffersourcenode.rs AudioBufferSourceNode: Send loop messages 2019-08-20 11:42:16 -03:00
audiocontext.rs Update servo media to include global mute support 2019-07-05 11:01:19 +02:00
audiodestinationnode.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
audiolistener.rs Implemented SetOrientation and SetPosition functions but still have errors in throwing NotSupported error message 2019-04-27 18:38:15 -04:00
audionode.rs Update servo media to include global mute support 2019-07-05 11:01:19 +02:00
audioparam.rs Update servo media to include global mute support 2019-07-05 11:01:19 +02:00
audioscheduledsourcenode.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
audiotrack.rs Media fragment parser 2019-07-22 21:39:55 -04:00
audiotracklist.rs Added AudioTrack, AudioTrackList, VideoTrack, VideoTrackList, and TrackEvent interfaces 2019-03-03 09:04:50 -05:00
baseaudiocontext.rs Update servo-media. Remove implicit shutdown requests. It all happens automagicly now 2019-08-19 09:55:00 +02:00
beforeunloadevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
biquadfilternode.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
blob.rs Don't panic if file manager thread is unreachable when cleaning up Blobs. 2019-07-29 16:03:29 -04:00
bluetooth.rs Remove some usage of unsafe code in Permissions 2019-08-09 00:02:09 +01:00
bluetoothadvertisingevent.rs Remove most RootedReference uses 2019-03-10 17:51:35 +01:00
bluetoothcharacteristicproperties.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
bluetoothdevice.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
bluetoothpermissionresult.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
bluetoothremotegattcharacteristic.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
bluetoothremotegattdescriptor.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
bluetoothremotegattserver.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
bluetoothremotegattservice.rs Remove now-unnecessary must_root and allow(unrooted_must_root) annotations 2019-01-04 15:05:07 -08:00
bluetoothuuid.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
canvasgradient.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
canvaspattern.rs Update euclid. 2019-07-23 23:09:55 +02:00
canvasrenderingcontext2d.rs Update euclid. 2019-07-23 23:09:55 +02:00
cdatasection.rs Implement CDATASection interface and createCDATASection method 2019-03-14 21:41:02 +02:00
channelmergernode.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
channelsplitternode.rs Implement DOM APIs for ChannelSplitterNode 2019-01-10 11:58:10 -05:00
characterdata.rs Script: removed a few opts::get() 2019-06-26 22:23:07 -06:00
client.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
closeevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
comment.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
compositionevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
console.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
constantsourcenode.rs ISSUE-21803: implement ConstantSourceNode audionode 2019-08-13 10:13:05 -04:00
create.rs Use safe JSContext as first argument for throw_dom_exception 2019-08-09 00:43:28 +01:00
crypto.rs Update rand to 0.6 2019-08-11 20:50:22 +02:00
css.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssconditionrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssfontfacerule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssgroupingrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssimportrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
csskeyframerule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
csskeyframesrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssmediarule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssnamespacerule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssrulelist.rs Fix insertRule crash by exposing getter on stylesheet's owner 2019-03-22 15:45:18 +05:30
cssstyledeclaration.rs Add invalidate_stylesheets to StyleSheetsListOwner trait 2019-04-26 11:31:17 +02:00
cssstylerule.rs Add invalidate_stylesheets to StyleSheetsListOwner trait 2019-04-26 11:31:17 +02:00
cssstylesheet.rs Add invalidate_stylesheets to StyleSheetsListOwner trait 2019-04-26 11:31:17 +02:00
cssstylevalue.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
csssupportsrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
cssviewportrule.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
customelementregistry.rs Use safe JSContext as first argument for throw_dom_exception 2019-08-09 00:43:28 +01:00
customevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
dedicatedworkerglobalscope.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
dissimilaroriginlocation.rs Remove unused code from script* crates 2019-06-02 07:12:26 +02:00
dissimilaroriginwindow.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
document.rs Update Window::open and document::open parameters to match the spec 2019-08-24 17:22:44 +02:00
documentfragment.rs Register named elements in either the document or shadow tree 2019-04-26 11:31:18 +02:00
documentorshadowroot.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
documenttype.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
domexception.rs Decoupled DOMErrorName from legacy error codes 2019-07-18 17:16:10 -05:00
domimplementation.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
dommatrix.rs Update euclid. 2019-07-23 23:09:55 +02:00
dommatrixreadonly.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
domparser.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
dompoint.rs Implement DOMPoint.fromPoint 2019-07-06 01:15:24 +09:00
dompointreadonly.rs Implement DOMPoint.fromPoint 2019-07-06 01:15:24 +09:00
domquad.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
domrect.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
domrectreadonly.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
domstringmap.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
domtokenlist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
element.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
errorevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
event.rs implement historical srcElement attribute for Event interface 2019-09-05 22:29:48 +10:00
eventsource.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
eventtarget.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
extendableevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
extendablemessageevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
fakexrdevice.rs Improve session test lifecycle code 2019-07-29 15:37:17 -07:00
file.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
filelist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
filereader.rs Remove some usage of unsafe code in FileReader 2019-08-09 00:02:08 +01:00
filereadersync.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
focusevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
formdata.rs Implement formdata event 2019-01-23 00:38:44 +08:00
formdataevent.rs Implement formdata event 2019-01-23 00:38:44 +08:00
gainnode.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
gamepad.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
gamepadbutton.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
gamepadbuttonlist.rs Simplify RootedReference and make it specifically about slicesIt's now called DomSlice<T>. 2019-03-11 16:25:39 +01:00
gamepadevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
gamepadlist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
globalscope.rs Use safe JSContext in MicrotaskQueue 2019-08-09 00:02:10 +01:00
hashchangeevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
headers.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
history.rs Remove some usage of unsafe code in History 2019-08-09 00:02:07 +01:00
htmlanchorelement.rs clean-up navigation 2019-07-18 12:03:45 +08:00
htmlareaelement.rs Update euclid. 2019-07-23 23:09:55 +02:00
htmlaudioelement.rs Implement Audio constructor 2018-11-20 13:30:45 +05:30
htmlbaseelement.rs Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r 2019-04-29 12:02:04 +02:00
htmlbodyelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmlbrelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlbuttonelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmlcanvaselement.rs Remove some usage of unsafe code in HTMLCanvasElement 2019-08-09 00:02:08 +01:00
htmlcollection.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
htmldataelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmldatalistelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmldetailselement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmldialogelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmldirectoryelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmldivelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmldlistelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlelement.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
htmlembedelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlfieldsetelement.rs Introduce ShadowIncluding enum for tree traversals 2019-04-26 11:31:17 +02:00
htmlfontelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlformcontrolscollection.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlformelement.rs Update to url 2.0 2019-08-17 10:03:44 +02:00
htmlframeelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlframesetelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlheadelement.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
htmlheadingelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlhrelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlhtmlelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmliframeelement.rs restructure content process shutdown ack with threaded sender, without layout 2019-08-17 16:03:07 +02:00
htmlimageelement.rs Prefetch img and scripts during parsing 2019-09-10 16:13:49 -05:00
htmlinputelement.rs Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) 2019-08-23 08:23:21 +02:00
htmllabelelement.rs Introduce ShadowIncluding enum for tree traversals 2019-04-26 11:31:17 +02:00
htmllegendelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmllielement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmllinkelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmlmapelement.rs Introduce ShadowIncluding enum for tree traversals 2019-04-26 11:31:17 +02:00
htmlmediaelement.rs Enable video frames as OES textures 2019-09-10 13:15:39 +02:00
htmlmetaelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmlmeterelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlmodelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlobjectelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlolistelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmloptgroupelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmloptionelement.rs Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestors 2019-04-26 11:42:38 +02:00
htmloptionscollection.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
htmloutputelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlparagraphelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlparamelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlpictureelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlpreelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlprogresselement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlquoteelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlscriptelement.rs Prefetch img and scripts during parsing 2019-09-10 16:13:49 -05:00
htmlselectelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmlsourceelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmlspanelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlstyleelement.rs Revert changes to load media styles as UA styles 2019-07-22 17:40:15 +02:00
htmltablecaptionelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmltablecellelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmltablecolelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmltableelement.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
htmltablerowelement.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
htmltablesectionelement.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
htmltemplateelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmltextareaelement.rs ISSUE-20455: introduce stronger types for textinput indexing 2019-05-16 15:33:24 -04:00
htmltimeelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmltitleelement.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
htmltrackelement.rs script: Implement the HTMLTrackElement API 2019-01-08 13:23:38 +00:00
htmlulistelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlunknownelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
htmlvideoelement.rs Implementing the builder pattern for RequestInit 2019-04-10 14:01:30 -03:00
imagedata.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
inputevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
keyboardevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
location.rs clean-up navigation 2019-07-18 12:03:45 +08:00
macros.rs Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r 2019-04-29 12:02:04 +02:00
mediadevices.rs Improve support for nested dictionaries 2019-06-27 18:13:23 -07:00
mediaerror.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
mediafragmentparser.rs Changed DOMString usages to string in MediaFragmentParser 2019-07-25 13:34:18 -04:00
medialist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
mediaquerylist.rs Implement AddEventListenerOptions: once 2018-12-22 17:11:30 +01:00
mediaquerylistevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
mediastream.rs Add constructors for MediaStream 2019-05-08 08:15:01 -07:00
mediastreamtrack.rs Add {MediaStream, MediaStreamTrack}.clone() 2019-05-08 08:15:01 -07:00
messageevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
mimetype.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
mimetypearray.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
mod.rs ISSUE-21803: implement ConstantSourceNode audionode 2019-08-13 10:13:05 -04:00
mouseevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
mutationobserver.rs Split getter for mutation_observers() into two methods. 2019-06-06 11:30:37 -07:00
mutationrecord.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
namednodemap.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
navigationpreloadmanager.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
navigator.rs Script: removed a few opts::get() 2019-06-26 22:23:07 -06:00
navigatorinfo.rs Script: removed a few opts::get() 2019-06-26 22:23:07 -06:00
node.rs Return ErrorStatus from webdriver_handlers 2019-08-18 15:30:55 +03:00
nodeiterator.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
nodelist.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
offlineaudiocompletionevent.rs Remove most RootedReference uses 2019-03-10 17:51:35 +01:00
offlineaudiocontext.rs Update servo media to include global mute support 2019-07-05 11:01:19 +02:00
offscreencanvas.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
offscreencanvasrenderingcontext2d.rs Update euclid. 2019-07-23 23:09:55 +02:00
oscillatornode.rs Implemented type attribute for OscillatorNode interface 2019-05-21 17:20:03 +02:00
pagetransitionevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
paintrenderingcontext2d.rs Update euclid. 2019-07-23 23:09:55 +02:00
paintsize.rs Update euclid. 2019-07-23 23:09:55 +02:00
paintworkletglobalscope.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
pannernode.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performance.rs performance: clear and disable buffer on pipeline exit 2019-09-04 13:38:37 +08:00
performanceentry.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
performancemark.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performancemeasure.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performancenavigation.rs Implement PerformanceNavigation interface 2019-06-26 02:07:24 +03:00
performancenavigationtiming.rs Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
performanceobserver.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
performanceobserverentrylist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performancepainttiming.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
performanceresourcetiming.rs ISSUE-21257: set redirectEnd on PerformanceResourceTiming 2019-07-19 21:36:24 +02:00
performancetiming.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
permissions.rs Remove some usage of unsafe code in Permissions 2019-08-09 00:02:09 +01:00
permissionstatus.rs Remove 'on' prefix from event handler macros 2019-03-14 00:55:21 +08:00
plugin.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
pluginarray.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
popstateevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
processinginstruction.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
progressevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
promise.rs Remove some usage of unsafe code in Promise 2019-08-09 00:02:07 +01:00
promisenativehandler.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
promiserejectionevent.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
radionodelist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
range.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
raredata.rs Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r 2019-04-29 12:02:04 +02:00
request.rs set referrer in window.load_url 2019-04-19 16:50:38 -07:00
response.rs Remove now-unnecessary must_root and allow(unrooted_must_root) annotations 2019-01-04 15:05:07 -08:00
rtcicecandidate.rs Add RTCIceCandidate::ToJSON 2019-01-29 11:37:00 -08:00
rtcpeerconnection.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
rtcpeerconnectioniceevent.rs Use draft spec links 2019-01-29 11:37:00 -08:00
rtcsessiondescription.rs use SafeJSContext 2019-07-25 11:14:21 +09:00
rtctrackevent.rs Add RTCTrackEvent 2019-05-08 08:15:01 -07:00
screen.rs Update euclid. 2019-07-23 23:09:55 +02:00
serviceworker.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
serviceworkercontainer.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
serviceworkerglobalscope.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
serviceworkerregistration.rs Introduce NavigationPreloadManager for ServiceWorkerRegistration 2018-12-08 16:50:18 +08:00
shadowroot.rs Moar detach shadow improvements 2019-07-22 17:40:17 +02:00
stereopannernode.rs StereoPannerNode DOM 2019-04-30 16:54:52 -07:00
storage.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
storageevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
stylepropertymapreadonly.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
stylesheet.rs Fix new warnings 2019-01-04 15:27:23 +01:00
stylesheetlist.rs Make StyleSheetListOwner an enum instead of a trait object 2019-04-26 11:31:18 +02:00
svgelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
svggraphicselement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
svgsvgelement.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
test_mapping.json Added randomness to the mutation strategy 2017-11-06 13:00:14 -05:00
testbinding.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
testbindingiterable.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
testbindingpairiterable.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
testbindingproxy.rs Inherit TestBinding from TestBindingProxy. 2019-04-20 22:39:39 +02:00
testrunner.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
testworklet.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
testworkletglobalscope.rs Wrap(Global)Method now takes a SafeJSContext instead of a JSContext 2019-07-24 08:18:21 +01:00
text.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
textcontrol.rs ISSUE-20455: introduce stronger types for textinput indexing 2019-05-16 15:33:24 -04:00
textdecoder.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
textencoder.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
texttrack.rs Remove 'on' prefix from event handler macros 2019-03-14 00:55:21 +08:00
texttrackcue.rs Remove 'on' prefix from event handler macros 2019-03-14 00:55:21 +08:00
texttrackcuelist.rs script: Create structures for TextTrack API 2018-12-11 20:14:00 +00:00
texttracklist.rs Remove 'on' prefix from event handler macros 2019-03-14 00:55:21 +08:00
timeranges.rs No need to share a reference for HTMLMediaElement played TimeRange 2019-01-17 10:01:38 +01:00
touch.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
touchevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
touchlist.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
trackevent.rs Added AudioTrack, AudioTrackList, VideoTrack, VideoTrackList, and TrackEvent interfaces 2019-03-03 09:04:50 -05:00
transitionevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
treewalker.rs Fix new warnings 2019-01-04 15:27:23 +01:00
uievent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
url.rs Set query to None when no search params 2019-01-10 22:43:29 +08:00
urlhelper.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
urlsearchparams.rs Implement URLSearchParams.prototype.sort() 2019-01-08 16:48:19 +08:00
userscripts.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
validation.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
validitystate.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
values.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
videotrack.rs Media fragment parser 2019-07-22 21:39:55 -04:00
videotracklist.rs Simplify VideoTrackList::set_selected 2019-03-05 11:50:48 +00:00
virtualmethods.rs Introduce BindContext with in_doc and connected flags 2019-04-26 11:31:18 +02:00
vrdisplay.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
vrdisplaycapabilities.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
vrdisplayevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
vreyeparameters.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
vrfieldofview.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
vrframedata.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
vrpose.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
vrstageparameters.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
webgl2renderingcontext.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
webglactiveinfo.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
webglbuffer.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
webglcontextevent.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
webglframebuffer.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
webglobject.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
webglprogram.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
webglrenderbuffer.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
webglrenderingcontext.rs Create depth and stencil attachments for XRWebGLLayer 2019-08-28 19:20:15 -05:00
webglshader.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
webglshaderprecisionformat.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
webgltexture.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
webgluniformlocation.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
webglvertexarrayobjectoes.rs Don't panic if WebGL thread can't be reached during finalization. 2019-07-29 10:09:24 -04:00
websocket.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
wheelevent.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
window.rs performance: clear and disable buffer on pipeline exit 2019-09-04 13:38:37 +08:00
windowproxy.rs Update Window::open and document::open parameters to match the spec 2019-08-24 17:22:44 +02:00
worker.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
workerglobalscope.rs introduce a pipeline namespace installer 2019-08-21 14:20:01 +02:00
workerlocation.rs Implement worker origin member of WorkerLocation 2019-06-02 10:20:03 +08:00
workernavigator.rs Script: removed a few opts::get() 2019-06-26 22:23:07 -06:00
worklet.rs Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
workletglobalscope.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
xmldocument.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
xmlhttprequest.rs Remove some usage of unsafe code in XMLHttpRequest 2019-08-09 00:02:08 +01:00
xmlhttprequesteventtarget.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
xmlhttprequestupload.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
xmlserializer.rs Implement XMLSerializer interface 2019-03-21 09:50:29 +02:00
xr.rs Add support for OpenXR hololens backend 2019-08-12 19:28:48 -07:00
xrframe.rs Update euclid. 2019-07-23 23:09:55 +02:00
xrinputsource.rs Hook input code into new webxr crate 2019-07-11 11:12:59 -07:00
xrpose.rs Hook webxr data into XRFrame/XRView/XRSpace 2019-07-11 11:12:59 -07:00
xrreferencespace.rs Update euclid. 2019-07-23 23:09:55 +02:00
xrrenderstate.rs Make use of ended flag, get rid of XRLayer 2019-07-22 09:32:01 -07:00
xrrigidtransform.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
xrsession.rs Allow setting near/far clip planes 2019-08-23 08:01:21 -07:00
xrsessionevent.rs Add XRSessionEvent 2019-07-22 09:32:01 -07:00
xrspace.rs Hook input code into new webxr crate 2019-07-11 11:12:59 -07:00
xrtest.rs Improve session test lifecycle code 2019-07-29 15:37:17 -07:00
xrview.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
xrviewerpose.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
xrviewport.rs Update euclid. 2019-07-23 23:09:55 +02:00
xrwebgllayer.rs Create depth and stencil attachments for XRWebGLLayer 2019-08-28 19:20:15 -05:00