servo/components/script/dom
bors-servo 0051597525
Auto merge of #21158 - ferjm:webaudio, r=manishearth,nox,ferjm
WebAudio API

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

This PR adds basic support for the WebAudio API using [servo-media](https://github.com/servo/media) with GStreamer as the audio backend.

There are still some major stuff to fix like:

- [x] Detach ArrayBuffer during the [AudioBuffer "acquire the content" operation](https://webaudio.github.io/web-audio-api/#acquire-the-content). I am naively using `JS_StealArrayBufferContents()` directly, because it is what Gecko uses, but this should probably be part of the [rust-mozjs](https://github.com/servo/rust-mozjs) [TypedArray](https://github.com/servo/rust-mozjs/blob/master/src/typedarray.rs) API. And, in any case, I am not even sure if that's the proper way to do it. According to the results of the WPTs it may not even be right since [this assertion](https://github.com/servo/rust-mozjs/blob/master/src/typedarray.rs#L285) is failing in some cases. I need to dig more about this.
- [x] Disable the GStreamer dependency on Android. Unfortunately gstreamer-rs requires an NDK version upgrade, so we need to disable this for Android until then. I tried adding [different features to servo-media](https://github.com/servo/media/pull/79), but I am currently hitting [this issue](https://github.com/rust-lang/cargo/issues/1197)

I still need to run servo-tidy, change the servo-media dependency to use the git repo and add/fix some comments and TODOs.

The remaining feature work should be done in future PRs.

Note that most of the failing WPTs are failing because we don't implement the tested features yet (we only implement a few AudioNodes) and we have no OfflineAudioContext support, which most WPTs rely on.

<!-- 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/21158)
<!-- Reviewable:end -->
2018-07-31 09:00:06 -04:00
..
bindings Fix rebase mistake 2018-07-30 14:23:47 +02:00
servoparser stopping tokenizer if parser is aborted 2018-07-29 16:42:59 +08:00
webgl_extensions Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
webgl_validations Properly check for cubic dimensions in gl.copyTexImage2D 2018-04-09 14:44:02 +02:00
webidls Make OfflineAudioContextOptions spec compliant 2018-07-30 18:50:36 +02:00
abstractworker.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
abstractworkerglobalscope.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
activation.rs Use WebRender to compute text index on click events 2017-10-18 09:15:55 +02:00
attr.rs MutationObserver api: Implement takeRecords() and characterData mutations 2018-05-02 09:58:37 -07:00
audiobuffer.rs Use JS_GetArrayBufferViewBuffer with JS_DetachArrayBuffer 2018-07-30 16:42:38 -07:00
audiobuffersourcenode.rs Throw if AudioBufferSourceNode.Start params are negative 2018-07-30 19:54:55 +02:00
audiocontext.rs 48000 -> 44100 2018-07-30 16:42:38 -07:00
audiodestinationnode.rs test-tidy fixes 2018-07-30 14:21:48 +02:00
audionode.rs Add AudioParam connection support 2018-07-30 14:23:46 +02:00
audioparam.rs Add AudioParam connection support 2018-07-30 14:23:46 +02:00
audioscheduledsourcenode.rs Fire AudioScheduledSourceNode.onended when playback stops 2018-07-30 14:23:46 +02:00
baseaudiocontext.rs OfflineAudioContext 2018-07-30 14:23:48 +02:00
beforeunloadevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
blob.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
bluetooth.rs Updates Bluetooth type to use BufferSource 2018-03-24 20:46:14 -04:00
bluetoothadvertisingevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothcharacteristicproperties.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothdevice.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
bluetoothpermissionresult.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothremotegattcharacteristic.rs Updates Bluetooth type to use BufferSource 2018-03-24 20:46:14 -04:00
bluetoothremotegattdescriptor.rs Updates Bluetooth type to use BufferSource 2018-03-24 20:46:14 -04:00
bluetoothremotegattserver.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothremotegattservice.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothuuid.rs
canvasgradient.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
canvaspattern.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
canvasrenderingcontext2d.rs Moved Canvas rendering to a single thread. 2018-04-23 20:50:05 -04:00
characterdata.rs script: Queue a mutation record from CharacterData::append_data. 2018-07-23 19:06:22 +02:00
client.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
closeevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
comment.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
compositionevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
console.rs
create.rs Implement HTMLPictureElement interface. 2018-01-29 20:27:54 -05:00
crypto.rs getRandomValues uses ArrayBufferView now 2018-03-22 12:12:16 -05:00
css.rs layout: script: Fix build. 2018-06-23 20:34:10 +02:00
cssconditionrule.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
cssfontfacerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssgroupingrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssimportrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
csskeyframerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
csskeyframesrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssmediarule.rs layout: script: Fix build. 2018-06-23 20:34:10 +02:00
cssnamespacerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssrule.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
cssrulelist.rs Fix some "unnecessary parentheses" warnings 2018-01-22 17:41:25 +01:00
cssstyledeclaration.rs script: Fix build and tidy. 2018-07-24 03:47:40 +02:00
cssstylerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssstylesheet.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssstylevalue.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
csssupportsrule.rs layout: script: Fix build. 2018-06-23 20:34:10 +02:00
cssviewportrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
customelementregistry.rs Updated to mozjs v0.7.1. 2018-05-30 14:44:47 -05:00
customevent.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
dedicatedworkerglobalscope.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
dissimilaroriginlocation.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
dissimilaroriginwindow.rs Return window proxy properly for indexed window getter 2018-04-30 15:43:39 -07:00
document.rs close eventsources as part of document unloading 2018-07-29 16:42:59 +08:00
documentfragment.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
documenttype.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domexception.rs Implement read methods on FileReaderSync 2018-06-04 15:53:08 -04:00
domimplementation.rs Updated content_type of Document and XMLDocument from DOCString to Mime 2018-02-09 09:32:56 +05:30
dommatrix.rs Update mozjs. 2018-03-25 00:04:43 +01:00
dommatrixreadonly.rs Update mozjs. 2018-03-25 00:04:43 +01:00
domparser.rs Updated content_type of Document and XMLDocument from DOCString to Mime 2018-02-09 09:32:56 +05:30
dompoint.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
dompointreadonly.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domquad.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domrect.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domrectreadonly.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domstringmap.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domtokenlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
element.rs Implement support for Element.toggleAttribute 2018-06-21 02:06:32 +01:00
errorevent.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
event.rs implement "has event listener", plug into (before)unload 2018-05-05 19:14:43 +08:00
eventsource.rs Introduce DOMTracker, cancel eventsource fetch when aborting document load 2018-07-29 16:42:59 +08:00
eventtarget.rs implement "has event listener", plug into (before)unload 2018-05-05 19:14:43 +08:00
extendableevent.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
extendablemessageevent.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
file.rs Blobs support typed arrays now 2018-03-21 09:29:24 -05:00
filelist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
filereader.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
filereadersync.rs Assert that DOM structs have the correct first field 2018-07-03 09:39:29 -07:00
focusevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
formdata.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gainnode.rs test-tidy fixes 2018-07-30 14:21:48 +02:00
gamepad.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
gamepadbutton.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gamepadbuttonlist.rs Used the zip function to iterate over both vectors simultaneously instead of an 2018-03-23 20:13:13 +01:00
gamepadevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gamepadlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
globalscope.rs Introduce DOMTracker, cancel eventsource fetch when aborting document load 2018-07-29 16:42:59 +08:00
hashchangeevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
headers.rs copy headers from script request to net request 2017-11-15 19:28:03 +08:00
history.rs Track hash changes in session history 2018-07-21 12:38:51 -06:00
htmlanchorelement.rs remove mozbrowser code 2018-02-13 09:40:06 +01:00
htmlareaelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlaudioelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlbaseelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlbodyelement.rs move top_level_browsing_context_id out of embedder msg 2018-05-23 21:46:05 +08:00
htmlbrelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlbuttonelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlcanvaselement.rs Add unique canvas IDs to all canvas operations. 2018-04-02 22:02:22 -04:00
htmlcollection.rs Use specific negative assertion for DOM HTMLCollection 2018-01-26 02:11:02 +08:00
htmldataelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldatalistelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmldetailselement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldialogelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldirectoryelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldivelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldlistelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlelement.rs introduce layout query timestamp 2018-03-18 11:45:15 +08:00
htmlembedelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlfieldsetelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlfontelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlformcontrolscollection.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlformelement.rs Revert "Correct default Selectionstart and SelectionEnd" 2018-02-23 01:55:21 +05:30
htmlframeelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlframesetelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlheadelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlheadingelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmlhrelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlhtmlelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmliframeelement.rs Replace initial about:blank loads 2018-04-11 09:51:22 -05:00
htmlimageelement.rs Auto merge of #21111 - gterzian:implement_document_load_cancellation, r=jdm 2018-07-29 11:14:29 -04:00
htmlinputelement.rs move msg to embedder_traits, use in script, handle send error in embedder 2018-05-23 21:45:57 +08:00
htmllabelelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmllegendelement.rs script: Use ? on option more often. 2017-12-09 20:26:48 +01:00
htmllielement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmllinkelement.rs layout: script: Fix build. 2018-06-23 20:34:10 +02:00
htmlmapelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlmediaelement.rs implement window.stop, improve aborting document load 2018-07-29 16:42:54 +08:00
htmlmetaelement.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
htmlmeterelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlmodelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlobjectelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmlolistelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmloptgroupelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmloptionelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmloptionscollection.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmloutputelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlparagraphelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlparamelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlpictureelement.rs Implement HTMLPictureElement interface. 2018-01-29 20:27:54 -05:00
htmlpreelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlprogresselement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlquoteelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlscriptelement.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
htmlselectelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlsourceelement.rs Making getters and setters 2018-07-03 01:34:22 +05:30
htmlspanelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlstyleelement.rs layout: script: Fix build. 2018-06-23 20:34:10 +02:00
htmltablecaptionelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltablecellelement.rs Fixup specified colspans and rowspans 2018-02-28 17:07:49 -08:00
htmltablecolelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltabledatacellelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltableelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmltableheadercellelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltablerowelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltablesectionelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltemplateelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmltextareaelement.rs textarea minLength/maxLength 2018-06-18 02:01:59 -07:00
htmltimeelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltitleelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltrackelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlulistelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlunknownelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlvideoelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
imagedata.rs Use safe NonZero constructor instead of an explicit null check 2018-01-22 17:41:26 +01:00
inputevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
keyboardevent.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
location.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
macros.rs Mark DecodeResolver as must_root 2018-07-30 14:21:47 +02:00
mediaerror.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
medialist.rs layout: script: Fix build. 2018-06-23 20:34:10 +02:00
mediaquerylist.rs use DOMTracker instead of WeakMediaQueryListVec 2018-07-29 16:42:59 +08:00
mediaquerylistevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
messageevent.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
mimetype.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
mimetypearray.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
mod.rs OfflineAudioContext 2018-07-30 14:23:48 +02:00
mouseevent.rs Use WebRender to compute text index on click events 2017-10-18 09:15:55 +02:00
mutationobserver.rs script: Fix the logic for mutation observer attributes. 2018-07-23 19:28:29 +02:00
mutationrecord.rs MutationObserver api: Implement takeRecords() and characterData mutations 2018-05-02 09:58:37 -07:00
namednodemap.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
navigator.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
navigatorinfo.rs
node.rs remove misleading url 2018-05-26 06:17:56 -07:00
nodeiterator.rs Update concept of node filter algorithm 2017-10-19 22:01:30 +08:00
nodelist.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
offlineaudiocompletionevent.rs OfflineAudioContext 2018-07-30 14:23:48 +02:00
offlineaudiocontext.rs Make OfflineAudioContextOptions spec compliant 2018-07-30 18:50:36 +02:00
oscillatornode.rs test-tidy fixes 2018-07-30 14:21:48 +02:00
pagetransitionevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
paintrenderingcontext2d.rs Add unique canvas IDs to all canvas operations. 2018-04-02 22:02:22 -04:00
paintsize.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
paintworkletglobalscope.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
performance.rs Do not fire pending callbacks on disconnected performance observer 2018-01-15 09:42:31 +01:00
performanceentry.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
performancemark.rs User Timing API 2017-09-06 13:33:30 +02:00
performancemeasure.rs User Timing API 2017-09-06 13:33:30 +02:00
performanceobserver.rs Fix some "unnecessary parentheses" warnings 2018-01-22 17:41:25 +01:00
performanceobserverentrylist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
performancepainttiming.rs Fix float conversion of paint timing metrics 2017-12-07 07:26:39 +01:00
performancetiming.rs Add a topLevelDomComplete metric. 2017-12-14 16:48:19 -06:00
permissions.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
permissionstatus.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
plugin.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
pluginarray.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
popstateevent.rs Let the popstate and hashchange events not bubble 2018-06-17 11:13:36 -07:00
processinginstruction.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
progressevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
promise.rs Updated to mozjs v0.7.1. 2018-05-30 14:44:47 -05:00
promisenativehandler.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
radionodelist.rs Expand InputType to cover all possible types 2017-12-06 21:11:39 +01:00
range.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
request.rs Make fetch() API use same-origin credentials by default 2018-07-17 10:28:24 +08:00
response.rs feat(webidl): expose arraybuffer overload in body idl 2018-03-23 23:12:21 -07:00
screen.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
serviceworker.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
serviceworkercontainer.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
serviceworkerglobalscope.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
serviceworkerregistration.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
storage.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
storageevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
stylepropertymapreadonly.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
stylesheet.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
stylesheetlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
svgelement.rs
svggraphicselement.rs
svgsvgelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
test_mapping.json Added randomness to the mutation strategy 2017-11-06 13:00:14 -05:00
testbinding.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
testbindingiterable.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testbindingpairiterable.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testbindingproxy.rs
testrunner.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
testworklet.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testworkletglobalscope.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
text.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
textcontrol.rs Disallow mutating the internals of TextInput 2018-02-16 11:24:12 +01:00
textdecoder.rs TextDecoder: streaming decode, ignoreBOM 2018-03-26 11:15:44 -07:00
textencoder.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
touch.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
touchevent.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
touchlist.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
transitionevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
treewalker.rs Auto merge of #18255 - CYBAI:prevent-reentrancy-pr18218, r=jdm 2017-10-21 15:13:04 -05:00
uievent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
url.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
urlhelper.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
urlsearchparams.rs Use the url crate without its query_encoding feature 2017-10-31 19:08:26 +01:00
userscripts.rs delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
validation.rs
validitystate.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
values.rs
virtualmethods.rs script: Remove HTMLAppletElement. 2017-11-06 17:08:14 +01:00
vr.rs Implements profiler for blocked recv 2018-03-22 11:48:27 -07:00
vrdisplay.rs Use ByteBuf for the canvas messages 2018-03-26 20:48:02 +02:00
vrdisplaycapabilities.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
vrdisplayevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
vreyeparameters.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
vrfieldofview.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
vrframedata.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
vrpose.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
vrstageparameters.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
webgl2renderingcontext.rs Implement gl.getUniform() 2018-07-18 21:37:41 +02:00
webglactiveinfo.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
webglbuffer.rs Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
webglcontextevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
webglframebuffer.rs Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
webglobject.rs Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
webglprogram.rs Fix program and shader lifetime cycle 2018-07-31 11:12:40 +02:00
webglrenderbuffer.rs Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
webglrenderingcontext.rs Properly check for context ownership of objects passed to gl.is*() 2018-07-31 11:12:45 +02:00
webglshader.rs Simplify gl.getShaderParameter() (fixes #20562) 2018-07-31 11:12:45 +02:00
webglshaderprecisionformat.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
webgltexture.rs Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
webgluniformlocation.rs Invalidate all WebGLUniformLocation values on program relink 2018-07-19 11:34:04 +02:00
webglvertexarrayobjectoes.rs Store a reference to the WebGLRenderingContext in WebGLObject 2018-07-24 13:27:33 +02:00
websocket.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
window.rs Auto merge of #21111 - gterzian:implement_document_load_cancellation, r=jdm 2018-07-29 11:14:29 -04:00
windowproxy.rs Set the proper attributes for the WindowProxy property descriptor 2018-04-30 15:43:40 -07:00
worker.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
workerglobalscope.rs use remote-event task source in EventSource 2018-07-13 13:56:46 +08:00
workerlocation.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
workernavigator.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
worklet.rs Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
workletglobalscope.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
xmldocument.rs Updated content_type of Document and XMLDocument from DOCString to Mime 2018-02-09 09:32:56 +05:30
xmlhttprequest.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
xmlhttprequesteventtarget.rs Use absolute paths in the event handlers macros 2017-09-01 11:54:09 +02:00
xmlhttprequestupload.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00