Commit graph

45505 commits

Author SHA1 Message Date
bors-servo
edbd1dbc2c
Auto merge of #29552 - mrobinson:fix-permissions, r=mrego
Fix permissions of etc/ci/wpt-nightly-update.sh

The permissions were mistakenly modified in a previous change.

Fixes #29550.

<!-- 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 fix a script's permissions.

<!-- 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-03-28 16:50:48 +02:00
bors-servo
dbe2bb4362
Auto merge of #29551 - mrobinson:remove-accidental-print, r=mrego
Remove a print statement mistakenly added in a previous change

This statement is totally unnecessary and interferes with the console commands which erase and rewrite the current tidy status.

<!-- 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 remove a print statement.

<!-- 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-03-28 13:23:50 +02:00
bors-servo
7f87bd9cf5
Auto merge of #29545 - servo:wpt_update_25-03-2023, r=mrobinson
Sync WPT with upstream (25-03-2023)

Automated downstream sync of changes from upstream as of 25-03-2023
[no-wpt-sync]
r? @servo-wpt-sync
2023-03-28 11:33:49 +02:00
Martin Robinson
bf61f5404c Fix permissions of etc/ci/wpt-nightly-update.sh
The permissions were mistakenly modified in a previous change.

Fixes #29550.
2023-03-28 11:04:47 +02:00
Martin Robinson
1613997d87 Remove a print statement mistakenly added in a previous change
This statement is totally unnecessary and interferes with the console
commands which erase and rewrite the current tidy status.
2023-03-28 09:42:35 +02:00
bors-servo
c2b2574dc4
Auto merge of #29549 - servo:dependabot/cargo/image-0.24.6, r=jdm
Bump image from 0.24.5 to 0.24.6

