Commit graph

38180 commits

Author SHA1 Message Date
WPT Sync Bot
02a68a38f0 Update web-platform-tests to revision 936827a6527f1c53051d3bc5bc79304c88c0737f 2019-08-16 14:22:21 +00:00
bors-servo
c585f4fff5
Auto merge of #23962 - servo-wpt-sync:wpt_update_13-08-2019, r=servo-wpt-sync
Sync WPT with upstream (13-08-2019)

Automated downstream sync of changes from upstream as of 13-08-2019.
[no-wpt-sync]

<!-- 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/23962)
<!-- Reviewable:end -->
2019-08-16 02:32:29 -04:00
bors-servo
54d86406a3
Auto merge of #23958 - Eijebong:toml, r=nox
Update toml to 0.5 and cbindgen 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/23958)
<!-- Reviewable:end -->
2019-08-15 23:53:53 -04:00
bors-servo
669e614a8b
Auto merge of #23957 - ferjm:readme.gst.msvc, r=jdm
Clarify instructions for installing GStreamer dependencies on Windows

- [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

<!-- 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/23957)
<!-- Reviewable:end -->
2019-08-15 22:13:03 -04:00
bors-servo
376847c415
Auto merge of #23805 - georgeroman:initial_actions_support_in_webdriver, r=jdm
Initial Actions support 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

<!-- 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/23805)
<!-- Reviewable:end -->
2019-08-15 19:26:53 -04:00
bors-servo
60c1908874
Auto merge of #23919 - tdelacour:ISSUE-21803, r=jdm
ISSUE-21803: Implement ConstantSourceNode audionode

<!-- Please describe your changes on the following line: -->
More or less followed the steps outlined in `components/script/dom/mod.rs` (and also used the [previous PR](https://github.com/servo/servo/pull/23152) on this issue as reference). Updated `wpt` tests as well.

---
<!-- 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 #21803 (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/23919)
<!-- Reviewable:end -->
2019-08-15 18:05:33 -04:00
bors-servo
91469aa472
Auto merge of #23967 - gterzian:fix_double_transplant, r=asajeffrey
Remove redundant windowproxy transplanting

<!-- 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 #___ (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/23967)
<!-- Reviewable:end -->
2019-08-14 16:13:16 -04:00
Gregory Terzian
9acf3f6d4d windowproxy: prevent unnecessary calls to set_window 2019-08-14 22:02:44 +02:00
bors-servo
c47575535c
Auto merge of #23963 - asajeffrey:magicleap-grainier, r=Manishearth
Reduce magicleap servo screen resolution

<!-- Please describe your changes on the following line: -->

Reduce the magicleap resolution from 720p to 480p. (Videos at 720p seem to lag.)

---
<!-- 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 we don't test native UI

<!-- 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/23963)
<!-- Reviewable:end -->
2019-08-14 10:54:19 -04:00
bors-servo
d7433c9a65
Auto merge of #23853 - ferjm:media.update, r=ceyusa
Fix HTMLMediaElement seek race condition

- [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)

This depends on https://github.com/servo/media/pull/289 and it's blocked by the servo-media update issue mentioned [here](https://github.com/servo/servo/pull/23842#issuecomment-515007529)

<!-- 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/23853)
<!-- Reviewable:end -->
2019-08-14 02:03:52 -04:00
bors-servo
3aa55904d1
Auto merge of #23956 - nox:trim-layout, r=Manishearth
Remove more stuff from layout_2020

<!-- 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/23956)
<!-- Reviewable:end -->
2019-08-13 20:38:38 -04:00
Alan Jeffrey
b4565dd3e2 Reduce magicleap servo screen resolution 2019-08-13 13:50:50 -05:00
WPT Sync Bot
93a31731d9 Update web-platform-tests to revision 9f01716569ae5dfd79675ea55718e48017d077a8 2019-08-13 17:10:08 +00:00
Thomas Delacour
6027dd148a ISSUE-21803: implement ConstantSourceNode audionode 2019-08-13 10:13:05 -04:00
Fernando Jiménez Moreno
0865809e03 Clarify instructions for installing GStreamer dependencies on Windows 2019-08-13 13:45:11 +02:00
Anthony Ramine
053e361e2f Remove more stuff from layout_2020 2019-08-13 13:45:05 +02:00
Bastien Orivel
f7411db717 Update toml to 0.5 and cbindgen to 0.9 2019-08-13 13:26:13 +02:00
Bastien Orivel
62e46cf87c Force the std feature for log
While trying to build this crate with the gecko feature rust complained
about us using `log::set_boxed_logger` because it requires the std feature
which was not explicitly set in that crate.
2019-08-13 13:24:35 +02:00
Fernando Jiménez Moreno
1fbb3b39b0 Temporarily ignore duplicated url and deps crates 2019-08-13 09:43:06 +02:00
bors-servo
9b24798390
Auto merge of #23945 - Manishearth:hl-xr-immersive, r=asajeffrey
Immersive WebXR on Hololens

