aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Improve support for nested dictionariesManish Goregaokar2019-06-276-24/+12
|
* Script: removed a few opts::get()oneturkmen2019-06-2613-40/+126
|
* Auto merge of #23587 - jdm:smup67, r=asajeffreybors-servo2019-06-2614-100/+141
|\ | | | | | | | | | | | | | | Upgrade to SpiderMonkey 67 <!-- 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/23587) <!-- Reviewable:end -->
| * Upgrade to Spidermonkey 67.Josh Matthews2019-06-2614-100/+141
| |
* | style: Rustfmt again.Emilio Cobos Álvarez2019-06-251-1/+4
| |
* | Fix style system build with recent changes.Emilio Cobos Álvarez2019-06-252-3/+9
| |
* | Fix some new warningsSimon Sapin2019-06-2214-35/+35
|/
* Auto merge of #23546 - asajeffrey:magicleap-webvr-second-cut, r=Manishearthbors-servo2019-06-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Servo3D immersive demo for magicleap <!-- Please describe your changes on the following line: --> An immersive mode demo for magicleap. --- <!-- 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 (apart from dupes, sigh) - [X] These changes fix #22402 (GitHub issue number if applicable) - [X] These changes do not require tests because it's a new platform <!-- 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/23546) <!-- Reviewable:end -->
| * Add Servo3D immersive demo for magicleapAlan Jeffrey2019-06-131-1/+1
| |
* | Auto merge of #23560 - jdm:rand-upgrades, r=asajeffreybors-servo2019-06-134-7/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade various old versions of rand Old versions of rand rely on Windows APIs that are forbidden in UWP applications. These changes upgrade various dependencies that transitively depend on them. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes - [x] Fixes #22767. <!-- 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/23560) <!-- Reviewable:end -->
| * Upgrade headers, headers-core, and hyper_serde.Josh Matthews2019-06-134-7/+4
| |
* | Auto merge of #23551 - asajeffrey:script-navigatorid, r=jdmbors-servo2019-06-124-0/+45
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added missing NavigatorId attributes <!-- Please describe your changes on the following line: --> Add the missing attributes from https://html.spec.whatwg.org/multipage/system-state.html#navigatorid --- <!-- 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 do not require tests because there are already tests for Navigator <!-- 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/23551) <!-- Reviewable:end -->
| * Added missing NavigatorId attributesAlan Jeffrey2019-06-114-0/+45
| |
* | Use correct length in FakeXRDeviceController.setViews()Manish Goregaokar2019-06-111-2/+2
| |
* | Add stub makeXRCompatible()Manish Goregaokar2019-06-113-1/+14
| |
* | Update originOffset semanticsManish Goregaokar2019-06-102-18/+31
| |
* | Update reference spaces to new modelManish Goregaokar2019-06-108-225/+76
|/
* Auto merge of #23529 - gatoWololo:omar_split_mutation_observer, r=ferjmbors-servo2019-06-102-9/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split getter for mutation_observers() into two methods. Please let me know if these API changes look good: registered_mutation_observers() returns immutable references and does not init mutation observers. registered_mutation_observers_mut() lazily initializes raredata if it does not exist. Updated code that uses this methods to call appropriate method when mutation is not necessary. <!-- 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 #23286 <!-- Either: --> - [X] These changes do not require tests because: this is a small change to the API, and existing tests for Partial ShadowDOM support cover this API use/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/23529) <!-- Reviewable:end -->
| * Split getter for mutation_observers() into two methods.gatowololo2019-06-062-9/+21
| | | | | | | | | | | | | | | | | | | | | | registered_mutation_observers() returns immutable references and does not init mutation observers. registered_mutation_observers_mut() lazily initializes raredata if it does not exist. Updated code that uses this methods to call appropriate method when mutation is not necessary.
* | Implement WheelEvent InterfaceRobert Snakard2019-06-095-2/+249
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Use TypeError instead of InvalidState for exception.gatowololo2019-06-073-3/+10
| | | | | | | | Addresses Issue #23202
* | Use media element task source to receive the player's eventsVíctor Manuel Jáquez Leal2019-06-061-1/+1
|/ | | | | This is crumb left behind when changing the usage of dom task source to the proper media element task source.
* Auto merge of #23503 - emilio:gecko-sync, r=emiliobors-servo2019-06-042-5/+10
|\ | | | | | | | | | | | | | | | | | | | | style: sync changes from mozilla-central See each individual commit for details. This also cherry-picks #23463 with a few fixes that were needed in Gecko-only code. <!-- 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/23503) <!-- Reviewable:end -->
| * style: Do not use borrowed types in the selectors::Element trait.Evgeniy Reizner2019-06-041-4/+9
| | | | | | | | | | Closes #22972 Closes #23463
| * layout: Fix servo build.Emilio Cobos Álvarez2019-06-041-1/+1
| |
* | Auto merge of #23499 - est31:unused_code_removal_3, r=jdmbors-servo2019-06-048-88/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused code (3/N) <!-- Please describe your changes on the following line: --> Third PR in a series of PRs to remove unused/dead code from servo, powered by an (upcoming) tool of mine. Please take a look and tell me if you want to keep something. * First PR: #23477 * Second PR: #23498 --- <!-- 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 they only remove dead code <!-- 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/23499) <!-- Reviewable:end -->
| * Remove unused code from script* cratesest312019-06-028-88/+1
| |
* | Auto merge of #23372 - sreeise:xhr_resource_url, r=jdmbors-servo2019-06-021-4/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change XHRContext and resource timing information to use request URL <!-- Please describe your changes on the following line: --> Change resource timing information to return the URL used to create the XHR and store the URL in XHRContext. --- <!-- 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 #23329 (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/23372) <!-- Reviewable:end -->
| * | Change XHRContext and resource timing information to use request URL instead ↵sreeise2019-05-241-4/+3
| | | | | | | | | | | | of XHR's global URL r?@jdm
* | | Auto merge of #23459 - Eijebong:compartments, r=jdmbors-servo2019-06-0226-268/+263
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an inCompartments config option for bindings Fixes #23257 <!-- 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/23459) <!-- Reviewable:end -->
| * | | Make tidy happyBastien Orivel2019-05-251-8/+20
| | | |
| * | | Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-2522-259/+216
| | | |
| * | | Add support for attributes to the inCompartments binding parameterBastien Orivel2019-05-253-7/+13
| | | |
| * | | Add an inCompartments config for bindingsBastien Orivel2019-05-245-6/+26
| |/ /
* | | Implement worker origin member of WorkerLocationcsmoe2019-06-022-2/+13
| | |
* | | Auto merge of #23485 - Manishearth:xrtest, r=asajeffreybors-servo2019-05-308-1/+261
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basic XR Testing support This adds support for the XRTest and FakeXRDeviceController APIs from https://github.com/immersive-web/webxr-test-api, and plugs them into the `mock` backend of rust-webvr. Tested with [a modified webxr test page](https://github.com/immersive-web/webxr-test-api) r? @jdm @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/23485) <!-- Reviewable:end -->
| * | | Add 'spec' linksManish Goregaokar2019-05-302-1/+3
| | | |
| * | | Normalize rotationsManish Goregaokar2019-05-302-2/+4
| | | |
| * | | Add FakeXRDeviceController.setViewerOrigin()Manish Goregaokar2019-05-302-4/+19
| | | |
| * | | Add FakeXRDeviceController.setViews()Manish Goregaokar2019-05-302-3/+57
| | | |
| * | | Add XRTest.simulateDeviceConnection()Manish Goregaokar2019-05-302-5/+40
| | | |
| * | | Add XR.test()Manish Goregaokar2019-05-302-0/+13
| | | |
| * | | Add blank FakeXRDeviceController interfaceManish Goregaokar2019-05-303-0/+84
| | | |
| * | | Add blank XRTest interfaceManish Goregaokar2019-05-303-0/+55
| | | |
* | | | Auto merge of #23472 - ffwff:master, r=cybaibors-servo2019-05-301-1/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add value sanitization for input[type=email] <!-- Please describe your changes on the following line: --> Add value sanitization for input[type=email] as per the [HTML specification](https://html.spec.whatwg.org/multipage/input.html#e-mail-state-(type=email)). --- <!-- 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 part of #21810 (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/23472) <!-- Reviewable:end -->
| * | | | Add value sanitization algorithm for input[type="email"]ffwff2019-05-291-1/+19
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle "Multiple" attribute for email value sanitization Fix code formatting Tests for email value sanitization should pass Make failing wpt tests pass Change new_value => sanitized
* | | | 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
| |_|/ |/| |