Bumps [image](https://github.com/image-rs/image) from 0.24.5 to 0.24.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/image-rs/image/blob/master/CHANGES.md">image's changelog</a>.</em></p>
<blockquote>
<h3>Version 0.24.6</h3>
<ul>
<li>Add support for QOI.</li>
<li>ImageDecoders now expose ICC profiles on supported formats.</li>
<li>Add support for BMPs without a file header.</li>
<li>Improved AVIF encoder.</li>
<li>WebP decoding fixes.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/image-rs/image/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=image&package-manager=cargo&previous-version=0.24.5&new-version=0.24.6)](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-03-28 09:23:33 +02:00
bors-servo
b4e381033d
Auto merge of #29548 - servo:dependabot/cargo/cpufeatures-0.2.6, r=jdm
Bump cpufeatures from 0.2.5 to 0.2.6

Bumps [cpufeatures](https://github.com/RustCrypto/utils) from 0.2.5 to 0.2.6.
<details>
<summary>Commits</summary>
<ul>
<li><a href="861da36d1d"><code>861da36</code></a> cpufeatures v0.2.6 (<a href="https://redirect.github.com/RustCrypto/utils/issues/867">#867</a>)</li>
<li><a href="dc26334124"><code>dc26334</code></a> cpufeatures: document unstable target features (<a href="https://redirect.github.com/RustCrypto/utils/issues/866">#866</a>)</li>
<li><a href="9ad34485d6"><code>9ad3448</code></a> add <code>miri</code> support by forcing the <code>portable</code> backend (<a href="https://redirect.github.com/RustCrypto/utils/issues/864">#864</a>)</li>
<li><a href="552f6ea529"><code>552f6ea</code></a> cmov, fiat-constify, hybrid-array, zeroize: fix CI targets and branches (<a href="https://redirect.github.com/RustCrypto/utils/issues/861">#861</a>)</li>
<li><a href="1ffdfbecbe"><code>1ffdfbe</code></a> cpufeatures: add support for detecting AVX-512 (<a href="https://redirect.github.com/RustCrypto/utils/issues/862">#862</a>)</li>
<li><a href="b05b15afa0"><code>b05b15a</code></a> cmov: fix builds on <code>x86</code> (32-bit) targets (<a href="https://redirect.github.com/RustCrypto/utils/issues/863">#863</a>)</li>
<li><a href="d771c90b01"><code>d771c90</code></a> Add SECURITY.md (<a href="https://redirect.github.com/RustCrypto/utils/issues/855">#855</a>)</li>
<li><a href="b2926b21a0"><code>b2926b2</code></a> Replace unmaintained actions-rs/* actions in CI workflows (<a href="https://redirect.github.com/RustCrypto/utils/issues/852">#852</a>)</li>
<li><a href="06427069ee"><code>0642706</code></a> Support dynamic feature detection on iOS and derivative platforms (<a href="https://redirect.github.com/RustCrypto/utils/issues/848">#848</a>)</li>
<li><a href="bb022c838c"><code>bb022c8</code></a> build(deps): bump proc-macro2 from 1.0.51 to 1.0.52 (<a href="https://redirect.github.com/RustCrypto/utils/issues/847">#847</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.5...cpufeatures-v0.2.6">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cpufeatures&package-manager=cargo&previous-version=0.2.5&new-version=0.2.6)](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-03-28 07:46:02 +02:00
cybai (Haku)
a86bbd4b41
Fix test status for import-meta-url.html 2023-03-28 13:56:52 +09:00
cybai (Haku)
b892c066b1
Fix test status for import-meta-url.html in layout 2020 2023-03-28 13:56:37 +09:00
bors-servo
db50d1c60a
Auto merge of #29546 - mrobinson:fix-build-warnings, r=jdm
Fix some build warnings

Change a use of `extern crate` to be simply `use`, which is what the compiler suggests. In addition, with the change, one of the uses is redundant. In addition, remove two unused `use` statements.

---
<!-- 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 fix some warnings.

<!-- 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-03-28 05:48:18 +02:00
bors-servo
11559eb8f8
Auto merge of #29465 - 2shiori17:issue-29388, r=jdm
Implement Headers.prototype.getSetCookie

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

<!-- 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-03-28 04:10:37 +02:00
dependabot[bot]
bab1aff6d9
Bump image from 0.24.5 to 0.24.6
Bumps [image](https://github.com/image-rs/image) from 0.24.5 to 0.24.6.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/commits)

---
updated-dependencies:
- dependency-name: image
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 17:20:28 +00:00
dependabot[bot]
094987e081
Bump cpufeatures from 0.2.5 to 0.2.6
Bumps [cpufeatures](https://github.com/RustCrypto/utils) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.5...cpufeatures-v0.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 17:02:22 +00:00
Martin Robinson
7fdf806874 Fix some build warnings 2023-03-27 14:58:44 +02:00
Delan Azabani
d3f1309310 update expectations 2023-03-27 18:43:02 +08:00
Delan Azabani
6ed970b3fb split new test out of this patch (web-platform-tests/wpt#39211) 2023-03-27 17:03:25 +08:00
Delan Azabani
d46d932f76 update wpt manifest 2023-03-27 16:46:46 +08:00
2shiori17
b7d0451d56 Fix concept-header-list-get-decode-split 2023-03-26 20:07:12 +09:00
2shiori17
b6e4e44ccf Fix return value of concept-header-list-get to Option<Vec<u8>> 2023-03-26 19:57:39 +09:00
2shiori17
d6d48510d9 Update wpt results 2023-03-26 12:32:54 +09:00
2shiori17
e4a4f60c53 Fix concept-headers-append 2023-03-26 00:54:04 +09:00
bors-servo
16727661e5
Auto merge of #29538 - mrobinson:run-layout-2020-build-in-main-workflow, r=jdm
Run the Layout 2020 build in the main workflow

<!-- 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 are an infrastructure change.

<!-- 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-03-25 14:27:03 +01:00
bors-servo
5cf38b2d74
Auto merge of #29543 - mrobinson:layout-2020-in-nightly-update, r=jdm
Add Layout 2020 support to nightly WPT update

<!-- 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 change infrastructure.

<!-- 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-03-25 04:52:10 +01:00
WPT Sync Bot
7bf23c63b3 Update web-platform-tests to revision b'2703c75d5e889bb7c6a918de44841bf9de8d63a7' 2023-03-25 01:54:46 +00:00
bors-servo
1d5088a6be
Auto merge of #29544 - servo:dependabot/cargo/openssl-0.10.48, r=jdm
Bump openssl from 0.10.47 to 0.10.48

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.47 to 0.10.48.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sfackler/rust-openssl/releases">openssl's releases</a>.</em></p>
<blockquote>
<h2>openssl v0.10.48</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix LibreSSL version checking in openssl/ by <a href="https://github.com/alex"><code>@​alex</code></a> in <a href="https://redirect.github.com/sfackler/rust-openssl/pull/1851">sfackler/rust-openssl#1851</a></li>
<li>Skip a test that hangs on OpenSSL 3.1.0 by <a href="https://github.com/alex"><code>@​alex</code></a> in <a href="https://redirect.github.com/sfackler/rust-openssl/pull/1850">sfackler/rust-openssl#1850</a></li>
<li>Improve reliability of some tests by <a href="https://github.com/smoelius"><code>@​smoelius</code></a> in <a href="https://redirect.github.com/sfackler/rust-openssl/pull/1852">sfackler/rust-openssl#1852</a></li>
<li>Fix a series of security issues by <a href="https://github.com/alex"><code>@​alex</code></a> in <a href="https://redirect.github.com/sfackler/rust-openssl/pull/1854">sfackler/rust-openssl#1854</a></li>
<li>Release openssl v0.10.48 and openssl-sys v0.9.83 by <a href="https://github.com/alex"><code>@​alex</code></a> in <a href="https://redirect.github.com/sfackler/rust-openssl/pull/1855">sfackler/rust-openssl#1855</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/smoelius"><code>@​smoelius</code></a> made their first contribution in <a href="https://redirect.github.com/sfackler/rust-openssl/pull/1852">sfackler/rust-openssl#1852</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.47...openssl-v0.10.48">https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.47...openssl-v0.10.48</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4ff734fe4c"><code>4ff734f</code></a> Release openssl v0.10.48 and openssl-sys v0.9.83 (<a href="https://redirect.github.com/sfackler/rust-openssl/issues/1855">#1855</a>)</li>
<li><a href="5efceaabd6"><code>5efceaa</code></a> Merge pull request <a href="https://redirect.github.com/sfackler/rust-openssl/issues/1854">#1854</a> from alex/davids-openssl-of-horrors</li>
<li><a href="6ced4f305e"><code>6ced4f3</code></a> Fix race condition with X509Name creation</li>
<li><a href="a7528056c5"><code>a752805</code></a> Document the horror show</li>
<li><a href="78aa9aa22c"><code>78aa9aa</code></a> Always provide an X509V3Context in X509Extension::new because OpenSSL require...</li>
<li><a href="332311b597"><code>332311b</code></a> Resolve an injection vulnerability in EKU creation</li>
<li><a href="482575bff4"><code>482575b</code></a> Resolve an injection vulnerability in SAN creation</li>
<li><a href="690eeb2ac2"><code>690eeb2</code></a> Merge pull request <a href="https://redirect.github.com/sfackler/rust-openssl/issues/1852">#1852</a> from smoelius/master</li>
<li><a href="e5b6d97ed1"><code>e5b6d97</code></a> Improve reliability of some tests</li>
<li><a href="319200ab93"><code>319200a</code></a> Merge pull request <a href="https://redirect.github.com/sfackler/rust-openssl/issues/1851">#1851</a> from alex/libressl-versions</li>
<li>Additional commits viewable in <a href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.47...openssl-v0.10.48">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=openssl&package-manager=cargo&previous-version=0.10.47&new-version=0.10.48)](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-03-25 00:41:33 +01:00
dependabot[bot]
9a6065b42f
Bump openssl from 0.10.47 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.47 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.47...openssl-v0.10.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 17:41:36 +00:00
Martin Robinson
95bfad3ac5 Add Layout 2020 support to nightly WPT update 2023-03-24 18:33:07 +01:00
bors-servo
d8e886a792
Auto merge of #29539 - mrobinson:more-debugging-for-wpt-upstreamer, r=delan
Be more verbose when a command fails in the WPT upstream script

This should make it easier to debug the strange script failures we are seeing on some
PRs such as the [one seen here](https://github.com/servo/servo/pull/29396/#issuecomment-1480919565).

---
<!-- 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 this just increases debugging output.

<!-- 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-03-24 04:42:05 +01:00
Martin Robinson
e09b05e618 Be more verbose when a command fails in the WPT upstream script 2023-03-23 13:11:16 +01:00
Delan Azabani
557ce73f5f add spec issue as todo in [[OwnPropertyKeys]] trap 2023-03-23 19:15:20 +08:00
Delan Azabani
c831a136b2 clarify and test interactions with indexed access 2023-03-23 18:07:50 +08:00
Delan Azabani
fb2acb0b02 clarify todos about exposed objects 2023-03-23 18:07:46 +08:00
Delan Azabani
b1f78d8a3d fix attrs in descriptor for @@toStringTag property 2023-03-23 18:07:44 +08:00
Delan Azabani
dd905d8434 clean up spurious changes and todos with no action needed 2023-03-23 18:07:39 +08:00
Delan Azabani
65da7b668b clean up lints and tidy errors 2023-03-23 18:07:36 +08:00
Delan Azabani
3e5d725be5 update expectations for **/window-named-properties-object.html 2023-03-23 18:07:15 +08:00
Delan Azabani
9a8a5bdbf7 make ownPropertyKeys trap return @@toStringTag key
This fixes the failures in the “[[OwnPropertyKeys]]” subtest.
2023-03-23 18:07:11 +08:00
Delan Azabani
bbaacb7b2d make getOwnPropertyDescriptor trap accept @@toStringTag key
This fixes the failures in the “[[Get]]” and “[[Delete]]” subtests.
2023-03-23 18:07:08 +08:00
Delan Azabani
33387eb75a make getOwnPropertyDescriptor trap accept integer indices
Several /webidl/ecmascript-binding/window-named-properties-object.html
subtests, including the “[[GetOwnProperty]]” and “[[HasProperty]]”
subtests, expect iframe.contentWindow.Window.prototype[0] to return an
element with id “0”.

This commit makes the getOwnPropertyDescriptor trap accept property
keys that are integer indices, by converting them to a DOMString just
like we would for a property key that is a JSString.
2023-03-23 18:07:05 +08:00
Delan Azabani
9a3d6969c9 migrate use of deprecated RUST_JS_{IS,TO}_STRING 2023-03-23 18:07:02 +08:00
Delan Azabani
8814e4bb4f fix failures in [[DefineOwnProperty]] subtest
Calling throw_type_error in the [[DefineOwnProperty]] trap (and
returning false) makes the internal method throw a TypeError, which
means both Object#defineProperty and Reflect#defineProperty will throw
a TypeError, but we actually want the latter to return false.

This commit makes the trap set ObjectOpResult to a TypeError (and
return true), making the internal method return false per the spec [1]
and in turn allowing Reflect#defineProperty to return false.

[1] https://webidl.spec.whatwg.org/#named-properties-object-defineownproperty
2023-03-23 18:06:58 +08:00
Delan Azabani
b67c082dfc update expectations 2023-03-23 18:06:53 +08:00
Delan Azabani
250050b569 update expectations 2023-03-23 18:06:38 +08:00
Delan Azabani
1f74d4c75b revert: Introduce Untransplantable trait to indicate transplantability at the type level
(8f7b0cff87f0eab921e13e6990d76e12935e8675)
2023-03-23 18:06:17 +08:00
Delan Azabani
4c7f198ee2 apply yvt/servo/fix-named-window-getter 2023-03-23 18:02:35 +08:00
Delan Azabani
fd1de05592 apply pylbrecht/servo/named.window.getter (closes #27952) 2023-03-23 18:01:26 +08:00
Martin Robinson
4fa2b7c822 Run the Layout 2020 build in the main workflow 2023-03-23 10:55:58 +01:00
bors-servo
be6e25a1b2
Auto merge of #29528 - mrobinson:test-tidy-before-landing, r=jdm
Run test-tidy when landing pull requests

Currently `test-tidy` only runs during the quick check. This can mean that when a change is approved, the quick check can be skipped and a change can land without `test-tidy` ever being run on it. This change adds a `test-tidy` run to the main CI run to avoid this happening.

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

<!-- 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-03-23 07:51:43 +01:00
bors-servo
104a893623
Auto merge of #29524 - servo:dependabot/cargo/sw-composite-0.7.16, r=jdm
Bump sw-composite from 0.7.15 to 0.7.16

Bumps [sw-composite](https://github.com/jrmuizel/sw-composite) from 0.7.15 to 0.7.16.
<details>
<summary>Commits</summary>
<ul>
<li><a href="cdeb4af248"><code>cdeb4af</code></a> Release 0.7.16</li>
<li><a href="f84683f000"><code>f84683f</code></a> Update to new cargo release syntax</li>
<li><a href="874d120d9e"><code>874d120</code></a> Fix precedence error in over()</li>
<li>See full diff in <a href="https://github.com/jrmuizel/sw-composite/compare/v0.7.15...v0.7.16">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sw-composite&package-manager=cargo&previous-version=0.7.15&new-version=0.7.16)](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-03-23 05:50:38 +01:00
Josh Matthews
eb2bc41d8b
Merge branch 'master' into test-tidy-before-landing 2023-03-22 23:11:06 -04:00