Commit graph

35570 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
626172d64c style: Use cbindgen for a couple more CSS properties.
Differential Revision: https://phabricator.services.mozilla.com/D13886
2018-12-16 13:35:04 +01:00
bors-servo
499bfcb1dd
Auto merge of #22467 - servo-wpt-sync:wpt_update_14-12-2018, r=jdm
Sync WPT with upstream (14-12-2018)

Automated downstream sync of changes from upstream as of 14-12-2018.
[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/22467)
<!-- Reviewable:end -->
2018-12-16 00:50:03 -05:00
bors-servo
6731ddd29f
Auto merge of #22447 - servo:jdm-patch-10, r=ferjm
Add another layer of rAF to avoid intermittent failures.

Hopefully fixes #22445.

<!-- 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/22447)
<!-- Reviewable:end -->
2018-12-15 13:41:49 -05:00
bors-servo
8da0947a6b
Auto merge of #22439 - Eijebong:clippy, r=emilio
Fix all clippy warnings in style_derive

<!-- 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/22439)
<!-- Reviewable:end -->
2018-12-15 01:01:48 -05:00
WPT Sync Bot
b0862d9cc1 Update web-platform-tests to revision ac4274136e9a034628a3a469890c8e37babbc902 2018-12-14 21:54:18 -05:00
Josh Matthews
e11878129d Add another layer of rAF to avoid intermittent failures. 2018-12-14 13:23:20 -05:00
bors-servo
c9229f3f99
Auto merge of #22437 - lucasfantacuci:changing_link_to_code_of_conduct, r=jdm
Rust's code of conduct link was changed

The older code of conduct link from Rust now is a 404 page.

<!-- 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/22437)
<!-- Reviewable:end -->
2018-12-14 12:35:02 -05:00
bors-servo
df6afb2dd1
Auto merge of #22448 - demangejeremy:fix/space-cargo-in-servo-component, r=jdm
Delete space after [package] for code format

Deleting a space after [package] in Servo component.

---
<!-- 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] These changes do not require tests because is a modification a code format.

<!-- 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/22448)
<!-- Reviewable:end -->
2018-12-14 05:48:41 -05:00
bors-servo
0cf129208f
Auto merge of #22446 - servo:x86, r=SimonSapin
Disable emulator testing in try-wpt-android and try-android too

<!-- 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/22446)
<!-- Reviewable:end -->
2018-12-14 00:54:02 -05:00
bors-servo
f7fd128881
Auto merge of #22442 - servo:wpt-logs, r=jdm
Taskcluster: make WPT logs more readable

Fixes #22438

<!-- 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/22442)
<!-- Reviewable:end -->
2018-12-13 23:48:51 -05:00
bors-servo
79f2e786b2
Auto merge of #22441 - servo-wpt-sync:wpt_update_12-12-2018, r=jdm
Sync WPT with upstream (12-12-2018)

Automated downstream sync of changes from upstream as of 12-12-2018.
[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/22441)
<!-- Reviewable:end -->
2018-12-13 22:22:08 -05:00
bors-servo
201f3dc50a
Auto merge of #22450 - servo:multi, r=jdm
One Treeherder page for all try-related branches

This will be effective at https://treeherder.allizom.org/#/jobs?repo=servo-try once https://github.com/mozilla/treeherder/pull/4371 lands, and at https://treeherder.mozilla.org/#/jobs?repo=servo-try after it is deployed.

<!-- 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/22450)
<!-- Reviewable:end -->
2018-12-13 19:42:54 -05:00
bors-servo
928fbc909f
Auto merge of #22453 - servo:jdm-patch-19, r=jdm
Disable referrer-policy tests for frequent intermittent failures.

This is hitting us really hard on the taskcluster WPT runs, so I'm going to disable them until we can investigate it properly.

