Commit graph

38119 commits

Author SHA1 Message Date
bors-servo
988f9847a0
Auto merge of #23560 - jdm:rand-upgrades, r=asajeffrey
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 -->
2019-06-13 15:46:29 -04:00
Michal Mieczkowski
9c74e4d9ce Code cleanup 2019-06-13 20:33:55 +02:00
Michal Mieczkowski
05a6495d43 Remove not needed DummyClipboardContext 2019-06-13 20:20:25 +02:00
Michal Mieczkowski
f4d972adb2 Forward to embedder message for setting/getting clipboard contents from clipboard provider.
Create clipboard context in browser.rs and handle new messages.
2019-06-13 20:18:53 +02:00
Michal Mieczkowski
1e5103e675 Add Embbedder messages for setting/getting clipboard contents 2019-06-13 20:16:04 +02:00
Michal Mieczkowski
18434c9927 Remove clipboard handling from constellation, and remove ScriptMessage for getting/setting clipboard 2019-06-13 20:15:12 +02:00
bors-servo
e381cebeb6
Auto merge of #23562 - jdm:no-nspr, r=asajeffrey
Update mozjs to remove NSPR.

<!-- 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/23562)
<!-- Reviewable:end -->
2019-06-13 11:08:44 -04:00
Josh Matthews
ad94791027 Upgrade phf codegen. 2019-06-13 11:08:16 -04:00
Josh Matthews
b1510d9ad5 Upgrade headers, headers-core, and hyper_serde. 2019-06-13 11:08:16 -04:00
WPT Sync Bot
69d6c85949 Update web-platform-tests to revision e1942ace5be3a3962f204e630e9969acd70e3952 2019-06-13 14:01:23 +00:00
Josh Matthews
a5acba63c0 Update mozjs to remove NSPR. 2019-06-13 09:25:41 -04:00
bors-servo
e1c53488d6
Auto merge of #23561 - georgeroman:enable_cookies_related_wdspec_tests, r=jdm
Enable cookies related wdspec tests

<!-- 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 OR

<!-- 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/23561)
<!-- Reviewable:end -->
2019-06-13 09:25:11 -04:00
bors-servo
8a69cb391f
Auto merge of #23557 - Manishearth:xrtest, r=asajeffrey
Test more XR things

This tests all the things that are currently possible and useful to test.

I'm going to avoid expanding rust-webvr's mock functionality for now, instead growing it in rust-webxr

Things that we support which aren't tested yet:

 - viewport values (there's no way in the xrtest api to mock these yet)
 - input (no support in rust-webvr for mocking)
 - floor spaces (no way in the xrtest api to mock these yet)

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/23557)
<!-- Reviewable:end -->
2019-06-13 05:54:55 -04:00
Manish Goregaokar
5b8f0ed2e3 Add tests for viewer space 2019-06-12 19:24:47 -07:00
bors-servo
e6cf68704e
Auto merge of #23555 - servo:jdm-patch-54, r=Manishearth
Add a linux release build to every push.

Fixes #23554.

<!-- 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/23555)
<!-- Reviewable:end -->
2019-06-12 21:59:20 -04:00
bors-servo
a5c515b81c
Auto merge of #23552 - Eijebong:fix-23511, r=jdm
Prevent the error from triggering a page error in Worker-nested-importScripts-error

Fixes #23511

<!-- 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/23552)
<!-- Reviewable:end -->
2019-06-12 19:51:47 -04:00
bors-servo
a74f38f843
Auto merge of #23551 - asajeffrey:script-navigatorid, r=jdm
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 -->
2019-06-12 16:59:31 -04:00
Josh Matthews
99cf263add Upgrade tempfile. 2019-06-12 16:53:44 -04:00
Josh Matthews
7e29852baa Upgrade uuid. 2019-06-12 16:53:44 -04:00
Josh Matthews
09f7b6bf36 Upgrade ws. 2019-06-12 15:01:03 -04:00
Josh Matthews
07f49e1c1e Upgrade tokio-threadpool. 2019-06-12 15:01:03 -04:00
Manish Goregaokar
f09d160823 Add test for viewer head pose 2019-06-12 11:45:28 -07:00
Manish Goregaokar
73bd249b7a Add test for origin offset 2019-06-12 11:44:43 -07:00
Manish Goregaokar
db7a08b5c6 Test XRRigidTransform.inverse 2019-06-12 11:44:35 -07:00
Manish Goregaokar
745ed51172 Use more complex view positions 2019-06-12 11:44:15 -07:00
Manish Goregaokar
167ea556ce Make webxr test use async/await 2019-06-12 11:44:03 -07:00
bors-servo
2c2117cf7b
Auto merge of #23556 - servo-wpt-sync:wpt_update_12-06-2019, r=servo-wpt-sync
Sync WPT with upstream (12-06-2019)