This PR adds support to the OpenXR backend (https://github.com/servo/webxr/pull/37) for Hololens. We support _entering_ immersive mode, but currently do nothing in immersive mode (https://github.com/servo/webxr/issues/38, applying https://github.com/servo/webxr/tree/d3d11-draw should render some red).

This should be ready to land as-is aside from its dependency on https://github.com/servo/servo/pull/23922. It can be tested on https://manishearth.github.io/webgl-to-webxr/webxr-ar.html (make sure to click through the alerts).

This is based on https://github.com/servo/servo/pull/23922 .

This builds off of @paulrouget's work.

r? @jdm @paulrouget

<!-- 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/23945)
<!-- Reviewable:end -->
2019-08-13 00:38:57 -04:00
Manish Goregaokar
c879ce078d Use packaged OpenXR 2019-08-12 19:28:48 -07:00
Manish Goregaokar
acfe1ee0dd Add support for OpenXR hololens backend 2019-08-12 19:28:48 -07:00
Alan Jeffrey
db4edaee87 Make the magicleap servo2d app 16x9 rather than square 2019-08-12 17:15:35 -05:00
Alan Jeffrey
4709a3061d Use the built-in laser pointer for magicleap 2019-08-12 11:26:46 -05:00
Fernando Jiménez Moreno
9ad66b6866 Update servo-media 2019-08-12 16:16:30 +02:00
Fernando Jiménez Moreno
322062bb3f Fix HTMLMediaElement seek race condition 2019-08-12 15:45:13 +02:00
bors-servo
9b4b02275e
Auto merge of #23949 - servo-wpt-sync:wpt_update_11-08-2019, r=servo-wpt-sync
Sync WPT with upstream (11-08-2019)

Automated downstream sync of changes from upstream as of 11-08-2019.
[no-wpt-sync]

<!-- 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/23949)
<!-- Reviewable:end -->
2019-08-11 17:50:27 -04:00
bors-servo
4b4414099a
Auto merge of #23950 - Eijebong:dupes-are-bad-for-you, r=jdm
Update rand to 0.6

I changed the isaac random to always be the 32 bits one because the 64
bits version doesn't work with ReseedingRng as it requires the
generator's output to be u32 for some reasons.

The other main change is that the reseed method doesn't exist anymore
and now rand recreates a new generator when it needs to reseed so I had
to add a new method for when we don't want a generator to be reseeded.

Closes #23558

<!-- 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/23950)
<!-- Reviewable:end -->
2019-08-11 15:40:54 -04:00
Bastien Orivel
c693ef7025 Update rand to 0.6
I changed the isaac random to always be the 32 bits one because the 64
bits version doesn't work with ReseedingRng as it requires the
generator's output to be u32 for some reasons.

The other main change is that the reseed method doesn't exist anymore
and now rand recreates a new generator when it needs to reseed so I had
to add a new method for when we don't want a generator to be reseeded.

Closes #23558
2019-08-11 20:50:22 +02:00
WPT Sync Bot
add1a306e5 Update web-platform-tests to revision 2f08203a98291809cf67839232d45e68752dcb25 2019-08-11 14:55:16 +00:00
bors-servo
07627c72cf
Auto merge of #23938 - Eijebong:clear-image-path, r=jdm
Move the clear-100x50.png image to the right directory

Also removes an unused duplicate of that file.

All the references to that file are made through
`/images/clear-100x50.png`. Since it didn't exist until now, the tests
were showing an empty expected result which confused me a bit while
debugging canvas issues.

<!-- 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/23938)
<!-- Reviewable:end -->
2019-08-11 08:45:26 -04:00
Bastien Orivel
1bf9df9354 Move the clear-100x50.png image to the right directory
Also removes an unused duplicate of that file.

All the references to that file are made through
`/images/clear-100x50.png`. Since it didn't exist until now, the tests
were showing an empty expected result which confused me a bit while
debugging canvas issues.
2019-08-11 14:38:27 +02:00
bors-servo
59f9a3d370
Auto merge of #23946 - servo-wpt-sync:wpt_update_10-08-2019, r=servo-wpt-sync
Sync WPT with upstream (10-08-2019)

Automated downstream sync of changes from upstream as of 10-08-2019.
[no-wpt-sync]

<!-- 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/23946)
<!-- Reviewable:end -->
2019-08-10 17:04:28 -04:00
George Roman
75efb09147 Initial actions support in WebDriver 2019-08-10 23:18:03 +03:00
bors-servo
2af31be4ec
Auto merge of #23944 - Manishearth:hl-scroll, r=jdm
Fix scrolling on hololens

This got inverted in https://github.com/servo/servo/pull/23900 by accident, mostly because the old code had two ordering mistakes that cancel each other out.

r? @jdm @paulrouget

<!-- 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/23944)
<!-- Reviewable:end -->
2019-08-10 14:21:07 -04:00
bors-servo
b01a4d0e29
Auto merge of #23940 - servo:fix-layout-2020, r=emilio
Always send epochs to webrender in layout 2020

