Commit graph

37571 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
9721bd7d0d
style: Inline one child in the rule tree.
It is indeed the most common case according to a bit of measurement.

A non-atypical example from GitHub for example:

> Rule tree stats:
>  0 - 340
>  1 - 1403
>  2 - 28
>  3 - 8
>  4 - 2
>  6 - 1
>  7 - 3
>  8 - 2
>  12 - 2
>  14 - 1
>  41 - 1
>  45 - 1
>  67 - 1
>  68 - 1

Differential Revision: https://phabricator.services.mozilla.com/D33351
2019-06-25 13:11:25 +02:00
Emilio Cobos Álvarez
a40fd0bd5d
style: Add some very basic rule tree stats that can be enabled with trace-level logging.
This is useful to analyze the shape of the rule tree at a glance.

Differential Revision: https://phabricator.services.mozilla.com/D33350
2019-06-25 13:11:25 +02:00
bors-servo
f43af3c634
Auto merge of #23626 - servo-wpt-sync:wpt_update_24-06-2019, r=servo-wpt-sync
Sync WPT with upstream (24-06-2019)

Automated downstream sync of changes from upstream as of 24-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/23626)
<!-- Reviewable:end -->
2019-06-25 05:57:20 -04:00
bors-servo
d5126d9482
Auto merge of #23613 - saschanaz:patch-1, r=jdm
Prevent CRLF conversion on Windows

@jdm Do you prefer `text=auto` or `-text` (seems to be default on Linux, not sure on macOS)?

Closes #23608

<!-- 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/23613)
<!-- Reviewable:end -->
2019-06-25 03:15:45 -04:00
bors-servo
107dfb36f3
Auto merge of #23597 - EB-Forks:vscode/extensions, r=jdm
chore(vscode): Add VSCode recommended extensions

The provided `extensions.json` file is based on the one [in `mozilla‑central`][mozilla‑central‑vscode‑extensions].

[mozilla‑central‑vscode‑extensions]: https://hg.mozilla.org/mozilla-central/file/tip/.vscode/extensions.json

---
<!-- 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 this only adds extension recommendations for **Visual Studio Code**.

<!-- 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/23597)
<!-- Reviewable:end -->
2019-06-25 00:20:58 -04:00
bors-servo
b1ecda32aa
Auto merge of #23580 - georgeroman:implement_switch_to_window_and_dismiss_alert_wd_commands, r=jdm
Implement SwitchToWindow and DismissAlert WebDriver commands

<!-- 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/23580)
<!-- Reviewable:end -->
2019-06-24 18:37:36 -04:00
Emilio Cobos Álvarez
e68b4e5fad
build: Cleanup some path-munging code.
I was looking at this today, and this seems better than the pre-existing code,
generally pre-pending to these paths isn't great...
2019-06-24 17:46:24 +02:00
bors-servo
7490dd6f0d
Auto merge of #23536 - gatoWololo:omar_timing_entries, r=jdm
Let resources timing entries be added to performance entry buffer.

<!-- Please describe your changes on the following line: -->
Update relevant tests to properly report and expect failure.

These changes are the first step for #23328. Not sure if I would say they _fix_ the issue.

---
<!-- 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: -->
- [X] There are tests for these changes: Existing tests have been updated to expect pass/failures.

<!-- 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/23536)
<!-- Reviewable:end -->
2019-06-24 10:48:39 -04:00
WPT Sync Bot
b0f3d082ab Update web-platform-tests to revision 76ef43a54441ca53b6931dd714eb9124404bff76 2019-06-24 14:44:16 +00:00
bors-servo
49bf3ba05f
Auto merge of #23611 - atouchet:travis-url, r=jdm
Update Travis CI URLs

