Commit graph

44973 commits

Author SHA1 Message Date
bors-servo
cc76ec3373
Auto merge of #29295 - mukilan:fix-win-msvc-nighly, r=jdm
Revert LLVM downgrade & fix nighly build

<!-- Please describe your changes on the following line: -->
Windows MSCV nightly builds have been failing
since Jan 18. The failure is similar to the
one @delan identified & fixed, where CI build started
to fail after the version of LLVM included in
Github Actions runner images was bumped from
14 to 15.

As discussed on Zulip, we have existing support
in ./mach bootstrap to download the LLVM binaries
from our s3 bucket. Following the documented
[process][1], new LLVM 15.0.5 binaries have now been
uploaded to S3.

I've validated that the windows msvc build no longer fails:
6856528077

[1]: https://github.com/servo/servo/wiki/Upgrading-the-windows-LLVM-binaries

---
<!-- 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 #29269  (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they modify only CI steps that have been validated by manual run.

<!-- 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. -->
2023-01-25 00:47:59 +01:00
Josh Matthews
85a04cc8a7
Update clangfmt version. 2023-01-24 18:45:04 -05:00
bors-servo
f8e014d0ba
Auto merge of #29293 - CYBAI:sync-pr-comment, r=jdm
Approve PR automatically after WPT sync successfully

This PR will utilize the `gh pr comment` command to comment `r+` as @servo-wpt-sync so that we can merge WPT sync PRs more easily.

---

- [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's related to the WPT sync CI job
2023-01-24 22:13:21 +01:00
Mukilan Thiyagarajan
ed2974a280 Revert "Auto merge of #29270 - delan:fix-windows-builds, r=<try>"
This reverts commit 7a885032e6, reversing
changes made to f70857906d.

Since we have now uploaded the LLVM 15.0.5
binaries to S3 so that `mach boostrap` can use
them directly, we no longer need to downgrade the
LLVM in GitHub runner image.
2023-01-24 20:47:28 +05:30
Mukilan Thiyagarajan
a9ccf935ad Update LLVM toolchain version for Windows
Windows MSCV nightly builds have been failing
since Jan 18. The failure is similar to the
one @delan identified where the CI build started
to fail after the version of LLVM included in
Github Actions runner images was bumped from
14 to 15.

As discussed on Zulip, we already have support
in ./mach bootstrap to download the LLVM binaries
from our s3 bucket. Following the documented
[process], new LLVM 15.0.5 binaries have been
uploaded to S3.

This PR updates the bootstrap script to use this
new LLVM version.

[process]: https://github.com/servo/servo/wiki/Upgrading-the-windows-LLVM-binaries

Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2023-01-24 20:46:34 +05:30
cybai
9b9a7aea02 Approve PR automatically after WPT sync successfully 2023-01-24 11:22:23 +09:00
bors-servo
941bd6a579
Auto merge of #29290 - servo:dependabot/cargo/rayon-core-1.10.2, r=jdm
Bump rayon-core from 1.10.1 to 1.10.2

Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.10.1 to 1.10.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon-core's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon-core 1.10.2 (2023-01-22)</h1>
<ul>
<li>Fixed miri-reported UB for SharedReadOnly tags protected by a call.</li>
</ul>
<h1>Release rayon 1.6.1 (2022-12-09)</h1>
<ul>
<li>Simplified <code>par_bridge</code> to only pull one item at a time from the iterator,
without batching. Threads that are waiting for iterator items will now block
appropriately rather than spinning CPU. (Thanks <a href="https://github.com/njaard"><code>@​njaard</code></a>!)</li>
<li>Added protection against recursion in <code>par_bridge</code>, so iterators that also
invoke rayon will not cause mutex recursion deadlocks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b6cdc9da7a"><code>b6cdc9d</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1013">#1013</a></li>
<li><a href="c0c5fd1fd6"><code>c0c5fd1</code></a> Release rayon-core 1.10.2</li>
<li><a href="8cee824f51"><code>8cee824</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1011">#1011</a></li>
<li><a href="f880d02dec"><code>f880d02</code></a> Add a virtual wrapper for &amp;Latch</li>
<li><a href="a46e1f89b3"><code>a46e1f8</code></a> Use pointers instead of <code>&amp;self</code> in <code>Latch::set</code></li>
<li><a href="ed988539eb"><code>ed98853</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1010">#1010</a></li>
<li><a href="063b4065b1"><code>063b406</code></a> Fix ownership invalidation of saved scope panics</li>
<li><a href="0cc5912c18"><code>0cc5912</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/1009">#1009</a></li>
<li><a href="e4ba8d16f3"><code>e4ba8d1</code></a> Improve rayon-core/tests/stack_overflow_crash.rs</li>
<li><a href="1cacc82972"><code>1cacc82</code></a> chmod -x rayon-core/src/broadcast/test.rs</li>
<li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.1...rayon-core-v1.10.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon-core&package-manager=cargo&previous-version=1.10.1&new-version=1.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-24 00:55:42 +01:00
dependabot[bot]
96eca999b6
Bump rayon-core from 1.10.1 to 1.10.2
Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.1...rayon-core-v1.10.2)

