aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Pass frame renderer to player only if video elementVíctor Manuel Jáquez Leal2019-05-301-1/+5
| | | | | | | | | | | | | | | | Otherwise it will only render audio but no video frames.
* | | | Auto merge of #23476 - ferjm:multi.streams, r=ceyusabors-servo2019-05-291-8/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow simultaneous playback of audio and video for getUserMedia - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- 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/23476) <!-- Reviewable:end -->
| * | | | Allow simultaneous playback of audio and video for getUserMediaFernando Jiménez Moreno2019-05-291-8/+9
| | |/ / | |/| |
* | | | script: Fix Servo build.Emilio Cobos Álvarez2019-05-291-3/+7
| |_|/ |/| |
* | | Auto merge of #23381 - maharsh312:master, r=jdmbors-servo2019-05-2811-778/+1727
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Canvas Components for OffscreenCanvas <!-- 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 - [ ] 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/23381) <!-- Reviewable:end -->
| * | Extract canvas operations for reuse by OffscreenCanvas.Maharsh2019-05-2211-778/+1727
| | |
* | | Fixes #23408Alex Johnson2019-05-261-37/+36
| |/ |/| | | | | | | | | Switched from using thread for websocket requests to ipc_channel::router::ROUTER Signed-off-by: Alex Johnson <hello@alex-johnson.net>
* | Auto merge of #23272 - tdelacour:ISSUE-20455, r=SimonSapinbors-servo2019-05-233-16/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ISSUE-20455: introduce stronger types for textinput indexing <!-- Please describe your changes on the following line: --> Added two new types: - ByteOffset - UTF16CodeUnitOffset I've replaced any instance of `usize` that would be better represented by one or the other of these. I also updated any downstream code, including the unit tests for `textinput.rs`. Along the way, I tried to add or edit comments to better reflect my understanding of this file - happy to revisit if I have misrepresented anything. I did not end up finding any places where types were very obviously being mixed, as the issue description suggested I should do... LMK if I should re-audit the file for that (might need a bit of guidance)! --- <!-- 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 #20455 (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/23272) <!-- Reviewable:end -->
| * | ISSUE-20455: introduce stronger types for textinput indexingThomas Delacour2019-05-163-16/+24
| | |
* | | Auto merge of #23188 - jackxbritton:issue-22287, r=KiChjang,ferjmbors-servo2019-05-222-3/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLMediaElement.crossorigin attribute logic. <!-- 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 #22287 - [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/23188) <!-- Reviewable:end -->
| * | | Implement HTMLMediaElement.crossorigin attribute logic.Jack Britton2019-05-222-3/+19
| | | |
* | | | Auto merge of #23282 - josephhutch:OscillatorNodeType, r=ferjmbors-servo2019-05-222-8/+28
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implemented type attribute for OscillatorNode interface <!-- Please describe your changes on the following line: --> Please see https://github.com/servo/media/pull/242 for implementation of the new oscillator node message. --- <!-- 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/23282) <!-- Reviewable:end -->
| * | | Implemented type attribute for OscillatorNode interfaceMaria Sable2019-05-212-8/+28
| | |/ | |/|
* | | Auto merge of #23226 - mmatyas:webgl_compressed_textures, r=jdmbors-servo2019-05-219-28/+652
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add initial support for WebGL compressed textures This patch is an initial implementation of WebGL compressed texture support, it contains - functions for registering and querying compressed texture extensions - initial implementation of `CompressedTexImage2D` and `CompressedTexSubImage2D` and their parameter validation - implementation of S3TC (DXT1, DXT3, DXT5) and ETC1 extensions as examples What's still missing: - some of the parameter validation steps are missing - the pixel comparison tests fail for more complex cases (I'm probably missing something trivial at the GL calls) Related: #10209 and #20594 cc @jdm @zakorgy --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] Related issues: #10209, #20594 - [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/23226) <!-- Reviewable:end -->
| * | | Add initial support for WebGL compressed texturesMátyás Mustoha2019-05-219-28/+652
| | | |
* | | | Auto merge of #23427 - Eijebong:outdated5ever, r=jdmbors-servo2019-05-211-12/+3
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Update xml5ever and html5ever <!-- 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/23427) <!-- Reviewable:end -->
| * | | Update xml5ever and html5everBastien Orivel2019-05-191-12/+3
| | | |
* | | | Auto merge of #23410 - tigercosmos:proxywindow-spec-update, r=KiChjangbors-servo2019-05-201-2/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spec update: window.name deals with lack of browsing context <!-- Please describe your changes on the following line: --> new [spec](https://html.spec.whatwg.org/multipage/window-object.html#dom-name): The name attribute's getter must run these steps: 1. If this Window object's browsing context is null, then return the empty string. 2. Return this Window object's browsing context's name. The name attribute's setter must run these steps: 1. If this Window object's browsing context is null, then return. 2. Set this Window object's browsing context's name to the given value. What is `null` here? According to [spec](https://html.spec.whatwg.org/multipage/browsers.html#concept-document-bc) > A Document's browsing context is the browsing context whose session history contains the Document, if any such browsing context exists and has not been discarded, and null otherwise. --- <!-- 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] passed ` tests/wpt/web-platform-tests/html/browsers/the-window-object/name-attribute.window.js` - [X] These changes fix #22915 <!-- 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/23410) <!-- Reviewable:end -->
| * | | window.name deals with lack of browsing contexttigercosmos2019-05-191-2/+7
| | | |
* | | | Auto merge of #23323 - nehalem501:master, r=jdmbors-servo2019-05-172-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement connectStart in PerformanceResourceTiming <!-- Please describe your changes on the following line: --> - Added connectStart where needed (```ResourceFetchTiming```, ```ResourceAttribute```) in ```components/net_traits/lib.rs ``` - Before calling ```client.request``` in ```obtain_response```, we now add the ```connectStart``` attribute (```components/net/http_loader.rs```) - Updated tests to reflect those changes --- <!-- 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 #21261 (at least partially) <!-- 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/23323) <!-- Reviewable:end -->
| * | | | Add connectStart in PerformanceResourceTimingTomek LECOCQ2019-05-032-2/+7
| | | | |
* | | | | Implement MouseEvent buttons attributeGeorge Roman2019-05-164-7/+45
| |_|_|/ |/| | |
* | | | Auto merge of #23351 - CYBAI:fix-modes, r=noxbors-servo2019-05-163-4/+11
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix modes for fetching classic worker script and introduce parser metadata for request While reading [the spec](https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script) for `fetch a classic worker script`, I found the `mode` and `credential-mode` are opposite to the spec. So, the first commit will fix it. Also, I found there's a `parser metadata` for `request` so I tried to introduce it in this PR as well. For WPT, I found there's a `/workers/constructors/Worker/same-origin.html` which was disabled in #3180. We pass most of the tests now. --- - [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) - [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/23351) <!-- Reviewable:end -->
| * | | Introduce parser metadata for requestCYBAI2019-05-113-3/+9
| | | |
| * | | Fix `mode` and `credential-mode` for fetching classic worker scriptCYBAI2019-05-111-2/+3
| | | | | | | | | | | | | | | | Ref to step 1 in https://html.spec.whatwg.org/multipage/#fetch-a-classic-script
* | | | Auto merge of #23363 - Darkspirit:https, r=jdmbors-servo2019-05-149-9/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More https * Disabled unused legacy TLS. It will be disabled for Nightly 72 or 73 in 5-7 months and ride the [trains](https://wiki.mozilla.org/Release_Management/Calendar). https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/ * Updated MPL license in a few files. It would be nice if a new version of https://pypi.org/project/servo_tidy/ could be released to update WebRender as well. * Switched servo-deps.s3.amazonaws.com back to https. This was recently regressed by 10585be25c334bd15710d1a6d93391a9acb6d543 and fc28073dfba05cb2d3fda624c135b2125c1b90af. * Made https the default protocol for address bar on desktop. Press Ctrl+L on the Glutin port and enter `example.com`: Servo previously assumed you meant `http://example.com/`, now it is `https://example.com/`. --- - [x] `./mach build --release` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- 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/23363) <!-- Reviewable:end -->
| * | | | Update MPL license to httpsJan Andre Ikenmeyer2019-05-109-9/+9
| | | | |
* | | | | Auto merge of #23135 - maharsh312:master, r=jdmbors-servo2019-05-134-60/+137
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create CanvasRect for OffscreenCanvas <!-- Please describe your changes on the following line: --> Created CanvasRect fot OffscreenCanvas and Updated Testcases --- <!-- 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 - [ ] `./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/23135) <!-- Reviewable:end -->
| * | | | | removed commentsMaharsh2019-05-132-56/+9
| | | | | |
| * | | | | Borrow Layout ChangeMaharsh2019-05-131-2/+5
| | | | | |
| * | | | | Updated Testcases and FormattingMaharsh2019-05-112-8/+7
| | | | | |
| * | | | | Changes for sender recieverMaharsh2019-05-092-6/+27
| | | | | |
| * | | | | Changes for gitignoreMaharsh2019-05-091-7/+16
| | | | | |
| * | | | | Created CanvasRect fro OffscreenCanvas and Updated TestcasesMaharsh2019-03-294-34/+126
| | | | | |
* | | | | | Auto merge of #23309 - CYBAI:update-workers, r=noxbors-servo2019-05-117-9/+53
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support WorkerOptions for Worker I'd like to start working on updating SW related codes and I found it will have some algorithms related to module workers. And I found parts of the spec update is related to [fetch a module worker script graph](https://html.spec.whatwg.org/multipage/#fetch-a-module-worker-script-tree), maybe it's worth being a separate PR? --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix part of #23308 - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/23309) <!-- Reviewable:end -->
| * | | | | | Update Worker webidl to support WorkerOptionsCYBAI2019-05-117-9/+53
| | |_|/ / / | |/| | | |
* / | | | | Update to SpiderMonkey 66.Josh Matthews2019-05-1024-117/+121
|/ / / / /
* | | | | Auto merge of #23322 - pylbrecht:sync.network.fetch, r=jdmbors-servo2019-05-104-51/+71
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create performance resource timing entry for synchronous network fetch <!-- 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 #23150 (GitHub issue number if applicable) <!-- 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/23322) <!-- Reviewable:end -->
| * | | | | Create resource timing entry for sync network fetchpylbrecht2019-05-084-51/+71
| | | | | |
* | | | | | No need to clone again the raw data.Víctor Manuel Jáquez Leal2019-05-091-1/+1
| |_|/ / / |/| | | | | | | | | | | | | | Players frame's get_data() already delivers a cloned raw data.
* | | | | Auto merge of #23342 - Manishearth:webrtc-streams, r=ferjmbors-servo2019-05-0912-37/+379
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-5/+28
| | | | |
| * | | | Add RTCPeerConnection.ontrackManish Goregaokar2019-05-082-1/+37
| | | | |
| * | | | Add RTCTrackEventManish Goregaokar2019-05-083-0/+102
| | | | |
| * | | | Add {MediaStream, MediaStreamTrack}.clone()Manish Goregaokar2019-05-084-4/+18
| | | | |
| * | | | Add MediaStream.addTrack() and MediaStream.removeTrack()Manish Goregaokar2019-05-082-2/+17
| | | | |
| * | | | Add MediaStream.getTrackById()Manish Goregaokar2019-05-072-1/+11
| | | | |
| * | | | Add MediaStream.getVideoTracks(), MediaStream.getAudioTracks()Manish Goregaokar2019-05-072-2/+23
| | | | |
| * | | | Add stream types to tracks, add MediaStreamTrack.id and MediaStreamTrack.kindManish Goregaokar2019-05-074-9/+41
| | | | |