aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Support DOMMatrix string constructorKagami Sascha Rosylight2019-06-304-26/+107
|
* Auto merge of #23310 - KaczuH:add-domain-lookup-start, r=jdmbors-servo2019-06-292-3/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add domain_lookup_start functionality <!-- Please describe your changes on the following line: --> Added the domain_lookup_start functionality in http_loader.rs (http_redirect_fetch function) --- <!-- 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 #21259 (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/23310) <!-- Reviewable:end -->
| * Add PerformanceResourceTiming: domainLookupStartKamil Niski2019-06-302-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove wpt tests for domainLookupStart Set ResourceAttribute::DomainLookupTime Move DomainLookupStart timing before HTTP request initialization Change label of domainLookupStart TAO zero test to PASS Adjust the from_resource_timing method to initialize domain_lookup_start value Restore domainLookupsStart test
* | Create a helper API for entering a DOM object's compartmentKamil Niski2019-06-2914-50/+45
|/ | | | | | Revert some unnecessary changes Fix fmt errors
* Improve support for nested dictionariesManish Goregaokar2019-06-276-24/+12
|
* Script: removed a few opts::get()oneturkmen2019-06-2614-44/+212
|
* Auto merge of #23587 - jdm:smup67, r=asajeffreybors-servo2019-06-2617-131/+250
|\ | | | | | | | | | | | | | | 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-2617-131/+250
| |
* | style: Rustfmt again.Emilio Cobos Álvarez2019-06-251-1/+4
| |
* | Fix style system build with recent changes.Emilio Cobos Álvarez2019-06-252-3/+9
| |
* | Auto merge of #23536 - gatoWololo:omar_timing_entries, r=jdmbors-servo2019-06-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let resources timing entries be added to performance entry buffer. <!-- Please describe your changes on the following line: --> Update relevant tests to properly report and expect failure. These changes are the first step for #23328. Not sure if I would say they _fix_ the issue. --- <!-- 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: Existing tests have been updated to expect pass/failures. <!-- 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/23536) <!-- Reviewable:end -->
| * | Let resources timing entries be added to performance entry buffer.gatowololo2019-06-111-1/+1
| | | | | | | | | | | | | | | Update relevant tests to properly report and expect failure. Update manifest.
* | | Auto merge of #23581 - georgeroman:implement_get_page_source_wd_command, r=jdmbors-servo2019-06-222-0/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement GetPageSource WebDriver command <!-- 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 <!-- 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/23581) <!-- Reviewable:end -->
| * | | Implement GetPageSource WebDriver commandGeorge Roman2019-06-172-0/+30
| | |/ | |/|
* / | Fix some new warningsSimon Sapin2019-06-2216-41/+40
|/ /
* | 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-136-16/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 phf codegen.Josh Matthews2019-06-131-3/+3
| | |
| * | Upgrade headers, headers-core, and hyper_serde.Josh Matthews2019-06-136-13/+8
| | |
* | | 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
| | |
* | | Auto merge of #23468 - servo:jdm-patch-52, r=asajeffreybors-servo2019-06-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Windows arm64 build. Depends on: * [x] https://github.com/servo/mozjs/pull/184 * [x] https://github.com/servo/rust-mozjs/pull/463 * [ ] <strike>https://github.com/servo/ipc-channel/pull/232</strike> * [x] https://github.com/alexcrichton/cmake-rs/pull/82 * [x] https://github.com/servo/rust-offscreen-rendering-context/pull/136 * [x] https://github.com/servo/mozangle/pull/21 <!-- 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/23468) <!-- Reviewable:end -->
| * | | Update mozjs for Windows arm64 support.Josh Matthews2019-06-111-1/+1
| | |/ | |/|
* | | Auto merge of #23547 - Manishearth:reference-spaces, r=asajeffreybors-servo2019-06-1111-243/+120
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to latest WebXR spec, add tests This pulls in a bunch of the newer stuff. I think with this PR we're spec-compatible for the things we support. <s>For testing I'm likely going to write custom tests rather than adapting the existing ones, as a first pass, but when I start adapting the existing ones these changes will make it smoother.</s> This PR also adds some pretty simple tests that deal with core functionality. 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/23547) <!-- Reviewable:end -->
| * | 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 #23544 - georgeroman:fix_borrow_mut_error_in_webdriver, ↵bors-servo2019-06-102-41/+46
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=asajeffrey Fix already borrowed error in webdriver <!-- 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 #23535 <!-- 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/23544) <!-- Reviewable:end -->
| * | Fix already borrowed error in webdriverGeorge Roman2019-06-102-41/+46
| | |
* | | 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-096-3/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0410-121/+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 a bunch of cratesest312019-06-031-0/+4
| |
| * Remove unused code from script* cratesest312019-06-0211-125/+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-0228-272/+274
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-247-10/+37
| |/ /
* | | Implement worker origin member of WorkerLocationcsmoe2019-06-022-2/+13
| | |