aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* MediaSession API DOM bindingsFernando Jiménez Moreno2019-11-201-0/+2
|
* MediaElementAudioSourceNode implementationFernando Jiménez Moreno2019-11-181-0/+1
|
* Add Support for WebGL TransormfeedbackIstvan Miklos2019-11-081-0/+1
| | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
* begin messageport, transferable objects, implKeith Yeung2019-10-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accept transfer argument for StructuredCloneData::write Allow structured clone reads to return a boolean Add Transferable trait Add basic skeletons to MessagePort Implement transfer and transfer-receiving steps on MessagePort Use transfer and transfer_receive in StructuredClone callbacks Implement MessageChannel Freeze the array object for the MessageEvent ports attribute Implement transfer argument on window.postMessage Use ReentrantMutex instead for MessagePortInternal Accept origin as a parameter in dispatch_jsval Fix BorrowMut crash with pending_port_message Detach port on closure and check for detached during transfer Enable webmessaging tests fix webidl fix
* Auto merge of #24397 - Manishearth:inputarray, r=jdmbors-servo2019-10-081-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Support new way of doing input source arrays Fixes https://github.com/servo/servo/issues/24395 r? @jdm <!-- 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/24397) <!-- Reviewable:end -->
| * Add empty XRInputSourceArray interfaceManish Goregaokar2019-10-081-0/+1
| |
* | Auto merge of #24333 - mmatyas:webgl_fns_samplers, r=jdmbors-servo2019-10-081-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add WebGLSampler support Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13 <!-- Please describe your changes on the following line: --> cc @jdm @zakorgy --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/24333) <!-- Reviewable:end -->
| * Add WebGLSampler supportMátyás Mustoha2019-10-081-0/+1
| | | | | | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13
* | Make poses nullableManish Goregaokar2019-10-031-0/+1
|/
* Initial implementation of WebGLSyncIstvan Miklos2019-10-021-0/+1
| | | | | | | This patch adds initial support for WebGLSync. Note: There is no test for the isSync, deleteSync and waitSync functions in the `conformance2/sync/sync-webgl-specific.html`.
* Initial implementation of WebGLQueriesMátyás Mustoha2019-10-011-0/+1
| | | | | | | | This patch adds initial support for WeGLQueries. Most related WebGL functions and objects are implemented [1]. What's still missing is the `EXT_disjoint_timer_query_webgl2` support. [1]: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.12
* WebIDL codegen: Replace cmake with a single Python scriptSimon Sapin2019-09-271-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | When playing around with Cargo’s new timing visualization: https://internals.rust-lang.org/t/exploring-crate-graph-build-times-with-cargo-build-ztimings/10975/21 … I was surprised to see the `script` crate’s build script take 76 seconds. I did not expect WebIDL bindings generation to be *that* computationally intensive. It turns out almost all of this time is overhead. The build script uses CMake to generate bindings for each WebIDL file in parallel, but that causes a lot of work to be repeated 366 times: * Starting up a Python VM * Importing (parts of) the Python standard library * Importing ~16k lines of our Python code * Recompiling the latter to bytecode, since we used `python -B` to disable writing `.pyc` file * Deserializing with `cPickle` and recreating in memory the results of parsing all WebIDL files ---- This commit remove the use of CMake and cPickle for the `script` crate. Instead, all WebIDL bindings generation is done sequentially in a single Python process. This takes 2 to 3 seconds.
* Temporary implementation of Canvas.MeasureTextPaul Rouget2019-09-251-0/+1
|
* add webidl bindings for DOMStringListRasmus Viitanen2019-09-181-0/+1
|
* ISSUE-21803: implement ConstantSourceNode audionodeThomas Delacour2019-08-131-0/+1
|
* Auto merge of #23814 - Manishearth:events, r=asajeffreybors-servo2019-07-231-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Partial support for events in WebXR Needs https://github.com/servo/webxr/pull/20 r? @asajeffrey <!-- 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/23814) <!-- Reviewable:end -->
| * Make use of ended flag, get rid of XRLayerManish Goregaokar2019-07-221-1/+0
| |
| * Add XRSessionEventManish Goregaokar2019-07-221-0/+1
| |
* | Auto merge of #23774 - sreeise:media_fragment_parser, r=ferjmbors-servo2019-07-231-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Media fragment parser <!-- Please describe your changes on the following line: --> Media fragment parser for audio and video. --- <!-- 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 #22366 (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/23774) <!-- Reviewable:end -->
| * Media fragment parsersreeise2019-07-221-0/+1
| |
* | Auto merge of #23203 - iulianR:22828, r=jdmbors-servo2019-07-151-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement PerformanceNavigation interface <!-- Please describe your changes on the following line: --> This is my first attempt. Please let me know if I should change anything. --- <!-- 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 #22828 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because **not sure** <!-- 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/23203) <!-- Reviewable:end -->
| * Implement PerformanceNavigation interfaceIulian Gabriel Radu2019-06-261-0/+1
| |
* | Update to latest xrtest apiManish Goregaokar2019-07-011-1/+1
|/
* Update reference spaces to new modelManish Goregaokar2019-06-101-1/+0
|
* Implement WheelEvent InterfaceRobert Snakard2019-06-091-0/+1
| | | | | | | | | | | Note: The WheelEvent interface supports rotation in all 3 spatial dimensions. This implementation only supports two due to limitations in the Glutin compositor. The wheelevent interface is a dom interface that triggers for any attached device that can rotate in one or more spatial dimensions. Traditionally this is the mouse wheel though other devices could be used as well. E.g. the trackball on a trackball mouse.
* Add blank FakeXRDeviceController interfaceManish Goregaokar2019-05-301-0/+1
|
* Add blank XRTest interfaceManish Goregaokar2019-05-301-0/+1
|
* Auto merge of #23342 - Manishearth:webrtc-streams, r=ferjmbors-servo2019-05-091-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Receive streams in WebRTC (and MediaStreamTrack support) This adds the `ontrack` event handler to webrtc, and all the `MediaStreamTrack` stuff necessary to make it work. WebRTC has the ability to group media tracks into streams using MSIDs, but I haven't yet figured out how to do this. For now, `ontrack` should work. This _should_ be complete, but it hasn't yet been tested (hence the WIP) r? @ferjm or @jdm <!-- 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/23342) <!-- Reviewable:end -->
| * Add RTCTrackEventManish Goregaokar2019-05-081-0/+1
| |
| * Add MediaStreamTrack interfaceManish Goregaokar2019-05-071-0/+1
| |
* | Add blank XRInputSourceManish Goregaokar2019-05-031-0/+1
|/
* StereoPannerNode DOMMaria Sable2019-04-301-0/+1
|
* Introduce NodeRareData and ElementRareDataFernando Jiménez Moreno2019-04-261-0/+1
|
* Partial ShadowRoot implementation of DocumentOrShadowRootFernando Jiménez Moreno2019-04-261-0/+1
|
* ShadowRoot interfaceFernando Jiménez Moreno2019-04-261-0/+1
|
* Add empty XRPose interfaceManish Goregaokar2019-04-031-0/+1
|
* Add XRRenderStateManish Goregaokar2019-03-251-0/+1
|
* Implement XMLSerializer interfaceGeorge Roman2019-03-211-0/+1
|
* Implement CDATASection interface and createCDATASection methodGeorge Roman2019-03-141-0/+1
|
* Added AudioTrack, AudioTrackList, VideoTrack, VideoTrackList, and TrackEvent ↵sreeise2019-03-031-0/+5
| | | | interfaces
* Add empty MediaStream interfaceManish Goregaokar2019-01-291-0/+1
|
* Add empty MediaDevices interfaceManish Goregaokar2019-01-291-0/+1
|
* Add RTCPeerConnectionIceEventManish Goregaokar2019-01-291-0/+1
|
* Add empty RTCIceCandidate interfaceManish Goregaokar2019-01-281-0/+1
|
* Add empty RTCSessionDescription interfaceManish Goregaokar2019-01-281-0/+1
|
* Add empty RTCPeerConnection interfaceManish Goregaokar2019-01-281-0/+1
|
* Implement formdata eventCYBAI2019-01-231-0/+1
|
* Initial Steps OffScreenCanvas APIMaharsh2019-01-151-0/+2
|
* Implement DOM APIs for ChannelSplitterNodeMauricio Collares2019-01-101-0/+1
|
* Support fetching viewport infoManish Goregaokar2018-12-211-0/+1
|