Automated downstream sync of changes from upstream as of 12-06-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/23556)
<!-- Reviewable:end -->
2019-06-12 12:07:21 -04:00
Alan Jeffrey
54ba32b50e Updated more test expectations 2019-06-12 09:33:35 -05:00
Josh Matthews
87e27c828c
Use clang on linux. 2019-06-12 10:20:14 -04:00
WPT Sync Bot
ba8922cc76 Update web-platform-tests to revision bbfea06cb188fbe7b7004bd838ccbfb4f50f429c 2019-06-12 14:00:17 +00:00
Josh Matthews
65110bd46c
Add a linux release build to every push. 2019-06-12 09:56:35 -04:00
Bastien Orivel
834e5778a0 Prevent the error from triggering a page error in Worker-nested-importScripts-error
Fixes #23511
2019-06-12 10:15:52 +02:00
bors-servo
8e783577d2
Auto merge of #23468 - servo:jdm-patch-52, r=asajeffrey
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 -->
2019-06-11 17:21:36 -04:00
George Roman
c6dfc5a02d Enable cookies related wdspec tests 2019-06-11 23:46:04 +03:00
Josh Matthews
e9365ad303 Update mozjs for Windows arm64 support. 2019-06-11 15:53:35 -04:00
Josh Matthews
38230d3047 Share windows cross building setup. 2019-06-11 15:53:35 -04:00
Josh Matthews
d9fdf42bfe Improve windows DLL packaging. 2019-06-11 15:53:35 -04:00
Josh Matthews
385b46cff7 Disable WGL for Windows arm64. 2019-06-11 15:53:35 -04:00
Josh Matthews
b19cd5eb3a Use version of rust-offscreen-rendering-context with EGL support. 2019-06-11 15:53:35 -04:00
Josh Matthews
50f3b32bdf Only build libsimpleservo on win arm64. 2019-06-11 15:53:34 -04:00
Josh Matthews
4367365419 No multiprocess on win arm64. 2019-06-11 15:53:34 -04:00
Josh Matthews
b8aac8b152 Hide windows sampler on arm64. 2019-06-11 15:53:34 -04:00
Josh Matthews
b90726de97 Use non-sse2 mozangle. 2019-06-11 15:53:34 -04:00
bors-servo
f63b404e0c
Auto merge of #23547 - Manishearth:reference-spaces, r=asajeffrey
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 -->
2019-06-11 15:50:15 -04:00
Alan Jeffrey
d3256d74b4 Update test expectations 2019-06-11 14:12:02 -05:00
Manish Goregaokar
01665fe94a Add basic XR tests 2019-06-11 11:30:47 -07:00
Manish Goregaokar
7d029d5a36 Use correct length in FakeXRDeviceController.setViews() 2019-06-11 10:10:41 -07:00
Manish Goregaokar
2af8e0ef9f Add stub makeXRCompatible() 2019-06-11 10:10:41 -07:00
bors-servo
66556ccc77
Auto merge of #23549 - servo-wpt-sync:wpt_update_11-06-2019, r=servo-wpt-sync
Sync WPT with upstream (11-06-2019)

Automated downstream sync of changes from upstream as of 11-06-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/23549)
<!-- Reviewable:end -->
2019-06-11 12:50:25 -04:00
Alan Jeffrey
4cfd62ac79 Added missing NavigatorId attributes 2019-06-11 11:46:28 -05:00