---
updated-dependencies:
- dependency-name: rayon-core
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 16:18:45 +00:00
bors-servo
82b3d1043c
Auto merge of #29288 - andreubotella:support-python3.11, r=jdm
Make `mach` work on Python 3.11

This PR fixes the bug where `mach` fails when run on Python 3.11. It also reverts #29124, which added a workaround for this bug on the documentation.

---
<!-- 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 #29107 (already closed due to the workaround in #29124, but this PR fixes it)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they only involve tooling and documentation

<!-- 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. -->
2023-01-23 09:48:15 +01:00
bors-servo
c650934765
Auto merge of #29287 - servo:wpt_update_22-01-2023, r=jdm
Sync WPT with upstream (22-01-2023)

Automated downstream sync of changes from upstream as of 22-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-23 03:02:12 +01:00
Andreu Botella
2c1d67642f Revert "Updated README to fix compatibility issues on Fedora."
This reverts commit 4e997ff334.
2023-01-22 05:13:30 +01:00
Andreu Botella
d7be53a70e Make mach work on Python 3.11 2023-01-22 05:13:30 +01:00
WPT Sync Bot
02cb6d44e5 Update web-platform-tests to revision b'ece751218b0ba35e99fa900bfd2a2d89c4bb69da' 2023-01-22 01:42:09 +00:00
bors-servo
6d8358a482
Auto merge of #29285 - servo:enable-wpt-upstream-sync, r=jdm
Enable the Github Action-based WPT upstream script

<!-- 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] There are tests for these changes
2023-01-21 16:08:53 +01:00
Martin Robinson
772e086677 Enable the Github Action-based WPT upstream script 2023-01-20 20:19:27 +01:00
bors-servo
08e134a479
Auto merge of #29279 - chansuke:chore/update-gitignore, r=mrobinson
Cleanup .gitignore

<!-- Please describe your changes on the following line: -->
Refactor editor related .gitignore.

ref:
https://github.com/github/gitignore/blob/main/Global/Emacs.gitignore
https://github.com/github/gitignore/blob/main/Global/Vim.gitignore
https://github.com/rust-lang/rust/blob/master/.gitignore

---
<!-- 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 they simply change the `.gitignore` file.
2023-01-20 17:10:54 +01:00
bors-servo
3cf51d486d
Auto merge of #29277 - atouchet:badges, r=delan
Remove some badges

<!-- Please describe your changes on the following line: -->
Remove another obsolete Travis CI badge. Also remove a badge from the Readme of a 6 year old podcast episode as I don't think that's particularly relevant anymore.

---
<!-- 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. -->
2023-01-20 15:16:02 +01:00
bors-servo
3831648df9
Auto merge of #29276 - servo:wpt_update_20-01-2023, r=jdm
Sync WPT with upstream (20-01-2023)

Automated downstream sync of changes from upstream as of 20-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-20 13:39:30 +01:00
bors-servo
e9d88e1ff3
Auto merge of #29267 - servo:rm-salt-bootstrap, r=delan
Remove unused salt bootstrapping process.

