Commit graph

36926 commits

Author SHA1 Message Date
bors-servo
cd06c3450e
Auto merge of #23229 - georgeroman:implement_htmlmediaelement_canplaytype, r=ferjm
Finish the implementation of the HTMLMediaElement canPlayType method

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

<!-- 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/23229)
<!-- Reviewable:end -->
2019-05-07 13:57:46 -04:00
bors-servo
90dfeab0f0
Auto merge of #23327 - servo:daily, r=jdm
Fix Servo Nightly uploads

CC https://github.com/servo/servo/issues/23320.
Closes https://github.com/servo/servo/pull/23326.

Tasks running with this configuration, all green except the last which is still running as of this writing:

* Windows: https://tools.taskcluster.net/groups/dZvq6KJpQVSTzrnKwA5JQg/tasks/RaEwj-wWRSm1qmNytjAG8A/details
* Linux: https://tools.taskcluster.net/groups/JU6A3xS2TTq4dTL3LY39QQ/tasks/YDbSZr9wTHq6U3obG3ZstQ/details
* Android: https://tools.taskcluster.net/groups/FkLah26vSIyKDUwfADUkGw/tasks/JNokEsu2SCmAGL3ZK2Uj7g/details
* macOS: https://tools.taskcluster.net/groups/CtheiEigRYinJjqYlDMuZQ/tasks/XPqUzikPQnybmc6wP8AL-w/details
* WPT update: https://tools.taskcluster.net/groups/JU6A3xS2TTq4dTL3LY39QQ/tasks/MNutIoMWT9KvB19TS2FsXA/details

<!-- 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/23327)
<!-- Reviewable:end -->
2019-05-07 09:39:54 -04:00
bors-servo
7e8e3fe4de
Auto merge of #23333 - Manishearth:mach-module, r=jdm
Explicitly provide module names to mach so it doesn't try to autogenerate them

This works around https://bugzilla.mozilla.org/show_bug.cgi?id=1549636

r? @jdm

<!-- 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/23333)
<!-- Reviewable:end -->
2019-05-06 21:25:59 -04:00
Manish Goregaokar
36da6dfe98 Explicitly provide module names to mach so it doesn't try to autogenerate them
This works around https://bugzilla.mozilla.org/show_bug.cgi?id=1549636
2019-05-06 18:00:07 -07:00
Simon Sapin
fbc9275f63 Merge tasks for Android Nightly builds
`./mach upload-nightly maven` wants to upload both x86 and ARMv7
2019-05-06 18:46:09 +02:00
bors-servo
64c848950c
Auto merge of #23299 - jdm:minimize-mozjs-deps, r=Manishearth
Remove mozjs dep from malloc_size_of.

This makes making local changes to mozjs_sys much more frustrating than it should be, and blocks merging #22130.

---
- [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/23299)
<!-- Reviewable:end -->
2019-05-06 12:46:09 -04:00
Simon Sapin
f49376e766 Install taskcluster-proxy in the Windows AMI 2019-05-06 18:12:23 +02:00
Simon Sapin
dbbfa74e79 Split WPT update into its own task with a 4 hours timeout 2019-05-06 18:12:22 +02:00
Simon Sapin
599c015b23 Fallback to docker-worker’s URL when $TASKCLUSTER_PROXY_URL is missing 2019-05-06 16:00:47 +02:00
bors-servo
af077f8cf7
Auto merge of #23319 - servo:gwup, r=jdm
Bug 1548573 - Upgrade macOS workers to generic-worker 14.1.0

Also follow-up on #23304 to (hopefully) fix use of `taskcluster-proxy` in daily tasks.

<!-- 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/23319)
<!-- Reviewable:end -->
2019-05-03 14:42:42 -04:00
Pete Moore
bc286c9ee3
Fix missing concatenation operator
Co-Authored-By: SimonSapin <simon.sapin@exyr.org>
2019-05-03 20:32:09 +02:00
bors-servo
1409c767e4
Auto merge of #23315 - servo-wpt-sync:wpt_update_03-05-2019, r=jdm
Sync WPT with upstream (03-05-2019)

Automated downstream sync of changes from upstream as of 03-05-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/23315)
<!-- Reviewable:end -->
2019-05-03 12:41:21 -04:00
Simon Sapin
75b67a63e6 Use the Taskcluster proxy URL provided by the worker 2019-05-03 18:37:13 +02:00
Simon Sapin
e89fddf3f0 Install taskcluster-proxy on macOS workers
Follow-up on https://github.com/servo/servo/pull/23304
2019-05-03 18:34:43 +02:00
Simon Sapin
ec944d001d Bug 1548573 - Upgrade macOS workers to generic-worker 14.1.0 2019-05-03 18:34:43 +02:00
Josh Matthews
6a5afbfd7e
Fix linux test result. 2019-05-03 09:37:21 -04:00
bors-servo
dd5ab9eaeb
Auto merge of #23316 - servo:scope, r=SimonSapin
Give the correct scopes to daily tasks