<!-- 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/23940)
<!-- Reviewable:end -->
2019-08-10 12:03:34 -04:00
WPT Sync Bot
a45a4f8e2b Update web-platform-tests to revision ebeb032b23de5abb7f9fd7fffcf471eaa6e2c154 2019-08-10 14:35:44 +00:00
bors-servo
79b456d84e
Auto merge of #23725 - georgeroman:support_returning_arrays_from_execute_script, r=jdm
Support for returning array-like types from the Execute(Async)Script 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/23725)
<!-- Reviewable:end -->
2019-08-10 10:28:07 -04:00
Anthony Ramine
6876245858 Always send epochs to webrender in layout 2020 2019-08-10 13:18:10 +02:00
George Roman
58f80f4ff3 Add support for returning array-like types from the Execute(Async)Script wd command 2019-08-10 12:39:10 +03:00
bors-servo
b3c0ed295f
Auto merge of #23922 - angelortiz1007:redir, r=jdm
Redirect stdout/stderr on windows

Added function redirect_stdout_stderr() to support stdout & stderr to be redirected to OutputDebugStringA().

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `23734` 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 #23734 (GitHub issue number if applicable)

<!-- Either: -->
- [X] There are tests for these changes OR
Functionality was verified by adding logic in unsafe fn init().  By building and running ServoApp, If  redirect_stdout_stderr() failed, a warn!() message would be sent to the "output" window of VS2007 with the GetLastError() value.   If the function redirect_stdout_stderr() succeeded, the println!("Capi/lib.rs: init() function called redirect_stdout_stderr() successfully.\n") output would be seen in the "output" window of VS2007.

- [ ] 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/23922)
<!-- Reviewable:end -->
2019-08-09 23:35:11 -04:00
bors-servo
18c500ecc8
Auto merge of #23942 - asajeffrey:magicleap-lreup, r=jdm
Updated Servo2D to LRE v0.22.0

<!-- Please describe your changes on the following line: -->

Updated the Servo landscape app to Lumnin Runtime Editor v 0.22.0.

This is a bit of a mess, because it contains auto-generated files, hand-edited files, and best of all, files which are both.

---
<!-- 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 we don't have a way to test on 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/23942)
<!-- Reviewable:end -->
2019-08-09 20:43:07 -04:00
Manish Goregaokar
8686e74c25 Fix scrolling on hololens 2019-08-09 16:53:23 -07:00
bors-servo
87d3c0ec00
Auto merge of #23941 - georgeroman:update_webdriver, r=jdm
Update webdriver

<!-- Please describe your changes on the following line: -->

Updating `webdriver` raises the following tidy errors, which I'm not sure how to fix:
`` ./Cargo.lock:1: duplicate versions for package `mime` ``
`` ./Cargo.lock:1: duplicate versions for package `mime_guess` ``
`` ./Cargo.lock:1: duplicate versions for package `log` ``
`` ./Cargo.lock:1: Package multipart 0.16.1 depends on blocked package rand. ``
`` ./Cargo.lock:1: Package tungstenite 0.8.1 depends on blocked package rand. ``

---
<!-- 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/23941)
<!-- Reviewable:end -->
2019-08-09 18:32:28 -04:00
Alan Jeffrey
deb06ffcec Updated Servo2D to LRE v0.22.0 2019-08-09 15:02:53 -05:00
George Roman
8d0a7d61b4 Update webdriver 2019-08-09 22:40:14 +03:00
angelortiz1007
2bd2281853 Added support for stdout/stderr (ref issue# 23734) to be redirected to OutputDebugStringA(). 2019-08-09 14:09:19 -05:00
bors-servo
6775c69da1
Auto merge of #23935 - servo-wpt-sync:wpt_update_08-08-2019, r=servo-wpt-sync
Sync WPT with upstream (08-08-2019)

Automated downstream sync of changes from upstream as of 08-08-2019.
[no-wpt-sync]

<!-- 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/23935)
<!-- Reviewable:end -->
2019-08-09 07:34:23 -04:00
bors-servo
90fb4c3589
Auto merge of #23930 - CYBAI:incumbent-global-assertion, r=jdm
Assert incumbent global is always some in get_incumbent_global hook

While working on module script, I'd like to use Promise with a custom
callback with type `Box<dyn TaskBox>` which means we didn't use web API
callbacks as native handlers. However, we'll get a panic from
`enqueue_promise_job` and the panic says we have a `null` incumbent
global. The main problem here is, the Promise API is strongly tied to JS
engine and it always assumes there's a meaningful answer for "what
specific global is this promise associated with". So, when I don't use
the Promise for a specific web API, our engine cannot find a proper
incumbent global for us so that we get the `null` incumbent global
panic.

To make us catch this case easier in the future, we should add the
assertion inside `get_incumbent_global` hook so that we can know this
quickly next time.

Ref: https://mozilla.logbot.info/servo/20190807#c16525481

---
- [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 it should just add assertion inside the hook

<!-- 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/23930)
<!-- Reviewable:end -->
2019-08-09 02:54:33 -04:00
bors-servo
da559d47b9
Auto merge of #23872 - marmeladema:issue-20377, r=jdm
Make DOM bindings methods not take raw JSContext pointers. Part 2.

<!-- 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 #20377

<!-- 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/23872)
<!-- Reviewable:end -->
2019-08-08 22:21:19 -04:00