<!-- 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/22453)
<!-- Reviewable:end -->
2018-12-13 16:28:59 -05:00
Josh Matthews
8d6fda6ca5
Don't lint subdirectories of virtual manifest paths. 2018-12-13 16:19:06 -05:00
Josh Matthews
9ff7de6a44
Disable referrer-policy tests for frequent intermittent failures. 2018-12-13 15:44:56 -05:00
Simon Sapin
f3dee856ac One Treeherder page for all try-related branches
This will be effective at https://treeherder.allizom.org/#/jobs?repo=servo-try
once https://github.com/mozilla/treeherder/pull/4371 lands,
and at https://treeherder.mozilla.org/#/jobs?repo=servo-try
after it is deployed.
2018-12-13 18:23:53 +01:00
Jérémy DEMANGE
ea0cb12256 Delete space after [package] 2018-12-13 12:05:32 -05:00
bors-servo
a03708eeb9
Auto merge of #22440 - Darkspirit:hsts_ca_update, r=jdm
Update HSTS preload list and CA database

<!-- Please describe your changes on the following line: -->
* Updated HSTS Preload list using ./mach update-hsts-preload.
* Updated CA [database](https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV) using etc/cert_generator.sh. New CAs are:
  * https://bugzilla.mozilla.org/show_bug.cgi?id=1265683 Certigna
  * https://bugzilla.mozilla.org/show_bug.cgi?id=1325532 Google
  * https://bugzilla.mozilla.org/show_bug.cgi?id=1309797 SHECA

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [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/22440)
<!-- Reviewable:end -->
2018-12-13 11:46:18 -05:00
Simon Sapin
60130eee83 Write indented JSON in ./mach filter_intermittents 2018-12-13 17:45:41 +01:00
Simon Sapin
b46b873e77 Taskcluster: make wptrunner use "non-interactive formatting"
Fixes https://github.com/servo/servo/issues/22438
2018-12-13 17:45:41 +01:00
Simon Sapin
7df2087dc0 Use restricted Treeherder scopes in .taskcluster.yml too
https://bugzilla.mozilla.org/show_bug.cgi?id=1509027
2018-12-13 17:45:11 +01:00
Simon Sapin
799606df58 Disable emulator testing in try-wpt-android and try-android too 2018-12-13 15:21:49 +01:00
bors-servo
1e983d86c0
Auto merge of #22444 - servo:tc, r=SimonSapin
More Taskcluster/Treeherder tweaks

* Fix/add more tasks showing up on Treeherder
* Repeat fewer tasks on `@bors-servo retry`

<!-- 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/22444)
<!-- Reviewable:end -->
2018-12-13 05:54:42 -05:00
Simon Sapin
27e903bab8 Decision task: print IDs of tasks scheduled or found in the index 2018-12-13 11:38:48 +01:00
Simon Sapin
8de59c15b5 Index/cache more tasks
This help `@bors-servo retry` not run a task again
if there’s already a successful run.
2018-12-13 11:37:42 +01:00
Simon Sapin
be69c01ba7 Taskcluster-Treeherder only supports submitting to one Treeherder repo :(
ff5261151a/src/handler.js (L65-L70)
2018-12-13 11:25:58 +01:00
Simon Sapin
4cd200dd61 Ensure all tasks started from decision_task.py are on Treeherder. 2018-12-13 11:04:17 +01:00
bors-servo
1ec78c065a
Auto merge of #22436 - servo:tc-master, r=SimonSapin
Also run Taskcluster tasks when pushing to `master`

I forgot to include this in https://github.com/servo/servo/pull/22381

<!-- 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/22436)
<!-- Reviewable:end -->
2018-12-13 02:58:34 -05:00
WPT Sync Bot
3b6ddd885a Update web-platform-tests to revision 4052654d786236b493d2df3cb80b9d3d1d0a8354 2018-12-12 22:53:27 -05:00
bors-servo
eab848df3e
Auto merge of #22433 - ferjm:player.eos.size, r=ceyusa
Improve implementation of media resource fetch algorithm

I have been observing inconsistent behaviors with my local tests depending of the media asset being played. I figured that we had these issues:

- We were setting the player EOS as soon as we got the first [process_response_eof](1046ae58a1/components/script/dom/htmlmediaelement.rs (L1596)). This is fine only if there is a single request. But that's not the case for multiple range requests or for seeks. Setting the player EOS makes the player appsrc reject any new buffers, and that breaks playback. Figuring out when is the right time to set the player EOS won't be a straight forward task, so my suggested fix for now is to simply not set it for now. It is a cleanup step that it would be nice to have but it is not mandatory.

