aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Implemented type attribute for OscillatorNode interfaceMaria Sable2019-05-212-8/+28
|
* 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 #23171 - hundredeir:find_elem_elems, r=jdmbors-servo2019-05-192-0/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add webdriver command "Find elements from Element" --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Either: --> - [ ] 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/23171) <!-- Reviewable:end -->
| * | Formatted codehundredeir2019-04-072-5/+6
| | |
| * | Add webdriver command Find elements from elementhundredeir2019-04-062-0/+30
| | |
* | | 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-165-9/+58
| | | |
* | | | Auto merge of #23351 - CYBAI:fix-modes, r=noxbors-servo2019-05-164-4/+12
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-114-3/+10
| | | |
| * | | 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-118-9/+57
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-118-9/+57
| | |_|/ / / | |/| | | |
* / | | | | Update to SpiderMonkey 66.Josh Matthews2019-05-1030-136/+142
|/ / / / /
* | | | | Auto merge of #23322 - pylbrecht:sync.network.fetch, r=jdmbors-servo2019-05-106-58/+131
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-086-58/+131
| | | | | |
* | | | | | Auto merge of #23349 - ceyusa:no-clone-data, r=ferjmbors-servo2019-05-101-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to clone again the raw data. Players frame's get_data() already delivers a cloned raw data. <!-- 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: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there's not functional 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/23349) <!-- Reviewable:end -->
| * | | | | 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 #22856 - jdm:angle, r=paulrougetbors-servo2019-05-101-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add optional ANGLE support to glutin port Supporting ANGLE in Servo has two important benefits: * we can actually run Servo instances on our Windows CI machines, which gives us more confidence that we're not breaking it * we can continue to use OpenGL on devices like the Hololens, rather than creating platform-specific graphical backends <!-- 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/22856) <!-- Reviewable:end -->
| * | | | | Upgrade mozangle to 0.2 for libEGL.dll.Josh Matthews2019-05-091-1/+1
| | |_|/ / | |/| | |
* | | | | 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
| | | | | |
| * | | | | Use MediaStreamTracks in MediaStreamsManish Goregaokar2019-05-076-23/+51
| | | | | |
| * | | | | Add MediaStreamTrack interfaceManish Goregaokar2019-05-073-0/+60
| | | | | |
| * | | | | Update servo-mediaManish Goregaokar2019-05-071-1/+2
| | | | | |
* | | | | | Auto merge of #23318 - asajeffrey:magicleap-debugmozjs, r=jdmbors-servo2019-05-081-2/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix magicleap debugmozjs <!-- Please describe your changes on the following line: --> These changes get magicleap servo to compile with `--debugmozjs`. --- <!-- 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 #23074 and fix #22069 - [X] These changes do not require tests because we're not building debugmozjs servo for magicleap <!-- 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/23318) <!-- Reviewable:end -->
| * | | | | Fix debugmozjs build #23074Alan Jeffrey2019-05-061-2/+2
| |/ / / /
* | | | | Auto merge of #23325 - emilio:gecko-sync, r=emiliobors-servo2019-05-081-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See each individual commit for details. <!-- 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/23325) <!-- Reviewable:end -->
| * | | | | layout: fix Servo build.Emilio Cobos Álvarez2019-05-071-0/+4
| |/ / / /
* | | | | Auto merge of #23292 - Manishearth:input, r=asajeffreybors-servo2019-05-0711-21/+243
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for XRInputSource and target ray spaces Untested, but compiles. r? @jdm or @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/23292) <!-- Reviewable:end -->
| * | | | | Fix orientation getter in XRRigidTransformManish Goregaokar2019-05-071-1/+1
| | | | | |
| * | | | | Make viewerSpace [SameObject]Manish Goregaokar2019-05-032-2/+5
| | | | | |