aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Enable video frames as OES texturesVíctor Manuel Jáquez Leal2019-09-101-2/+14
| | | | | | | | This patch parametrizes WR to handle OES textures if the incoming frame wraps one. It requires the update of servo-media package and the according WR parametrization.
* Auto merge of #24142 - CYBAI:warn-module-script, r=jdmbors-servo2019-09-061-111/+168
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show warning when module scripts are ignored The first five commits are `cherry-pick`-ed from the module script PR. I think it might be also good to have this PR first so that reviewers can focus on module script things on that PR! --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24089 - [x] These changes do not require tests because it just ignored module scripts (or should we turn on module script tests in this PR and update those test expectation to TIMEOUT?) <!-- 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/24142) <!-- Reviewable:end -->
| * Show warning when the script is a moduleCYBAI2019-09-061-38/+60
| | | | | | | | The warning can be removed in #23545.
| * Add `type_` for script origin to distinguish module or classicCYBAI2019-09-061-4/+12
| |
| * Rename ClassicScript to ScriptOriginCYBAI2019-09-061-13/+13
| | | | | | | | | | This is basically revert 965370c0bf. After introducing module script, we can reuse this struct and add field to see the type of script.
| * Rename ScriptContext to ClassicContextCYBAI2019-09-061-5/+5
| |
| * Recognize `module` as script typeCYBAI2019-09-061-34/+54
| |
| * Update spec step numberCYBAI2019-09-061-32/+39
| |
* | Auto merge of #24144 - stephenmuss:event-src-element, r=jdmbors-servo2019-09-052-0/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Event src element <!-- Please describe your changes on the following line: --> This builds on top of the work done in https://github.com/servo/servo/pull/22918 --- <!-- 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 #22880 - [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/24144) <!-- Reviewable:end -->
| * implement historical srcElement attribute for Event interfacedrexler2019-09-052-0/+6
| |
* | Auto merge of #24129 - Eijebong:parking_lot, r=jdmbors-servo2019-09-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Deduplicate parking_lot by updating it to 0.9 <!-- 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/24129) <!-- Reviewable:end -->
| * | Deduplicate parking_lot and friends by updating it to 0.9Bastien Orivel2019-09-051-1/+1
| | |
* | | Auto merge of #24137 - gterzian:fix_error_throwing_on_unknown_js_arg, r=jdmbors-servo2019-09-051-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Codegen: throw type error when encountering an unknown argument <!-- Please describe your changes on the following line: --> FIX #24130 --- <!-- 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/24137) <!-- Reviewable:end -->
| * | codegen: throw type error when encountering an unknown argumentGregory Terzian2019-09-051-1/+1
| | |
* | | Auto merge of #24109 - gterzian:fix_performance_entry_buffer_leak, r=asajeffreybors-servo2019-09-042-27/+34
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Performance: limit buffer size, clear on pipeline exit <!-- Please describe your changes on the following line: --> Part of https://github.com/servo/servo/issues/24074 --- <!-- 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/24109) <!-- Reviewable:end -->
| * | | performance: clear and disable buffer on pipeline exitGregory Terzian2019-09-042-27/+34
| |/ / | | | | | | | | | use existing buffer max size
* | | Auto merge of #24094 - asajeffrey:webxr-depth-n-stencil, r=jdmbors-servo2019-09-042-5/+63
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create depth and stencil attachments for XRWebGLLayer <!-- Please describe your changes on the following line: --> Creates depth and stencil attachments for an XRWebGLLayer if requested. --- <!-- 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 #24082 - [x] These changes do not require tests because not sure how we'd test for this <!-- 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/24094) <!-- Reviewable:end -->
| * | | Create depth and stencil attachments for XRWebGLLayerAlan Jeffrey2019-08-282-4/+46
| | | |
| * | | Better error detection when creating an XRWebGLLayerAlan Jeffrey2019-08-281-1/+17
| | | |
* | | | Auto merge of #24090 - georgeroman:implement_element_click_wd_command, r=jdmbors-servo2019-09-042-31/+143
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement ElementClick wd 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/24090) <!-- Reviewable:end -->
| * | | Implement ElementClick wd commandGeorge Roman2019-08-312-31/+143
| |/ /
* | | Auto merge of #24044 - Eijebong:img-element-spec-update, r=jdmbors-servo2019-09-021-23/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove <img>'s historical progress events Fixes #24011 <!-- 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/24044) <!-- Reviewable:end -->
| * | | Remove <img>'s historical progress eventsBastien Orivel2019-09-011-23/+2
| | | | | | | | | | | | | | | | Fixes #24011
* | | | Auto merge of #24097 - saschanaz:default-tojson, r=Manishearthbors-servo2019-09-016-11/+15
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add [Default] toJSON() to performance interfaces <!-- Please describe your changes on the following line: --> Enable `[Default] toJSON()` lines that were previously commented out. --- <!-- 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 #21274 <!-- 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/24097) <!-- Reviewable:end -->
| * | | Add [Default] toJSON() to performance interfacesKagami Sascha Rosylight2019-09-016-11/+15
| | | |
* | | | Work around crash on Windows when returning JS::Value by value.Josh Matthews2019-08-301-3/+6
| |_|/ |/| |
* | | Auto merge of #24072 - gterzian:ensure_docs_drop, r=asajeffreybors-servo2019-08-281-4/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure documents drop when a pipeline exits <!-- Please describe your changes on the following line: --> minimalist companion/alternative to https://github.com/servo/servo/pull/24047 --- <!-- 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/24072) <!-- Reviewable:end -->
| * | ensure documents drop when a pipeline exitsGregory Terzian2019-08-281-4/+14
| | |
* | | Auto merge of #24058 - Eijebong:ipc-channel, r=jdmbors-servo2019-08-271-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Update ipc-channel and related dependencies <!-- 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/24058) <!-- Reviewable:end -->
| * | Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
| |/
* | Auto merge of #23996 - georgeroman:implement_pointer_move_wd_action, r=jdmbors-servo2019-08-262-0/+59
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement pointerMove webdriver action <!-- 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 <!-- 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/23996) <!-- Reviewable:end -->
| * | Implement pointerMove webdriver actionGeorge Roman2019-08-222-0/+59
| | |
* | | Update Window::open and document::open parameters to match the specBastien Orivel2019-08-245-6/+6
| |/ |/| | | | | Fixes #24012
* | Auto merge of #24018 - Manishearth:wherever-you-are, r=asajeffreybors-servo2019-08-231-1/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow setting near/far clip planes needs https://github.com/servo/webxr/pull/41 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/24018) <!-- Reviewable:end -->
| * | Allow setting near/far clip planesManish Goregaokar2019-08-231-1/+11
| | |
* | | Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15)Simon Sapin2019-08-232-4/+4
| | |
* | | Auto merge of #23997 - collares:audiobuffersourcenode, r=ferjmbors-servo2019-08-222-5/+34
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement missing functionality of AudioBufferSourceNode <!-- Please describe your changes on the following line: --> This is a tiny PR to support [Media #293](https://github.com/servo/media/pull/293). Last time I ran WPT there was only one failing AudioBufferSourceNode test (which I will debug later this week). Once I rebased, however, I started getting unrelated servo-media build failures: ``` error[E0599]: no method named `shutdown_audio_context` found for type `std::sync::Arc<servo_media::ServoMedia>` in the current scope --> components/script/dom/baseaudiocontext.rs:566:14 error[E0599]: no method named `shutdown_player` found for type `std::sync::Arc<servo_media::ServoMedia>` in the current scope --> components/script/dom/htmlmediaelement.rs:1866:18 ``` I wanted to get this PR up so https://github.com/servo/media/pull/293 can be tested. When the unrelated build failures are fixed, I will run `./mach update-wpt` and update this PR. --- <!-- 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` only reports unrelated errors (broken servo/media master?) - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22363 <!-- 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/23997) <!-- Reviewable:end -->
| * | AudioBufferSourceNode: Send loop messagesMauricio Collares2019-08-201-2/+14
| | |
| * | AudioBufferSourceNode: Support start parameters (offset, duration)Mauricio Collares2019-08-191-0/+10
| | |
| * | AudioBuffer: Track sample rateMauricio Collares2019-08-192-4/+11
| | |
* | | Auto merge of #23947 - georgeroman:finish_json_clone_functionality, r=jdmbors-servo2019-08-211-29/+107
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish the JSON clone algorithm for 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 <!-- 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/23947) <!-- Reviewable:end -->
| * | | Finish the JSON clone algorithmGeorge Roman2019-08-211-29/+107
| | |/ | |/|
* | | introduce a pipeline namespace installerGregory Terzian2019-08-211-1/+3
| | |
* | | Auto merge of #23844 - saschanaz:tojson, r=Manishearthbors-servo2019-08-207-24/+99
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support default toJSON in WebIDL <!-- Please describe your changes on the following line: --> Ported related lines from gecko. --- <!-- 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 #22781 <!-- 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/23844) <!-- Reviewable:end -->
| * | remove redundant extra scopingKagami Sascha Rosylight2019-07-251-8/+1
| | |
| * | use SafeJSContextKagami Sascha Rosylight2019-07-252-5/+4
| | |
| * | Merge branch 'master' into tojsonKagami Sascha Rosylight2019-07-2572-1009/+968
| |\ \
| * | | Support default toJSON in WebIDLKagami Sascha Rosylight2019-07-247-21/+106
| | | |
* | | | Implement TakeElementScreenshot WebDriver commandGeorge Roman2019-08-202-0/+33
| |_|/ |/| |
* | | Auto merge of #24000 - ferjm:update.servo.media.shutdown, r=jdmbors-servo2019-08-192-24/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update servo-media. Remove implicit shutdown requests. It all happens… … automagicly now - [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/24000) <!-- Reviewable:end -->