Follow up to https://github.com/servo/servo/pull/23304
Example of failing tasks: https://tools.taskcluster.net/groups/GsqivaANRMyJJ3qA1ycvhg

<!-- 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/23316)
<!-- Reviewable:end -->
2019-05-03 09:09:19 -04:00
Simon Sapin
e4d05c1c24 Give the correct scopes to daily tasks
Follow up to https://github.com/servo/servo/pull/23304
Example of failing tasks: https://tools.taskcluster.net/groups/GsqivaANRMyJJ3qA1ycvhg
2019-05-03 14:13:45 +02:00
bors-servo
60c7266e18
Auto merge of #23300 - jdm:helpful-ml, r=asajeffrey
Magic Leap developer ergonomic improvements

These changes allow passing in command line arguments for Servo via a SERVO_ARGS from the mldb terminal when launching the activity, as well as passing in a launch URL as an argument. It also redirects stdout to the ML log, which allows observing the built-in profiler output.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23041
- [x] These changes do not require tests because no magic leap testing.

<!-- 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/23300)
<!-- Reviewable:end -->
2019-05-03 02:58:51 -04:00
WPT Sync Bot
5fcf52d946 Update web-platform-tests to revision e45156b5e558c062a609356905c83a0258c516e3 2019-05-03 00:33:04 -04:00
bors-servo
8402b98160
Auto merge of #23312 - servo:gwup, r=jdm
Bug 1546777 - Upgrade generic-worker to 14.1.0 in Windows AMI

I’ve also tweaked the configuration at https://tools.taskcluster.net/aws-provisioner/servo-win2016-staging/edit according to the release notes https://github.com/taskcluster/generic-worker/releases/tag/v14.1.0

https://tools.taskcluster.net/groups/L2T4S2-2RL6aV3L1WzqhKA shows a push to the `try-taskcluster` branch configured to run the `windows_unit` job.

<!-- 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/23312)
<!-- Reviewable:end -->
2019-05-02 22:01:44 -04:00
Josh Matthews
a207574b4c Support passing in arguments from embedding. Read arguments for Magic Leap from SERVO_ARGS env var. 2019-05-02 19:20:02 -04:00
bors-servo
38e60136b8
Auto merge of #23304 - jdm:nightly-taskcluster, r=SimonSapin
Transfer mac/windows/android nightly builds to Taskcluster

Fixes #23303.

<!-- 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/23304)
<!-- Reviewable:end -->
2019-05-02 19:11:32 -04:00
bors-servo
9f6005be16
Auto merge of #23294 - ceyusa:playerglcontext, r=ferjm,jdm
Update Player instantiator API

Now servo/media player requires a new parameter for its creator, which is a trait object that provides the GL parameters needed for setup the generation of frames as GL textures.

This patch provides a dummy GL context trait object where the code path will go to the default of raw frames.

---
<!-- 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 there are no functional changes, only comply with the new API.

<!-- 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/23294)
<!-- Reviewable:end -->
2019-05-02 17:07:45 -04:00
Simon Sapin
9becc88a9c Bug 1546777 - Upgrade generic-worker to 14.1.0 in Windows AMI
I’ve also tweaked the configuration at
https://tools.taskcluster.net/aws-provisioner/servo-win2016-staging/edit
according to the release notes
https://github.com/taskcluster/generic-worker/releases/tag/v14.1.0

https://tools.taskcluster.net/groups/L2T4S2-2RL6aV3L1WzqhKA
shows a push to the `try-taskcluster` branch
configured to run the `windows_unit` job.
2019-05-02 21:32:29 +02:00
Víctor Manuel Jáquez Leal
f9bee36b71 Update Player instantiator API
Now servo/media player requires a new parameter for its creator, which
is a trait object that provides the GL parameters needed for setup the
generation of frames as GL textures.

This patch provides a dummy GL context trait object where the code
path will go to the default of raw frames.

Webaudio test expectation also were changed, adding two new failing
tests.
2019-05-02 17:27:12 +02:00
Josh Matthews
e2d994b354 Support features in generic-worker tasks. 2019-05-02 10:49:24 -04:00
Josh Matthews
7e139db97d Use taskcluster secret directly in WPT sync script. 2019-05-02 10:49:24 -04:00
Josh Matthews
dbdbbeb132 Move taskcluster secrets into appropriate mach commands. 2019-05-02 10:49:24 -04:00
George Roman
5eb691c4d2 Finish the implementation of the HTMLMediaElement canPlayType method 2019-05-02 17:27:18 +03:00
Josh Matthews
e0e8f64f54 Move windows and mac nightly builds to taskcluster. 2019-05-02 10:22:05 -04:00
Josh Matthews
6ded5c9707 Move android nightly build to taskcluster. 2019-05-02 10:21:49 -04:00
Josh Matthews
57d2b5a92d Remove mozjs dep from malloc_size_of. 2019-05-02 09:30:03 -04:00
Josh Matthews
d0e9acf1eb Redirect stdout to ML logging. 2019-05-01 18:57:44 -04:00
Josh Matthews
daabda7fe1 Support launching Servo2d with a URI. 2019-05-01 18:57:40 -04:00
bors-servo
834d3193a2
Auto merge of #21780 - jdm:ndk15upgrade, r=asajeffrey
Upgrade NDK to v15c.