This used to be used for taskcluster or buildbot, I believe. Searching github for `org:servo bootstrap-salt` returns no results now.
2023-01-20 11:41:39 +01:00
bors-servo
70dd932cb9
Auto merge of #29259 - delan:fix-29258, r=delan
WPT: remove spurious TIMEOUT expectation for transform-root-bg-002

/css/css-transforms/transform-root-bg-002.html unexpectedly passed twice in a row:

* 6756480536
* 6758323513

---
<!-- 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
- [x] These changes fix #29258 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they affect WPT expectations only
2023-01-20 10:01:07 +01:00
chansuke
e10cb9e726 Cleanup .gitignore 2023-01-20 17:48:08 +09:00
bors-servo
d428fb03eb
Auto merge of #29255 - delan:clean-up-workflow-names, r=mrobinson
CI: clean up workflow names

The workflow names on [the actions page](https://github.com/servo/servo/actions) could be a bit clearer and more consistent.

This patch gives main.yml and pull-request.yml more meaningful names, clarifies the nightly builds, and groups the WPT-related builds in lexicographic order.

---
<!-- 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
- [x] These changes do not require tests because they affect the CI configuration

<!-- 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. -->
2023-01-20 07:38:07 +01:00
Alex Touchet
967601bade Remove some badges 2023-01-19 19:38:30 -08:00
Josh Matthews
cb1be84651 Remove unused salt bootstrapping process. 2023-01-19 21:35:56 -05:00
WPT Sync Bot
92be0baf34 Update web-platform-tests to revision b'8a99353217938b6f1da31a9a108da3d501cee58b' 2023-01-20 01:41:09 +00:00
bors-servo
8fc56e5c30
Auto merge of #29271 - chansuke:infra/remove-travis, r=mrobinson
Remove TravisCI badge from README and .travis.yml

Fixes #29268
2023-01-19 23:08:58 +01:00
chansuke
4e089016de Remove TravisCI badge from README 2023-01-19 23:39:39 +09:00
bors-servo
62ec0f1ec7
Auto merge of #29256 - mrego:tsc, r=delan
Remove names of TSC members so they don't get out of sync

None
2023-01-19 14:57:11 +01:00
bors-servo
689d06eccf
Auto merge of #29248 - servo:dependabot/cargo/truetype-0.40.1, r=jdm
Bump truetype from 0.40.0 to 0.40.1

Bumps [truetype](https://github.com/bodoni/truetype) from 0.40.0 to 0.40.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/bodoni/truetype/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=truetype&package-manager=cargo&previous-version=0.40.0&new-version=0.40.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-19 11:29:43 +01:00
bors-servo
7a885032e6
Auto merge of #29270 - delan:fix-windows-builds, r=<try>
CI: downgrade to LLVM 14 to work around #29269

(#29269)

---
<!-- 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: -->
- [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. -->
2023-01-19 09:00:54 +01:00
Delan Azabani
459fcdac1c choco install --allow-downgrade 2023-01-19 16:00:26 +08:00
Delan Azabani
08e94f085a CI: downgrade to LLVM 14 to work around #29269 2023-01-19 15:54:57 +08:00
bors-servo
f70857906d
Auto merge of #29250 - fabricedesre:no-deprecated-symbol-to-jsid, r=delan
Replace use of the deprecated RUST_SYMBOL_TO_JSID by SymbolId

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

A simple replacement of a deprecated function, according to changes in https://github.com/servo/mozjs/pull/315

That removes the only build warning I saw when doing a clobber.

---
<!-- 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 no behavior change is expected.

<!-- 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. -->
2023-01-18 18:05:12 +01:00
bors-servo
c32f11caf3
Auto merge of #29219 - servo:dependabot/cargo/schannel-0.1.21, r=delan
Bump schannel from 0.1.19 to 0.1.21

Bumps [schannel](https://github.com/steffengy/schannel-rs) from 0.1.19 to 0.1.21.
<details>
<summary>Commits</summary>
<ul>
<li><a href="e93c3bcf58"><code>e93c3bc</code></a> Release v0.1.21</li>
<li><a href="74e761e1e4"><code>74e761e</code></a> Update windows-sys to 0.42 (<a href="https://github-redirect.dependabot.com/steffengy/schannel-rs/issues/82">#82</a>)</li>
<li><a href="471182575b"><code>4711825</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/steffengy/schannel-rs/issues/87">#87</a> from arlosi/fix-tests</li>
<li><a href="0230156169"><code>0230156</code></a> update to newest self-signed.badssl.com:443 cert</li>
<li><a href="abd8f52577"><code>abd8f52</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/steffengy/schannel-rs/issues/78">#78</a> from Expyron/master</li>
<li><a href="7ed2b5f5d5"><code>7ed2b5f</code></a> Update context_buffer.rs</li>
<li><a href="595c509b48"><code>595c509</code></a> Use MSI installation files for CI</li>
<li><a href="237e82c543"><code>237e82c</code></a> Change CI minimum tested version to 1.46</li>
<li><a href="334cc45ca0"><code>334cc45</code></a> Remove dependency on <code>lazy_static</code></li>
<li><a href="bd07438aa7"><code>bd07438</code></a> * chore(test): update to newest self-signed.badssl.com:443 cert</li>
<li>Additional commits viewable in <a href="https://github.com/steffengy/schannel-rs/compare/v0.1.19...v0.1.21">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=schannel&package-manager=cargo&previous-version=0.1.19&new-version=0.1.21)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-18 14:28:19 +01:00
Delan Azabani
545ed0a2fa WPT: remove spurious TIMEOUT expectation for transform-root-bg-002 2023-01-18 20:09:43 +08:00
Manuel Rego Casasnovas
5733ae03f1 Remove names of TSC members so they don't get out of sync
Signed-off-by: Manuel Rego Casasnovas <rego@igalia.com>
2023-01-18 10:10:20 +01:00
bors-servo
2515944cda
Auto merge of #29253 - servo:wpt_update_18-01-2023, r=jdm
Sync WPT with upstream (18-01-2023)

Automated downstream sync of changes from upstream as of 18-01-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-01-18 09:55:03 +01:00
bors-servo
c8d9aad3e3
Auto merge of #28880 - wusyong:fix-footer, r=delan
Fix absolute descendents being replaced when retreiving root

<!-- Please describe your changes on the following line: -->
The cause of #16410 is because calling `try_get_layout_root` will replace its `abs_descendants` even itself isn't absolute positioned. So I pushed them instead if the root isn't absolute. Also add a few docs and comments to help understand how block size of absolute flow is being calculated.

---
<!-- 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 #16410 (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes:
Reduced testcase from the issue.
```html
<style>
  html {
    min-height: 100%;
    position: relative;
  }
  div {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25px;
    border: 1px solid black;
  }
</style>
<div>
</div>
```

<!-- 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. -->
2023-01-18 08:18:39 +01:00
Delan Azabani
764dd87633 CI: clean up workflow names 2023-01-18 14:53:55 +08:00
Delan Azabani
d1355dffff update WPT expectations 2023-01-18 14:07:05 +08:00
Delan Azabani
5445db80af cargo update -p parking_lot_core 2023-01-18 13:55:09 +08:00
WPT Sync Bot
1c6b303ef2 Update web-platform-tests to revision b'2d7c53f5bc604132d2c83955537e454ee9c788c0' 2023-01-18 01:48:18 +00:00
bors-servo
8a96f4cd3b
Auto merge of #29247 - servo:dependabot/cargo/brotli-decompressor-2.3.4, r=jdm
Bump brotli-decompressor from 2.3.2 to 2.3.4

Bumps [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) from 2.3.2 to 2.3.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/dropbox/rust-brotli-decompressor/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=brotli-decompressor&package-manager=cargo&previous-version=2.3.2&new-version=2.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-18 01:46:07 +01:00
bors-servo
f5740fad51
Auto merge of #29246 - servo:dependabot/cargo/nom-7.1.3, r=jdm
Bump nom from 7.1.1 to 7.1.3

Bumps [nom](https://github.com/Geal/nom) from 7.1.1 to 7.1.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-bakery/nom/blob/7.1.3/CHANGELOG.md">nom's changelog</a>.</em></p>
<blockquote>
<h2>7.1.3 - 2023-01-15</h2>
<h3>Thanks</h3>
<ul>
<li><a href="https://github.com/Shadow53"><code>@​Shadow53</code></a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>panic in <code>many</code> and <code>count</code> combinators when the output type is zero sized</li>
</ul>
<h2>7.1.2 - 2023-01-01</h2>
<h3>Thanks</h3>
<ul>
<li><a href="https://github.com/joubs"><code>@​joubs</code></a></li>
<li><a href="https://github.com/Fyko"><code>@​Fyko</code></a></li>
<li><a href="https://github.com/LoganDark"><code>@​LoganDark</code></a></li>
<li><a href="https://github.com/darnuria"><code>@​darnuria</code></a></li>
<li><a href="https://github.com/jkugelman"><code>@​jkugelman</code></a></li>
<li><a href="https://github.com/barower"><code>@​barower</code></a></li>
<li><a href="https://github.com/puzzlewolf"><code>@​puzzlewolf</code></a></li>
<li><a href="https://github.com/epage"><code>@​epage</code></a></li>
<li><a href="https://github.com/cky"><code>@​cky</code></a></li>
<li><a href="https://github.com/wolthom"><code>@​wolthom</code></a></li>
<li><a href="https://github.com/w1ll-i-code"><code>@​w1ll-i-code</code></a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>documentation fixes</li>
<li>tests fixes</li>
<li>limit the initial capacity of the result vector of <code>many_m_n</code> to 64kiB</li>
<li>bits parser now accept <code>Parser</code> implementors instead of only functions</li>
</ul>
<h3>Added</h3>
<ul>
<li>implement <code>Tuple</code> parsing for the unit type as a special case</li>
<li>implement <code>ErrorConvert</code> on the unit type to make it usable as error type for bits parsers</li>
<li>bool parser for bits input</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="869f8972a4"><code>869f897</code></a> v7.1.3</li>
<li><a href="a534b39078"><code>a534b39</code></a> fix other uses of MAX_INITIAL_CAPACITY_BYTES</li>
<li><a href="ee7ad17086"><code>ee7ad17</code></a> avoid panic when counting zero-sized outputs in count() (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1618">#1618</a>)</li>
<li><a href="6be62d30d7"><code>6be62d3</code></a> v7.1.2 (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1605">#1605</a>)</li>
<li><a href="6860641f1b"><code>6860641</code></a> 1533 implement bool function for bits (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1534">#1534</a>)</li>
<li><a href="6e45c5d1f3"><code>6e45c5d</code></a> Remove duplicated section from error_management.md (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1529">#1529</a>)</li>
<li><a href="3c5e08cde0"><code>3c5e08c</code></a> <code>impl ErrorConvert\&lt;()&gt; for ()</code> (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1583">#1583</a>)</li>
<li><a href="9c357edae7"><code>9c357ed</code></a> Move the succ! macro to its own file (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1598">#1598</a>)</li>
<li><a href="9cff115667"><code>9cff115</code></a> Ensure all examples compile (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1604">#1604</a>)</li>
<li><a href="b66ff43eff"><code>b66ff43</code></a> fix(bits): Accept Parser, not parser-like functions (<a href="https://github-redirect.dependabot.com/Geal/nom/issues/1599">#1599</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Geal/nom/compare/7.1.1...7.1.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nom&package-manager=cargo&previous-version=7.1.1&new-version=7.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-17 23:50:24 +01:00
bors-servo
619a46113f
Auto merge of #29239 - servo:dependabot/cargo/ab_glyph_rasterizer-0.1.8, r=jdm
Bump ab_glyph_rasterizer from 0.1.7 to 0.1.8

Bumps [ab_glyph_rasterizer](https://github.com/alexheretic/ab-glyph) from 0.1.7 to 0.1.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/alexheretic/ab-glyph/releases">ab_glyph_rasterizer's releases</a>.</em></p>
<blockquote>
<h2>ab-glyph-rasterizer-0.1.8</h2>
<ul>
<li>Do SIMD runtime detection only once on the first <code>Rasterizer::new</code> instead of on each.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aa0742d335"><code>aa0742d</code></a> Release ab_glyph_rasterizer 0.1.8</li>
<li><a href="0f13f4c8e1"><code>0f13f4c</code></a> Do SIMD runtime detection once using <code>std::sync::Once</code> (<a href="https://github-redirect.dependabot.com/alexheretic/ab-glyph/issues/71">#71</a>)</li>
<li><a href="ce85e135de"><code>ce85e13</code></a> Release ab_glyph 0.2.19</li>
<li><a href="be17472cd3"><code>be17472</code></a> Update ttf-parser to 0.18</li>
<li><a href="63cb3702b3"><code>63cb370</code></a> rustfmt doc comments</li>
<li><a href="d12ed25001"><code>d12ed25</code></a> Release ab_glyph 0.2.18</li>
<li><a href="3ae5c70912"><code>3ae5c70</code></a> Update ttf-parser to 0.17</li>
<li>See full diff in <a href="https://github.com/alexheretic/ab-glyph/compare/ab-glyph-rasterizer-0.1.7...ab-glyph-rasterizer-0.1.8">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ab_glyph_rasterizer&package-manager=cargo&previous-version=0.1.7&new-version=0.1.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
2023-01-17 21:40:00 +01:00
bors-servo
a8db596d1e
Auto merge of #29236 - servo:application-json, r=jdm
Allow displaying content with "application/json" mime type

For me this allows the WPT test
performance-timeline/tentative/include-frames-one-remote-child.sub.html
to match expected results. The wptserver is sending a 404 JSON response
because the URL that the test requests is not found.

<!-- 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 #29136.
- [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. -->
2023-01-17 19:13:38 +01:00
bors-servo
aaca4543fc
Auto merge of #29235 - servo:better-exceptions, r=jdm
Stringify unknown JavaScript objects in global exception handlers

When turning DOM exceptions into `ErrorInfo` always try to stringify
the JavaScript value, even if it's an object that isn't a `DOMException`
or native exception.  This means that exceptions that extend the `Error`
prototype are now stringified. The result is that test output for WPT
global assertion failures is more useful. For instance for the test
include-frames-from-child-same-origin-grandchild.sub.html:

Before:
```
uncaught exception: unknown (can't convert to string)
```

After:
```
uncaught exception: Error: assert_equals: expected 4 but got 3
```
---

<!-- 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] There are tests for these changes.
2023-01-17 17:16:45 +01:00
bors-servo
a24dc77036
Auto merge of #29217 - mrobinson:upstream-wpt-changes, r=delan
Add a script to upstream WPT changes via a GitHub Action

This is a modified version of the webhook found at https://github.com/servo/upstream_wpt_webhook and deployed via SaltStack. It is updated to use modern Python and to assume that GitHub Actions will fetch the appropriate source code locally before the script is run.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #29206 and #23798
- [x] There are tests for these changes
2023-01-17 13:35:25 +01:00
Martin Robinson
659597281b Add a script to upstream WPT changes via a GitHub Action
This is a modified version of the webhook found at
servo/upstream_wpt_webhook and deployed via SaltStack. It is updated to
use modern Python and to assume that GitHub Actions will fetch the
appropriate source code locally before the script is run.

Fixes #29206.
Fixes #23798.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2023-01-17 11:49:56 +01:00
bors-servo
5a33a91bc9
Auto merge of #29238 - servo:ci-fail-install-deps, r=jdm
Fail faster on CI when Linux bootstrap fails

Raise an exception when dependencies fail to install. Also split the run phase of the Linux bootstrap so that either of these failing commands will cause the job to fail.

<!-- 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 do not require tests because they just change minor script issues.
2023-01-17 11:43:47 +01:00