- We were setting the input size more than once for multiple range requests and with the incorrect value. The fix uses the `content-length` or the `content-range` headers for single and range requests respectively.

- We were moving to the HaveEnoughData state if a fetch request succeded but no data was fetched from the network.

- [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/22433)
<!-- Reviewable:end -->
2018-12-12 18:38:25 -05:00
bors-servo
ef8be44e46
Auto merge of #22435 - servo:tc-wpt-linux, r=jdm
Move Linux WPT from Buildbot to Taskcluster

<!-- 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/22435)
<!-- Reviewable:end -->
2018-12-12 16:58:12 -05:00
Jan Andre Ikenmeyer
2996fa7290
Update CA database 2018-12-12 22:49:27 +01:00
Jan Andre Ikenmeyer
0b4a426f5e
Update hsts_preload.json 2018-12-12 22:47:20 +01:00
Bastien Orivel
dd301c084d Fix all clippy warnings in style_derive 2018-12-12 21:32:52 +01:00
bors-servo
2e01a23bad
Auto merge of #22432 - servo:encoding, r=SimonSapin
Make the parser decode input from document's encoding

<!-- 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/22432)
<!-- Reviewable:end -->
2018-12-12 15:17:32 -05:00
Simon Sapin
e60e534d23 Move linux WPT from Buildbot to Taskcluster 2018-12-12 20:02:44 +01:00
Simon Sapin
9ab2606a54 Fix ./mach filter_intermittents in shallow git clones.
`git log --merges` only shows commits with at least two parents.
Presumably, this only works when the parent commits are in the local repository.
In a shallow clone (`--depth 1`), on the HEAD commit is fetched.

This commit removes the `--merges` filter.
This shouldn’t affect the behavior,
since CI always runs with a merge commit as HEAD.
2018-12-12 20:02:44 +01:00
Simon Sapin
e680c5be80 Taskcluster: align Linux WPT task with what’s now on Buildbot 2018-12-12 20:02:44 +01:00
bors-servo
d5c1690cb4
Auto merge of #22324 - lucasfantacuci:implement_html_media_element_volume_attribute, r=ferjm
Implementing HTMLMediaElement.volume attribute

<!-- Please describe your changes on the following line: -->
This P.R. is going to implement the volume attribute to the HTMLMediaElement

---
<!-- 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 #22292.
<!-- 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/22324)
<!-- Reviewable:end -->
2018-12-12 13:54:55 -05:00
Lucas Fantacuci
7dbb8000a5 Rust's code of conduct link was changed 2018-12-12 16:53:03 -02:00
Simon Sapin
558799cc0f Also run Taskcluster tasks when pushing to master
I forgot to include this in https://github.com/servo/servo/pull/22381
2018-12-12 18:29:14 +01:00
Fernando Jiménez Moreno
8818898240 Do not move to HaveEnoughData state if no media data is fetched from the network 2018-12-12 18:08:40 +01:00
Fernando Jiménez Moreno
707b490c0f Signal EOS if media request fails 2018-12-12 16:52:37 +01:00
Lucas Fantacuci
ad3ec61d2f Implementing volume attribute into HTMLMediaElement 2018-12-12 11:50:35 -02:00
Anthony Ramine
a2abfc6301 Make the parser decode input from document's encoding
The document's encoding is only computed from the Content-Type header for now,
with no sniffing at all.
2018-12-12 13:50:27 +01:00
bors-servo
a86c23cdca
Auto merge of #22381 - servo:tc-rustdoc, r=nox
Build docs and upload to doc.servo.org on Taskcluster, add support for trychoosers

<!-- 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/22381)
<!-- Reviewable:end -->
2018-12-12 07:20:54 -05:00
Fernando Jiménez Moreno
243b4e1a39 Do not set player EOS. Set input size only if it changes 2018-12-12 13:06:52 +01:00
Simon Sapin
e7b493df18 Taskcluster: Add support for trychoosers 2018-12-12 12:46:55 +01:00
Anthony Ramine
848a4e256a Fix an ignore_malloc_size_of comment 2018-12-12 11:29:14 +01:00
Anthony Ramine
dbef324e48 Use Mime::get_param 2018-12-12 11:29:14 +01:00