This upgrades us to a more recent NDK to address that outstanding technical debt.

<!-- 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/21780)
<!-- Reviewable:end -->
2019-05-01 15:15:32 -04:00
Josh Matthews
7a95cbcf91 Upgrade NDK to v15c. 2019-05-01 15:08:37 -04:00
bors-servo
aa63d60717
Auto merge of #23281 - josephhutch:StereoPannerNode, r=Manishearth
StereoPannerNode DOM

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

This is the DOM implementation for StereoPannerNode. Backend implemented in https://github.com/servo/media/pull/243.

---
<!-- 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/23281)
<!-- Reviewable:end -->
2019-04-30 21:14:24 -04:00
Maria Sable
58f027468c StereoPannerNode DOM 2019-04-30 16:54:52 -07:00
bors-servo
0a5aab6cc2
Auto merge of #23293 - servo-wpt-sync:wpt_update_30-04-2019, r=servo-wpt-sync
Sync WPT with upstream (30-04-2019)

Automated downstream sync of changes from upstream as of 30-04-2019.
[no-wpt-sync]
2019-04-30 01:17:30 -04:00
WPT Sync Bot
7776ed79d7 Update web-platform-tests to revision d73b07b850fa51f23e846518bb6e8c59c58eef19 2019-04-30 01:17:08 -04:00
Manish Goregaokar
549d320167 Update servo-media 2019-04-29 19:44:08 -07:00
bors-servo
62031e3cb0
Auto merge of #23289 - CYBAI:regex-1.1, r=jdm
Update regex to 1.1

I just found the `aho-corasick` dependency is still `0.6.9` and then I found `regex` depends on it.

I remember there's a rewrite of `aho-corasick` at BurntSushi/aho-corasick@e8493baf54 to improve itself.

---

- [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 just updates `regex` crate

<!-- 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/23289)
<!-- Reviewable:end -->
2019-04-29 15:37:25 -04:00
bors-servo
852223b08a
Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdm
Refactor promise compartment

<!-- Please describe your changes on the following line: -->
This PR adds a mechanism to verify that certain code is executed inside a ```JSAutoCompartment```, and applies this to the ```Promise::new_in_current_compartment``` constructor.

r? @jdm

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

<!-- Either: -->
- [x] These changes do not require tests because they do not change existing functionality.

<!-- 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/23253)
<!-- Reviewable:end -->
2019-04-29 13:59:04 -04:00
bors-servo
67beaa46e2
Auto merge of #23236 - swarnimarun:loop_patch, r=ferjm
Implement HTMLMediaElement.loop Attribute

<!-- Please describe your changes on the following line: -->
Work done for Implementing HTMLMediaElement.loop Attribute,
- Uncomment `loop` attribute from webidl
- Add make_bool macros for Loop and SetLoop functions
- Update the required tests

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

<!-- Either: -->
- [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/23236)
<!-- Reviewable:end -->
2019-04-29 12:20:43 -04:00
bors-servo
a9f7b13230
Auto merge of #23233 - paulrouget:glutin-port-refactoring, r=jdm
Glutin port refactoring

Glutin port refactoring in preparation for the compositor and libservo refactoring.

In theory, the only behavior change is for headless mode. The headless event loop now uses winit's event loop (but still headless).

Notes:
- headless and glutin window implementations are now separated
- I split the methods of the embedder in 2: window specific and general methods. In the future, we still want the app to run even without a window or with multiple windows

<!-- 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/23233)
<!-- Reviewable:end -->
2019-04-29 10:45:29 -04:00
CYBAI
5b9f151f03 Update regex to 1.1 2019-04-29 22:25:12 +09:00
bors-servo
799490a02e
Auto merge of #22743 - ferjm:shadowdom, r=emilio
Partial ShadowDOM support

This is just an early WIP, not to take it very seriously yet.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes fix #22719
- [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/22743)
<!-- Reviewable:end -->
2019-04-29 08:38:50 -04:00
Fernando Jiménez Moreno
37e88e77cd Set self as containing_shadow_root for shadow roots 2019-04-29 12:15:16 +02:00
Fernando Jiménez Moreno
68bee1c771 Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r
Clarify special case for containing_shadow_root and add it to layout
accessor
2019-04-29 12:02:04 +02:00