aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #23279 - snarasi6:master, r=jdmbors-servo2019-04-272-2/+39
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement deprecated setPosition and setOrientation methods for AudioListener #22898 <!-- Please describe your changes on the following line: --> I have uncommented the two methods SetPosition and SetOrientation in AudioListener.webidl and have included the two methods in the AudioListener.rs file. I have some errors while handling the NotSupported error for the methods. Can you please review the code and help me out with the errors? --- <!-- 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/23279) <!-- Reviewable:end -->
| * Implemented SetOrientation and SetPosition functions but still have errors ↵snarasi62019-04-272-2/+39
| | | | | | | | in throwing NotSupported error message
* | Implemented JS API for setValueCurveAtTime and updated testsAkhilesh V2019-04-262-3/+37
|/
* Auto merge of #23211 - jdm:win-cross, r=SimonSapinbors-servo2019-04-262-0/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Windows x86 build job. This will make it easier to start working on Hololens embedding work without having to deal with a broken build first. --- - [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 <!-- 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/23211) <!-- Reviewable:end -->
| * Add Windows x86 build job.Josh Matthews2019-04-262-0/+38
| |
* | Auto merge of #23270 - Manishearth:audioparam-validation, r=ferjmbors-servo2019-04-262-18/+71
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add input validation for AudioParam methods Waiting on a build to make WPT updates Spec requires us to validate inputs, we aren't doing this here. We don't need to check for things being finite since we already get the arguments as `Finite` values <!-- 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/23270) <!-- Reviewable:end -->
| * | Add input validation for AudioParam methodsManish Goregaokar2019-04-252-18/+71
| | |
* | | Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzianbors-servo2019-04-2521-85/+136
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add referrer to navigation fetch request <!-- Please describe your changes on the following line: --> Implement step 13 of [following hyperlinks](https://html.spec.whatwg.org/#following-hyperlinks-2) and step 14.3 of [window open](https://html.spec.whatwg.org/#window-open-steps), as well as other referrer- and fetch-related updates. --- <!-- 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 #22890 (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/23090) <!-- Reviewable:end -->
| * | | set referrer in window.load_urlRussell Cousineau2019-04-1920-55/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this conforms to follow-hyperlinks spec step 13 - this conforms to window-open spec step 14.3 - replace uses of `referrer_url` with `referrer` - in Request class, change "no-referrer" to "" - set websocket fetch referrer to "no-referrer"
| * | | update HTTP-network-or-cache fetch per specRussell Cousineau2019-04-191-30/+42
| | | |
* | | | Auto merge of #23256 - jdm:clang-cl, r=asajeffreybors-servo2019-04-251-5/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use clang-cl for Windows builds Depends on https://github.com/servo/mozjs/pull/178. <!-- 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/23256) <!-- Reviewable:end -->
| * | | | Force the use of clang-cl.exe for Windows builds.Josh Matthews2019-04-251-5/+0
| | |_|/ | |/| |
* | | | Auto merge of #23262 - paulrouget:cursor-update, r=jdmbors-servo2019-04-253-8/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update SetCursor behavior We were initially sending a SetCursor message on every mouse move because of a winit bug, which is now fixed. Also, we had a layout SetCursor message that was never used. Fix #18599 <!-- 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/23262) <!-- Reviewable:end -->
| * | | | Update SetCursor behaviorPaul Rouget2019-04-253-8/+11
| |/ / /
* / / / Upgrade to rustc 1.36.0-nightly (e305df184 2019-04-24)Simon Sapin2019-04-251-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes a `size_of` regression for a few DOM types, due to https://github.com/rust-lang/rust/pull/58623 which replaces the implementation of `HashMap` in the standard library to Hashbrown. Although `size_of<HashMap>` grows, it’s not obvious how total memory usage is going to be impacted: Hashbrown only has one `u8` instead of one `usize` of overhead per hash table bucket for storing (part of) a hash, and so might allocate less memory itself. Hashbrown also typically has better run time performance: https://github.com/rust-lang/hashbrown#performance Still, I’ve filed https://github.com/rust-lang/hashbrown/issues/69 about potentially reducing the `size_of<HashMap>` regression.
* | | Auto merge of #23178 - tdelacour:ISSUE-21263, r=jdmbors-servo2019-04-234-10/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add PerformanceResourceTiming: ResponseEnd <!-- Please describe your changes on the following line: --> 1. Added `ResponseEnd` to `ResourceAttribute` enum in `net_traits` and added it to the `set_attribute` function on `ResourceFetchTiming` 2. Added `response_end` field to `performanceresourcetiming.rs` 3. In `http_loader.rs`, set ResponseEnd after response body read is complete, or before return due to network error. I could use a little guidance on testing. After building and running `wpt` tests, I noticed that some tests now "Pass" when they were expected to "Fail". As per the wiki instructions, I've removed those expectations from the `metadata`. I noticed that there are a handful of other "failing" test expectations associated with `responseEnd`, but those still do not pass. I looked through some similar PRs (`connectEnd`, `redirectStart`, etc) and saw that they also still have a few failing test expectations here and there. Does that mean this is OK for now? How can I better understand which tests we expect to resolve for a given issue? Thanks! --- <!-- 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 #21263 (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/23178) <!-- Reviewable:end -->
| * | | ISSUE-21263: implemented attribute setting in http loaderThomas Delacour2019-04-234-10/+49
| | | |
* | | | Auto merge of #23200 - krk:webidl-lint, r=jdmbors-servo2019-04-238-6/+247
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Webidl lint Parse webidl files and lint for inheritance correctness. --- <!-- 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 #20461 <!-- 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/23200) <!-- Reviewable:end -->
| * | | | Inherit TestBinding from TestBindingProxy.krk2019-04-201-2/+2
| | | | |
| * | | | Move WindowProxy declaration to the new WindowProxy.webidl file.krk2019-04-202-3/+7
| | | | |
| * | | | Simplify ParentMismatchError.fmt.krk2019-04-201-6/+1
| | | | |
| * | | | Replace WebIdlError enum with ParentMismatchError struct.krk2019-04-201-20/+18
| | | | |
| * | | | Use iter.next instead of for-break.krk2019-04-201-13/+7
| | | | |
| * | | | Remove debug logs.krk2019-04-201-7/+1
| | | | |
| * | | | Allow Reflector as a parent and special case PaintRenderingContext2D.krk2019-04-201-0/+17
| | | | |
| * | | | Remove redundant return keyword.krk2019-04-201-1/+1
| | | | |
| * | | | Rename typ to ty and use &str where possible.krk2019-04-201-11/+12
| | | | |
| * | | | Parse webidl files and lint for inheritance correctness.krk2019-04-203-19/+114
| | | | |
| * | | | Can collect webidl paths.krk2019-04-205-1/+144
| |/ / /
* | | / Remove use of auto media backend. And update servo-mediaFernando Jiménez Moreno2019-04-233-5/+30
| |_|/ |/| |
* | | Auto merge of #23237 - hundredeir:GetTimeouts, r=jdmbors-servo2019-04-221-1/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds webdriver command Get Timeouts --- - [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 webdriver tests already exists for it <!-- 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/23237) <!-- Reviewable:end -->
| * | | Add webdriver command Get Timeoutshundredeir2019-04-201-1/+17
| |/ /
* | | Auto merge of #23115 - pylbrecht:measure.blocked.layout.queries, r=jdmbors-servo2019-04-229-6/+72
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | measure blocked layout queries <!-- 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 #19797 <!-- Either: --> - [ ] 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/23115) <!-- Reviewable:end -->
| * | fixup! Measure layout queries blocked by ongoing layoutpylbrecht2019-04-173-4/+3
| | |
| * | Measure layout queries blocked by ongoing layoutPhilipp Albrecht2019-04-139-6/+73
| | |
* | | Auto merge of #23234 - Eijebong:webdriver, r=jdmbors-servo2019-04-202-8/+11
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Update webdriver to 0.39 <!-- 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/23234) <!-- Reviewable:end -->
| * | Update webdriver to 0.39Bastien Orivel2019-04-202-8/+11
| | |
* | | Auto merge of #22769 - gterzian:use_thread_pool_in_resource_thread, r=noxbors-servo2019-04-192-36/+38
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a threadpool for 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: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #22768 (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/22769) <!-- Reviewable:end -->
| * | | use a threadpool for fetchGregory Terzian2019-04-182-36/+38
| | | |
* | | | Auto merge of #23006 - aditj:aditj-patch-7, r=jdmbors-servo2019-04-198-1/+60
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added WebDriver DeleteCookies Function <!-- Please describe your changes on the following line: --> This change adds DeleteCookies function of the webdriver crate to the servo webdriver server. See [spec](https://w3c.github.io/webdriver/#delete-all-cookies) --- <!-- 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 #8623 (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/23006) <!-- Reviewable:end -->
| * | | Add webdriver deletecookies functionaditj2019-04-198-1/+60
| | | |
* | | | Auto merge of #23215 - ferjm:decoder.channels, r=jdmbors-servo2019-04-181-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep a map between channel position and channel index for decoded audio - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are WPTs for these changes. This should help fixing #22842 (along with https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/issues/183). I couldn't reproduce it locally, so I cannot tell for sure. <!-- 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/23215) <!-- Reviewable:end -->
| * | | | Keep a map between channel position and channel index for decoded audioFernando Jiménez Moreno2019-04-171-1/+12
| | | | |
* | | | | Remove :-servo-case-sensitive-type-attr()Ian Moody2019-04-183-33/+6
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | No longer needed now that the case-sensitive flag for attributes selectors is supported. Update user-agent CSS sheet to use the standard flag. Fixes #23227
* | | | Auto merge of #23216 - ferjm:replay, r=ceyusabors-servo2019-04-171-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow replaying media - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] 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/23216) <!-- Reviewable:end -->
| * | | | Allow replaying mediaFernando Jiménez Moreno2019-04-171-2/+6
| | | | |
* | | | | Auto merge of #23187 - krk:nopanic-unminifyjs, r=jdmbors-servo2019-04-161-1/+9
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not unwrap empty unminified_js_dir in HTMLScriptElement.unminify_js. Calling unwrap caused a panic when a directory could not be created. --- <!-- 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 #23031 <!-- 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/23187) <!-- Reviewable:end -->
| * | | | Clarify warning.Josh Matthews2019-04-161-1/+1
| | | | |
| * | | | Do not unwrap empty unminified_js_dir in HTMLScriptElement.unminify_js.krk2019-04-101-1/+9
| |/ / /
* | | | Auto merge of #23197 - jdm:bindgen, r=paulrougetbors-servo2019-04-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update bindgen and crates that depend on it. <!-- 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/23197) <!-- Reviewable:end -->