<!-- 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/23611)
<!-- Reviewable:end -->
2019-06-24 08:46:08 -04:00
Kagami Sascha Rosylight
4820ef83be
Prevent CRLF conversion on Windows 2019-06-24 17:07:41 +09:00
atouchet
5803ebf32a Update Travis CI URLs 2019-06-23 22:07:52 -07:00
bors-servo
a2b195aff8
Auto merge of #23588 - georgeroman:implement_status_wd_command, r=ferjm
Implement Status WebDriver 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/23588)
<!-- Reviewable:end -->
2019-06-23 19:44:59 -04:00
bors-servo
223d6cd13c
Auto merge of #23610 - servo-wpt-sync:wpt_update_23-06-2019, r=servo-wpt-sync
Sync WPT with upstream (23-06-2019)

Automated downstream sync of changes from upstream as of 23-06-2019.
[no-wpt-sync]
2019-06-23 10:05:56 -04:00
WPT Sync Bot
c700482629 Update web-platform-tests to revision 3cb5a99e5521936fb8819de8aaba806050b84184 2019-06-23 14:05:43 +00:00
bors-servo
1d2c0ba0bc
Auto merge of #23593 - georgeroman:fix_panic_on_opening_directory, r=Manishearth
Fix panic on opening a directory

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

Continued from https://github.com/servo/servo/pull/23548

<!-- 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/23593)
<!-- Reviewable:end -->
2019-06-22 22:24:08 -04:00
bors-servo
ea108ffc47
Auto merge of #23592 - servo-wpt-sync:wpt_update_18-06-2019, r=jdm
Sync WPT with upstream (18-06-2019)

Automated downstream sync of changes from upstream as of 18-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/23592)
<!-- Reviewable:end -->
2019-06-22 20:08:29 -04:00
bors-servo
2cbd177082
Auto merge of #23581 - georgeroman:implement_get_page_source_wd_command, r=jdm
Implement GetPageSource WebDriver 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/23581)
<!-- Reviewable:end -->
2019-06-22 19:11:59 -04:00
bors-servo
5592682c4b
Auto merge of #23494 - gterzian:improve_http_cache, r=jdm
Various improvements and update to the http cache

<!-- 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/23494)
<!-- Reviewable:end -->
2019-06-22 11:36:14 -04:00
bors-servo
d8d70f66b1
Auto merge of #23600 - servo:rustup, r=nox
Upgrade to rustc 1.37.0-nightly (04a3dd8a8 2019-06-18) + fix new warnings

<!-- 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/23600)
<!-- Reviewable:end -->
2019-06-22 10:23:33 -04:00
Gregory Terzian
689b7971b8 http-cache: re-enable and update test 2019-06-22 06:28:32 -07:00
Simon Sapin
753633d3be Remove regex-based checks in servo-tidy that are covered by rustfmt 2019-06-22 14:59:09 +02:00
Simon Sapin
1d38bc0419 Fix some new warnings 2019-06-22 14:59:09 +02:00
Simon Sapin
112f1ddeba Upgrade to rustc 1.37.0-nightly (04a3dd8a8 2019-06-18) 2019-06-22 14:59:06 +02:00
bors-servo
ba7a9a47d0
Auto merge of #23598 - georgeroman:redirect_wdspec_tests_errors, r=jdm
Filter intermittent wdspec tests failures

<!-- Please describe your changes on the following line: -->
With this change, the intermittent failures for wdspec tests will be filtered and reported.

---
<!-- 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/23598)
<!-- Reviewable:end -->
2019-06-21 20:12:36 -04:00
bors-servo
ae33700c72
Auto merge of #23445 - servo:rustup_win, r=jdm
Taskcluster: use current rustup.rs on Windows

1.18.3 includes speed improvements when excracting tarballs:
https://github.com/rust-lang/rustup.rs/blob/1.18.3/CHANGELOG.md

<!-- 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/23445)
<!-- Reviewable:end -->
2019-06-21 19:30:04 -04:00
Josh Matthews
fc6f6bdda7
Always create a WPT update task. 2019-06-21 16:05:15 -07:00
Gregory Terzian
67494d4776 http-cache: do not cache responses from requests with authorization 2019-06-20 06:18:25 -07:00
George Roman
2a220c6b24 Filter wdspec intermittent failures 2019-06-19 20:59:28 +03:00
Gregory Terzian
049817c5a7 http-cache: remove double-store of resources 2019-06-19 05:25:32 -07:00
ExE Boss
0f46f5c052
chore(vscode): Add VSCode recommended extensions
The provided `extensions.json` file is based on the one
[in `mozilla‑central`][mozilla‑central‑vscode‑extensions].

