aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #23342 - Manishearth:webrtc-streams, r=ferjmbors-servo2019-05-094-12/+71
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 -->
| * pref-gate RTCTrackEventManish Goregaokar2019-05-081-1/+1
| |
| * Add constructors for MediaStreamManish Goregaokar2019-05-081-5/+5
| |
| * Add RTCPeerConnection.ontrackManish Goregaokar2019-05-081-0/+12
| |
| * Add RTCTrackEventManish Goregaokar2019-05-081-0/+23
| |
| * Add {MediaStream, MediaStreamTrack}.clone()Manish Goregaokar2019-05-082-2/+2
| |
| * Add MediaStream.addTrack() and MediaStream.removeTrack()Manish Goregaokar2019-05-081-2/+2
| |
| * Add MediaStream.getTrackById()Manish Goregaokar2019-05-071-1/+1
| |
| * Add MediaStream.getVideoTracks(), MediaStream.getAudioTracks()Manish Goregaokar2019-05-071-2/+2
| |
| * Add stream types to tracks, add MediaStreamTrack.id and MediaStreamTrack.kindManish Goregaokar2019-05-071-2/+2
| |
| * Use MediaStreamTracks in MediaStreamsManish Goregaokar2019-05-071-1/+1
| |
| * Add MediaStreamTrack interfaceManish Goregaokar2019-05-071-0/+24
| |
* | Make viewerSpace [SameObject]Manish Goregaokar2019-05-031-1/+1
| |
* | Add XRInputSource.targetRaySpaceManish Goregaokar2019-05-031-1/+1
| |
* | Add XRInputSource.handednessManish Goregaokar2019-05-031-1/+1
| |
* | Use initialized input sources in getInputSources()Manish Goregaokar2019-05-031-0/+3
| |
* | Add blank XRInputSourceManish Goregaokar2019-05-031-0/+26
|/
* StereoPannerNode DOMMaria Sable2019-04-302-1/+18
|
* Auto merge of #23236 - swarnimarun:loop_patch, r=ferjmbors-servo2019-04-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
| * Implement HTMLMediaElement.loop AttributeSwarnim Arun2019-04-261-1/+1
| |
* | Auto merge of #22743 - ferjm:shadowdom, r=emiliobors-servo2019-04-295-14/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial ShadowDOM support This is just an early WIP, not to take it very seriously yet. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #22719 - [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/22743) <!-- Reviewable:end -->
| * | Throw NotSupported when trying to deep clone a shadow rootFernando Jiménez Moreno2019-04-261-1/+1
| | |
| * | Implement shadow-including root, set node as in doc when connected. Makes JS ↵Fernando Jiménez Moreno2019-04-261-1/+5
| | | | | | | | | | | | work in shadow trees
| * | Expose Element.AttachShadow under dom.shadowdom.enabled prefFernando Jiménez Moreno2019-04-261-0/+2
| | |
| * | Partial ShadowRoot implementation of DocumentOrShadowRootFernando Jiménez Moreno2019-04-261-0/+2
| | |
| * | ShadowRoot interfaceFernando Jiménez Moreno2019-04-261-0/+15
| | |
| * | DocumentOrShadowRoot mixinFernando Jiménez Moreno2019-04-262-12/+20
| | |
* | | Auto merge of #23279 - snarasi6:master, r=jdmbors-servo2019-04-271-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement deprecated setPosition and setOrientation methods for AudioListener #22898 <!-- Please describe your changes on the following line: --> I have uncommented the two methods SetPosition and SetOrientation in AudioListener.webidl and have included the two methods in the AudioListener.rs file. I have some errors while handling the NotSupported error for the methods. Can you please review the code and help me out with the errors? --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] 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/23279) <!-- Reviewable:end -->
| * | | Implemented SetOrientation and SetPosition functions but still have errors ↵snarasi62019-04-271-2/+2
| | | | | | | | | | | | | | | | in throwing NotSupported error message
* | | | Implemented JS API for setValueCurveAtTime and updated testsAkhilesh V2019-04-261-3/+3
|/ / /
* | | Auto merge of #23270 - Manishearth:audioparam-validation, r=ferjmbors-servo2019-04-261-6/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add input validation for AudioParam methods Waiting on a build to make WPT updates Spec requires us to validate inputs, we aren't doing this here. We don't need to check for things being finite since we already get the arguments as `Finite` values <!-- 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/23270) <!-- Reviewable:end -->
| * | Add input validation for AudioParam methodsManish Goregaokar2019-04-251-6/+6
| |/
* | Auto merge of #23178 - tdelacour:ISSUE-21263, r=jdmbors-servo2019-04-231-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add PerformanceResourceTiming: ResponseEnd <!-- Please describe your changes on the following line: --> 1. Added `ResponseEnd` to `ResourceAttribute` enum in `net_traits` and added it to the `set_attribute` function on `ResourceFetchTiming` 2. Added `response_end` field to `performanceresourcetiming.rs` 3. In `http_loader.rs`, set ResponseEnd after response body read is complete, or before return due to network error. I could use a little guidance on testing. After building and running `wpt` tests, I noticed that some tests now "Pass" when they were expected to "Fail". As per the wiki instructions, I've removed those expectations from the `metadata`. I noticed that there are a handful of other "failing" test expectations associated with `responseEnd`, but those still do not pass. I looked through some similar PRs (`connectEnd`, `redirectStart`, etc) and saw that they also still have a few failing test expectations here and there. Does that mean this is OK for now? How can I better understand which tests we expect to resolve for a given issue? Thanks! --- <!-- 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 #21263 (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/23178) <!-- Reviewable:end -->
| * | ISSUE-21263: implemented attribute setting in http loaderThomas Delacour2019-04-231-1/+1
| |/
* / Move WindowProxy declaration to the new WindowProxy.webidl file.krk2019-04-202-3/+7
|/
* Auto merge of #23164 - Manishearth:getpose, r=asajeffreybors-servo2019-04-052-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add XRFrame.getPose() I think I've figured out the model of poses, waiting on Nell for confirmation. Basically, `getViewerPose(p)` is equivalent to `getPose(source=viewerSpace, relative_to=p)` The eye-level space, for example, is stationary and stuck to the origin. The position-disabled and identity spaces somewhat counterintuitively follow you around (and appear to be stationary from `getViewerPose()` but not `getPose()`. The incorrect mental model kinda "works" when looking at only `getViewerPose()`, but we need to figure it out for `getPose()`. Todo (may add to this PR, but probably not) - implement `XRSession.viewerSpace` - implement position-disabled - implement floor-level (hard to test without a 6dof device) 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/23164) <!-- Reviewable:end -->
| * Add XRSession.viewerSpaceManish Goregaokar2019-04-041-0/+1
| |
| * Add XRFrame.getPose()Manish Goregaokar2019-04-041-0/+1
| |
| * Validate spaces passed to getViewerPose()Manish Goregaokar2019-04-041-1/+1
| |
* | Auto merge of #23145 - pylbrecht:performance.resource.timing, r=jdmbors-servo2019-04-041-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add connectEnd attribute to PerformanceResourceTiming interface <!-- Please describe your changes on the following line: --> --- <!-- 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 #21262 <!-- Either: --> - [X] There are tests for these changes <!-- 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/23145) <!-- Reviewable:end -->
| * Add connectEnd attribute to PerformanceResourceTiming interfacepylbrecht2019-04-041-1/+1
| |
* | Remove viewMatrixManish Goregaokar2019-04-031-1/+0
| | | | | | | | | | | | Users are supposed to use `view.transform.inverse.matrix` The view matrix was incorrect anyway, we had forgotten to invert it, but that was okay since we transposed it by accident (due to euclid's use of the row-vector convention), and for 3DOF devices these transforms are mostly rotations so transposing instead of inverting doesn't lead to visible effects.
* | Add XRRigidTransform.matrixManish Goregaokar2019-04-031-1/+1
| |
* | Add XRView.transformManish Goregaokar2019-04-031-1/+1
| |
* | XRRigidTransform.inverse is now a lazy attributeManish Goregaokar2019-04-031-1/+1
| |
* | Make XRViewerPose inherit from XRPoseManish Goregaokar2019-04-031-2/+1
| |
* | Add XRPose.transformManish Goregaokar2019-04-031-1/+1
| |
* | Add empty XRPose interfaceManish Goregaokar2019-04-031-0/+11
| |
* | Implement srcObject logic for Blob media providersFernando Jiménez Moreno2019-03-271-1/+1
|/
* Auto merge of #23097 - Manishearth:transforms, r=asajeffreybors-servo2019-03-271-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Properly support transforms in WebXR Still need to test this There are also a bunch of fixmes that I should get to in this PR. <!-- 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/23097) <!-- Reviewable:end -->