servo/components/script/dom
bors-servo 75548f40c6
Auto merge of #24340 - jdm:image-cache-cors, r=Manishearth
Allow using CORS filtered image responses as WebGL textures

More specifically, this makes the "is this image same origin?" check consider the CORS status of the original response, rather than relying on an overly-strict "is this image's response's URL same-origin with a particular global?" check. To do this, we make the image cache double keyed based on the requested URL as well as the requesting origin, and store the CORS status of the eventual response with the final image that eventually gets sent to the HTMLImageElement consumer.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24330 and fix #24368
- [x] There are tests for these changes

<!-- 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/24340)
<!-- Reviewable:end -->
2019-10-07 18:39:36 -04:00
..
bindings implement get_image_pixels() for video element 2019-10-04 18:08:06 +02:00
servoparser Support CORS attributes for image elements. 2019-10-04 15:08:40 -04:00
webgl_extensions Replace use of gleam in webgl with sparkle. 2019-09-11 11:40:04 -04:00
webgl_validations Add initial support for WebGL compressed textures 2019-05-21 16:56:40 -04:00
webidls Add event handlers for sessionend events 2019-10-03 14:13:51 -07: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 Register pipeline instead of browsing contexts for media instances 2019-09-19 17:48:54 +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 Integrates media track selection 2019-09-22 10:39:41 -04:00
audiotracklist.rs Integrates media track selection 2019-09-22 10:39:41 -04:00
baseaudiocontext.rs Register pipeline instead of browsing contexts for media instances 2019-09-19 17:48:54 +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 Support CORS attributes for image elements. 2019-10-04 15:08:40 -04: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 Change setBody to be less strict when getting the immediate child 2019-09-29 07:34:36 -04: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
domstringlist.rs add webidl bindings for DOMStringList 2019-09-18 01:22:22 +02: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 Support CORS attributes for image elements. 2019-10-04 15:08:40 -04: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 Support CORS attributes for image elements. 2019-10-04 15:08:40 -04: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 FileReader.read sets result to null before performing read operation 2019-09-30 22:34:45 -04: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 Support CORS attributes for image elements. 2019-10-04 15:08:40 -04: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 Support CORS attributes for image elements. 2019-10-04 15:08:40 -04: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 improve spec compliance of discarding BCs 2019-09-22 12:46:40 +08:00
htmlimageelement.rs Add useful debug output for HTTP response and image cache. 2019-10-04 15:08:40 -04: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 Auto merge of #24340 - jdm:image-cache-cors, r=Manishearth 2019-10-07 18:39:36 -04: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 Support CORS attributes for image elements. 2019-10-04 15:08:40 -04: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 Auto merge of #24340 - jdm:image-cache-cors, r=Manishearth 2019-10-07 18:39:36 -04:00
imagedata.rs Refactor constructor code to align with spec. 2019-09-26 13:23:34 -05: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 Make poses nullable 2019-10-03 12:22:15 -07: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 ISSUE-23995: lazily generate unique_id for node 2019-09-24 09:25:09 -04: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 Register pipeline instead of browsing contexts for media instances 2019-09-19 17:48:54 +02:00
offscreencanvas.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
offscreencanvasrenderingcontext2d.rs Temporary implementation of Canvas.MeasureText 2019-09-25 13:34:48 +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 Expose stub attributes on PerformanceResourceTiming 2019-09-23 22:52:12 -04: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 ISSUE-23995: lazily generate unique_id for node 2019-09-24 09:25:09 -04:00
request.rs set referrer in window.load_url 2019-04-19 16:50:38 -07:00
response.rs response: remove text from default statusCode 2019-10-07 08:23:44 -03: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
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
textmetrics.rs Temporary implementation of Canvas.MeasureText 2019-09-25 13:34:48 +02: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 Integrates media track selection 2019-09-22 10:39:41 -04:00
videotracklist.rs Integrates media track selection 2019-09-22 10:39:41 -04: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 Initial implementation of WebGLSync 2019-10-02 12:51:32 +02: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 webgl: Update framebuffer completion status when attached renderbuffer/texture storage changes. 2019-09-23 12:01:08 -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
webglquery.rs Initial implementation of WebGLQueries 2019-10-01 12:30:24 +02:00
webglrenderbuffer.rs webgl: Update framebuffer completion status when attached renderbuffer/texture storage changes. 2019-09-23 12:01:08 -04:00
webglrenderingcontext.rs Auto merge of #24340 - jdm:image-cache-cors, r=Manishearth 2019-10-07 18:39:36 -04: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
webglsync.rs Initial implementation of WebGLSync 2019-10-02 12:51:32 +02:00
webgltexture.rs webgl: Update framebuffer completion status when attached renderbuffer/texture storage changes. 2019-09-23 12:01:08 -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 improve spec compliance of discarding BCs 2019-09-22 12:46:40 +08:00
windowproxy.rs improve spec compliance of discarding BCs 2019-09-22 12:46:40 +08: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 XMLHttpRequest.responseXML returns null when a network error occurs 2019-10-01 23:28:35 +02: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 Do not allow XR session on non user-activated events 2019-09-20 07:52:26 +02:00
xrframe.rs Make poses nullable 2019-10-03 12:22:15 -07:00
xrinputsource.rs Hook input code into new webxr crate 2019-07-11 11:12:59 -07:00
xrinputsourceevent.rs Add XRInputSourceEvent 2019-10-03 12:22:41 -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 Add event handlers for sessionend events 2019-10-03 14:13:51 -07:00
xrsessionevent.rs Add XRSessionEvent 2019-07-22 09:32:01 -07:00
xrspace.rs Update webxr 2019-10-03 12:22:41 -07:00
xrtest.rs Do not allow XR session on non user-activated events 2019-09-20 07:52:26 +02: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 webxr: Use the same texture format as the original GL context's framebuffer when creating an XR GL layer. 2019-09-20 01:28:22 -04:00