[mozilla‑central‑vscode‑extensions]:
https://hg.mozilla.org/mozilla-central/file/tip/.vscode/extensions.json
2019-06-19 08:14:19 +02:00
Josh Matthews
ee5e2ff3b4
Remove intermittent failure 2019-06-18 12:06:59 -07:00
George Roman
12877511db Implement Status WebDriver command 2019-06-18 17:08:26 +03:00
WPT Sync Bot
a41065a1f4 Update web-platform-tests to revision 887d08e63a19b14acf3217df77f12c121a792fed 2019-06-18 14:07:33 +00:00
George Roman
29bdcba1e8 Fix panic on opening a directory 2019-06-18 17:01:51 +03:00
bors-servo
97ad913dc2
Auto merge of #23586 - atouchet:remove, r=jdm
Update remove_dir_all

<!-- 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/23586)
<!-- Reviewable:end -->
2019-06-17 23:20:43 -04:00
atouchet
ee46b45b07 Update remove_dir_all 2019-06-17 15:53:15 -07:00
Josh Matthews
f447c6b1ec
Force clang use on all platforms. 2019-06-17 08:19:49 -04:00
George Roman
13d908ab15 Implement GetPageSource WebDriver command 2019-06-17 13:06:29 +03:00
George Roman
15bd852b52 Implement dummy DismissAlert WebDriver command 2019-06-17 12:23:38 +03:00
George Roman
96c1ce2dd6 Implement SwitchToWindow WebDriver command 2019-06-17 12:23:04 +03:00
Gregory Terzian
4f41065dfb http-cache: improve handling of network errors and partial content 2019-06-17 13:19:46 +08:00
bors-servo
ce9f35e0e3
Auto merge of #23579 - servo-wpt-sync:wpt_update_16-06-2019, r=jdm
Sync WPT with upstream (16-06-2019)

Automated downstream sync of changes from upstream as of 16-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/23579)
<!-- Reviewable:end -->
2019-06-16 12:56:15 -04:00
Josh Matthews
2591ae428a
Remove intermittent failure. 2019-06-16 12:55:56 -04:00
WPT Sync Bot
35b828da75 Update web-platform-tests to revision 4100d1d51b885185c50902397f7d203d89efc24c 2019-06-16 14:45:58 +00:00
bors-servo
fd174c54ef
Auto merge of #23576 - asajeffrey:magicleap-fix-servo2d, r=Manishearth
Fixed magicleap Servo2D application

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

Sigh, of course the latest changes for immersive Servo on the ML1 broke the landscape app.

---
<!-- 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 smoke-test on the ML1

<!-- 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/23576)
<!-- Reviewable:end -->
2019-06-15 05:53:19 -04:00
bors-servo
6824f42b11
Auto merge of #23570 - georgeroman:run_wdspec_tests_in_different_job, r=jdm
Run wdspec tests in a different job

<!-- 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/23570)
<!-- Reviewable:end -->
2019-06-15 03:04:47 -04:00
bors-servo
01521ff26d
Auto merge of #23571 - servo:jdm-patch-55, r=Manishearth
Remove sampling profiler unit test.

This test is the source of significant intermittent failures in TravisCI and Appveyor, and occasionally on taskcluster as well. It is not pulling its weight. Fixes #23354.

<!-- 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/23571)
<!-- Reviewable:end -->
2019-06-15 01:43:15 -04:00
Alan Jeffrey
b5bd3ad7ea Fixed magicleap Servo2D application 2019-06-14 15:51:08 -05:00
George Roman
2e0556c503 Run wdspec tests in a different job 2019-06-14 23:30:33 +03:00