mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
51754 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
56bbc49f21
|
[WebDriver] Properly report error: "No such window" (#37385)
For WebDriver, return "No Such Window" properly according to spec. Testing: `./mach test-wpt -r --log-raw "D:\servo test log\all.txt" .\tests\wpt\tests\webdriver\tests\classic\ --product servodriver` --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> |
||
|
63e27bcab9
|
build(deps): bump miniz_oxide from 0.8.8 to 0.8.9 (#37383)
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide) from 0.8.8 to
0.8.9.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md">miniz_oxide's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/Frommi/miniz_oxide/compare/0.8.8..0.8.9">0.8.9</a>
- 2025-06-09</h2>
<h3>Other</h3>
<ul>
<li>Remove <code>compiler-builtins</code> from
<code>rustc-dep-of-std</code> dependencies (<a
href="https://redirect.github.com/Frommi/miniz_oxide/issues/173">#173</a>)
- (<a
href="
|
||
|
2f091eff5b
|
build(deps): bump wasi from 0.11.0+wasi-snapshot-preview1 to 0.11.1+wasi-snapshot-preview1 (#37375)
Bumps [wasi](https://github.com/bytecodealliance/wasi) from 0.11.0+wasi-snapshot-preview1 to 0.11.1+wasi-snapshot-preview1. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
f42f585c84
|
build(deps): bump rustc-demangle from 0.1.24 to 0.1.25 (#37381)
Bumps [rustc-demangle](https://github.com/rust-lang/rustc-demangle) from 0.1.24 to 0.1.25. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rust-lang/rustc-demangle/commits">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
41eb145093
|
build(deps): bump bytemuck from 1.23.0 to 1.23.1 (#37382)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.23.0 to 1.23.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Lokathor/bytemuck/blob/main/changelog.md">bytemuck's changelog</a>.</em></p> <blockquote> <h2>1.23.1</h2> <ul> <li>Added a windows-only <code>ZeroableInOption</code> impl for "stdcall" functions.</li> </ul> <h2>1.23</h2> <ul> <li><code>impl_core_error</code> crate feature adds <code>core::error::Error</code> impl.</li> <li>More <code>ZeroableInOption</code> impls.</li> </ul> <h2>1.22</h2> <ul> <li>Add the <code>pod_saturating</code> feature, which adds <code>Pod</code> impls for <code>Saturating<T></code> when <code>T</code> is already <code>Pod</code>.</li> <li>A bump in the minimum <code>bytemuck_derive</code> dependency from 1.4.0 to 1.4.1 to avoid a bug if you have a truly ancient <code>cargo.lock</code> file sitting around.</li> <li>Adds <code>Send</code> and <code>Sync</code> impls to <code>BoxBytes</code>.</li> </ul> <h2>1.21</h2> <ul> <li>Implement <code>Pod</code> and <code>Zeroable</code> for <code>core::arch::{x86, x86_64}::__m512</code>, <code>__m512d</code> and <code>__m512i</code> without nightly. Requires Rust 1.72, and is gated through the <code>avx512_simd</code> cargo feature.</li> <li>Allow the use of <code>must_cast_mut</code> and <code>must_cast_slice_mut</code> in const contexts. Requires Rust 1.83, and is gated through the <code>must_cast_extra</code> cargo feature.</li> <li>internal: introduced the <code>maybe_const_fn</code> macro that allows defining some function to be const depending upon some <code>cfg</code> predicate.</li> </ul> <h2>1.20</h2> <ul> <li>New functions to allocate zeroed <code>Arc</code> and <code>Rc</code>. Requires Rust 1.82</li> <li><code>TransparentWrapper</code> impls for <code>core::cmp::Reverse</code> and <code>core::num::Saturating</code>.</li> <li>internal: Simplified the library's <code>fill_zeroes</code> calls to <code>write_bytes</code></li> </ul> <h2>1.19</h2> <ul> <li>Adds the <code>#[track_caller]</code> attribute to functions which may panic.</li> </ul> <h2>1.18</h2> <ul> <li>Adds the <code>latest_stable_rust</code> cargo feature, which is a blanket feature that turns all other features on that are both sound and compatible with Stable rust.</li> </ul> <h2>1.17.1</h2> <ul> <li>Adds <code>#[repr(C)]</code> to the <code>union Transmute<A, B></code> type that's used internally for most of the transmutations.</li> </ul> <h2>1.17.0</h2> <ul> <li>Makes the <code>must_cast</code> versions of the by-value and by-ref casts be <code>const</code>. The mut ref cast is unaffected for now (mut references aren't yet stable in <code>const fn</code>). This increases the MSRV of using that particular feature from 1.57 to 1.64.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
6d72589b88
|
build(deps): bump clap from 4.5.39 to 4.5.40 (#37374)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.39 to 4.5.40. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.5.40] - 2025-06-09</h2> <h3>Features</h3> <ul> <li>Support quoted ids in <code>arg!()</code> macro (e.g. <code>arg!("check-config": ...)</code>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
51980b49b5
|
build(deps): bump syn from 2.0.101 to 2.0.102 (#37379)
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.101 to 2.0.102. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/syn/releases">syn's releases</a>.</em></p> <blockquote> <h2>2.0.102</h2> <ul> <li>Fix printing of nested Expr::Index and Expr::Tuple in non-full mode (<a href="https://redirect.github.com/dtolnay/syn/issues/1869">#1869</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
3b54f1a720
|
build(deps): bump clap_lex from 0.7.4 to 0.7.5 (#37378)
Bumps [clap_lex](https://github.com/clap-rs/clap) from 0.7.4 to 0.7.5. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap_lex's changelog</a>.</em></p> <blockquote> <h2>v0.7.5 (2015-05-04)</h2> <h4>Bug Fixes</h4> <ul> <li><strong>Options</strong> fixes bug where options with no value don't error out (<a href=" |
||
|
6444a76c87
|
build(deps): bump cfg-if from 1.0.0 to 1.0.1 (#37376)
Bumps [cfg-if](https://github.com/rust-lang/cfg-if) from 1.0.0 to 1.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cfg-if/releases">cfg-if's releases</a>.</em></p> <blockquote> <h2>v1.0.1</h2> <h3>Other</h3> <ul> <li>Remove <code>compiler-builtins</code> from <code>rustc-dep-of-std</code> dependencies</li> <li>Remove redundant configuration from Cargo.toml</li> <li>More readable formatting and identifier names. (<a href="https://redirect.github.com/rust-lang/cfg-if/pull/39">#39</a>)</li> <li>Add expanded example to readme (<a href="https://redirect.github.com/rust-lang/cfg-if/pull/38">#38</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cfg-if/blob/main/CHANGELOG.md">cfg-if's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/rust-lang/cfg-if/compare/v1.0.0...v1.0.1">1.0.1</a> - 2025-06-09</h2> <h3>Other</h3> <ul> <li>Remove <code>compiler-builtins</code> from <code>rustc-dep-of-std</code> dependencies</li> <li>Remove redundant configuration from Cargo.toml</li> <li>More readable formatting and identifier names. (<a href="https://redirect.github.com/rust-lang/cfg-if/pull/39">#39</a>)</li> <li>Add expanded example to readme (<a href="https://redirect.github.com/rust-lang/cfg-if/pull/38">#38</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
e1ec650cfe
|
Update handle_network_event to use BrowsingContextActor for HttpRequest (#37263)
- Add browsing_context_actor_name parameter to handle_network_event - Replace NetworkEventMsg in HttpRequest case with BrowsingContextActor::resource_available - Update DevTools caller in lib.rs to pass browsing_context_actor_name Testing: Fixes: https://github.com/servo/servo/issues/33556#issuecomment-2756544430 --------- Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com> |
||
|
5c597f98e0
|
layout: Floor free space by 0 in solve_inline_margins_avoiding_floats() (#37362)
`PlacementAmongFloats` should guarantee that the inline size of the placement rect is at least as big as the inline size of the box, resulting in a non-negative free space. However, that may fail when dealing with huge sizes that need to be saturated to MAX_AU, so this floors the free space by zero. Testing: New crashtest Fixes: #37312 Signed-off-by: Oriol Brufau <obrufau@igalia.com> |
||
|
c2ad4afcf9
|
Update getopts. (#37366)
This required special intervention to avoid unnecessarily duplicating the unicode-width dependency like #37357. Testing: No automated tests for CLI argument parsing. Fixes: #37357. Signed-off-by: Josh Matthews <josh@joshmatthews.net> |
||
|
b58d248e22
|
Remove @command in executorservodriver.py (#37363)
The `@webdriver.client.command` function is removed in the [recent upstream sync]( |
||
|
da02dacaa4
|
build(deps): bump async-compression from 0.4.23 to 0.4.24 (#37355)
Bumps [async-compression](https://github.com/Nullus157/async-compression) from 0.4.23 to 0.4.24. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md">async-compression's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/Nullus157/async-compression/compare/v0.4.23...v0.4.24">0.4.24</a> - 2025-06-09</h2> <h3>Other</h3> <ul> <li>Fix clippy error</li> <li>narrow tokio requirement to account for RUSTSEC-2025-0023</li> <li>move constructors back to top of rustdoc pages</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
3196e7db00
|
build(deps): bump zune-jpeg from 0.4.16 to 0.4.17 (#37354)
Bumps [zune-jpeg](https://github.com/etemesi254/zune-image) from 0.4.16 to 0.4.17. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/etemesi254/zune-image/releases">zune-jpeg's releases</a>.</em></p> <blockquote> <h2>v0.1.0</h2> <p>No release notes provided.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/etemesi254/zune-image/commits">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
ff65928a97
|
build(deps): bump hashbrown from 0.15.3 to 0.15.4 (#37350)
Bumps [hashbrown](https://github.com/rust-lang/hashbrown) from 0.15.3 to 0.15.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/hashbrown/releases">hashbrown's releases</a>.</em></p> <blockquote> <h2>v0.15.4</h2> <h3>Changed</h3> <ul> <li>Removed optional dependency on compiler-builtins. This only affects building as part of <code>std</code>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md">hashbrown's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/rust-lang/hashbrown/compare/v0.15.3...v0.15.4">0.15.4</a> - 2025-06-05</h2> <h3>Changed</h3> <ul> <li>Removed optional dependency on compiler-builtins. This only affects building as part of <code>std</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
b47acf4c7c
|
build(deps): bump toml_edit from 0.22.26 to 0.22.27 (#37349)
Bumps [toml_edit](https://github.com/toml-rs/toml) from 0.22.26 to 0.22.27. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
ed09a0ff52
|
feat(script): add resolve_url_like_module_specifier to ModuleTree (#37340)
adding `resolve_url_like_module_specifier` method to `ModuleTree`. Testing: Existing WPT test for script element should pass. Fixes: https://github.com/servo/servo/issues/37316, resolving a URL-like module specifier Signed-off-by: Jason Tsai <git@pews.dev> |
||
|
591057b9af
|
build(deps): bump smallvec from 1.15.0 to 1.15.1 (#37352)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.15.0 to 1.15.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/servo/rust-smallvec/releases">smallvec's releases</a>.</em></p> <blockquote> <h2>v1.15.1</h2> <h2>What's Changed</h2> <ul> <li>Shrink code produced by <code>smallvec![]</code>. by <a href="https://github.com/nnethercote"><code>@nnethercote</code></a> in <a href="https://redirect.github.com/servo/rust-smallvec/pull/386">servo/rust-smallvec#386</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/servo/rust-smallvec/compare/v1.15.0...v1.15.1">https://github.com/servo/rust-smallvec/compare/v1.15.0...v1.15.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
ebef002777
|
build(deps): bump flate2 from 1.1.1 to 1.1.2 (#37351)
Bumps [flate2](https://github.com/rust-lang/flate2-rs) from 1.1.1 to 1.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/flate2-rs/releases">flate2's releases</a>.</em></p> <blockquote> <h2>1.1.2</h2> <h2>What's Changed</h2> <ul> <li>feat: simplify manual bits extraction and an unneeded reref by <a href="https://github.com/CosminPerRam"><code>@CosminPerRam</code></a> in <a href="https://redirect.github.com/rust-lang/flate2-rs/pull/484">rust-lang/flate2-rs#484</a></li> <li>chore: update deps by <a href="https://github.com/CosminPerRam"><code>@CosminPerRam</code></a> in <a href="https://redirect.github.com/rust-lang/flate2-rs/pull/485">rust-lang/flate2-rs#485</a></li> <li>feat: solve remaining clippy warnings and add it to CI by <a href="https://github.com/CosminPerRam"><code>@CosminPerRam</code></a> in <a href="https://redirect.github.com/rust-lang/flate2-rs/pull/487">rust-lang/flate2-rs#487</a></li> <li>ci: add audit check by <a href="https://github.com/CosminPerRam"><code>@CosminPerRam</code></a> in <a href="https://redirect.github.com/rust-lang/flate2-rs/pull/488">rust-lang/flate2-rs#488</a></li> <li>feat: revert most recent deps updates by <a href="https://github.com/CosminPerRam"><code>@CosminPerRam</code></a> in <a href="https://redirect.github.com/rust-lang/flate2-rs/pull/489">rust-lang/flate2-rs#489</a></li> <li>upgrade zlib-rs to version <code>0.5.1</code> by <a href="https://github.com/folkertdev"><code>@folkertdev</code></a> in <a href="https://redirect.github.com/rust-lang/flate2-rs/pull/490">rust-lang/flate2-rs#490</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/rust-lang/flate2-rs/compare/1.1.1...1.1.2">https://github.com/rust-lang/flate2-rs/compare/1.1.1...1.1.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
9492d8a944
|
build(deps): bump image-webp from 0.2.1 to 0.2.2 (#37353)
Bumps [image-webp](https://github.com/image-rs/image-webp) from 0.2.1 to 0.2.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/image-rs/image-webp/blob/main/CHANGES.md">image-webp's changelog</a>.</em></p> <blockquote> <h3>Version 0.2.2</h3> <p>Changes:</p> <ul> <li>Do not apply background color to animated images by default to better match libwebp behavior (<a href="https://redirect.github.com/image-rs/image-webp/issues/135">#135</a>)</li> </ul> <p>Bug Fixes:</p> <ul> <li>Fixed a bug in the loop filter causing subtly but noticeably incorrect decoding of some lossy images (<a href="https://redirect.github.com/image-rs/image-webp/issues/140">#140</a>)</li> </ul> <p>Optimizations:</p> <ul> <li>Remove bounds checks from color transform hot loop (<a href="https://redirect.github.com/image-rs/image-webp/issues/133">#133</a>)</li> <li>Optimize resolving indexed images into RGB colors (<a href="https://redirect.github.com/image-rs/image-webp/issues/132">#132</a>, <a href="https://redirect.github.com/image-rs/image-webp/issues/134">#134</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/image-rs/image-webp/commits">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
e0aec1c8d2
|
servoshell: Fix reversed logic for WebDriver open window and window.open from #37284 (#37346)
The logic was opposite to intended in #37284. We ended up staying in same tab for `window.open` but focus new tab for WebDriver. Testing: This modifies whether or not tabs are activated in servoshell and WebDriver. WebDriver is currently not tested and neither is servoshell. Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> |
||
|
7f536e8092
|
imagebitmap: Add missing basic functionality (#37025)
Add missing basic functionality for ImageBitmap https://html.spec.whatwg.org/multipage/#imagebitmap including new variant of creation bitmap with source rectangle https://html.spec.whatwg.org/multipage/#dom-createimagebitmap but without support of cropping bitmap data with formatting. Add ImageBitmap to CanvasImageSource union type https://html.spec.whatwg.org/multipage/#canvasimagesource Add ImageBitmap to TexImageSource for WebGL https://registry.khronos.org/webgl/specs/latest/1.0/index.html Testing: Improvements in the following WPT tests - html/canvas/element/manual/imagebitmap/* - html/canvas/element/manual/wide-gamut-canvas/* - html/semantics/embedded-content/the-canvas-element/* - webgl/tests/conformance/textures/image_bitmap_from* - webmessaging/postMessage_cross_domain_image_transfer_2d.sub.htm Fixes: https://github.com/servo/servo/issues/34112 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com> |
||
|
a3c792e5aa
|
servoshell: Do not focus and raise new auxiliary WebDriver-created WebView s (#37284)
For Desktop port of `request_open_auxiliary_webview`, stay on the original WebView if the request originates WebDriver. This is to make sure `webdriver_server::handle_new_window` does not focus the new window, according to spec. See |
||
|
0fa3de3937
|
Support ::part selector (#37307)
This is pretty much just wiring up the necessary stylo methods. Note that the `exportparts` attribute is not yet supported, I'll do that in a followup change Testing: Covered by existing web platform tests. This is the first half of https://github.com/servo/servo/issues/35349 Fixes https://github.com/servo/servo/issues/37325 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> |
||
|
73ee36be00
|
Add WPT baseline for reporting API (#37341)
Part of #37328 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> |
||
|
27527adf35
|
tests: Use Ahem font provided by WPT harness. (#37054)
#37021 exposed that our tests are trying to load a local file path for Ahem.ttf, but this stops working when we implement the specified CORS protections for our font requests. Luckily, the WPT suite already provides a same-origin version of the same font, so we can just update our CSS to use that font face instead. Testing: Existing WPT coverage. Signed-off-by: Josh Matthews <josh@joshmatthews.net> |
||
|
4e9993128b
|
[WebDriver] Unify Cookie related Error types (#37339)
Remove `embedder/webdriver.rs::WebDriverCookieError` and use universal `ErrorStatus` from webdriver crate. This is needed as we might need to send back more universal error such as `NoSuchWindow`. Testing: No behaviour change. Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> |
||
|
96b0973037
|
Upgrade tungstenite, webpki-roots, and hyper-rustls dependencies. (#37333)
This change upgrades some dependencies that required some manual intervention due to duplicate packages and breaking API changes. These changes also allow us to upgrade to ipc-channel 0.20 (https://github.com/servo/ipc-channel/pull/390#discussion_r2070677101), and allow us to upgrade other dependencies that have migrated to rand 0.9 while the ecosystem remains split. Testing: Existing WPT tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> |
||
|
63cfeb3a18
|
Report URI with POST fetch request (#37209)
Part of #4577 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> |
||
|
1b5a10a55f
|
CSS Grid: percentage sizing fixes (#34948)
This applies some fixes for CSS Grid percentage sizing. These fixes are mostly within Taffy, but there are some changes in Servo to allow it to communicate whether an item is replaced to Taffy. It also updates Taffy to v0.8.0. Taffy has switched to a tagged pointer representation of length/size styles. Much of the diff here is updating Servo's type conversion code to use the new representation. --- <!-- 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 OR --------- Signed-off-by: Nico Burns <nico@nicoburns.com> |
||
|
bd6639aadb
|
Sync WPT with upstream (08-06-2025) (#37326)
Automated downstream sync of changes from upstream as of 08-06-2025 [no-wpt-sync] Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> |
||
|
aeca81c091
|
[webdriver] Implement get shadow root (#37280)
Implement Get Element Shadow Root https://www.w3.org/TR/webdriver2/#dfn-get-element-shadow-root cc: @xiaochengh, @yezhizhen, @PotatoCP Testing: `\tests\wpt\tests\webdriver\tests\classic\get_element_shadow_root\get.py` is blocked by `no_browsing_context` and `closed_window` pass for other sub-tests. Signed-off-by: batu_hoang <longvatrong111@gmail.com> |
||
|
c808ff7666
|
Fix Sec-Fetch-Site header (#37277)
While working on #37209 I discovered that the header was computed incorrectly. After carefully reading the specification, I realized that the link in the spec was wrong and we were missing the fact that for host-domains, we should operate on the registrable domain. Additionally, the same-site call was missing the negation. Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> |
||
|
a625420b23
|
Change canvas/context/snapshot size from u64 -> u32 (#36827)
Replaces uses of `euclid::default::Size2D<u64>` with
`euclid::default::Size2D<u32>` for the canvas/context/snapshot.
This PR includes changes to the following components:
- canvas
- pixels
- script
- script_bindings
- shared/canvas
- shared/snapshot
Testing: https://github.com/hashcatHitman/servo/actions/runs/15426115391
(as of
|
||
|
87de9fdf8c
|
Report add_subsuite action in unexpected log (#37323)
This is needed for subsuites to work with update-wpt. Testing: We do not have tests for WPT scripts, but I manually tested that update-wpt does not throw anymore. Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> |
||
|
89977c0e63
|
CI: fix windows CI (#37321)
GitHub-hosted runners do not check out to D: drive, apparently. Testing: Manual CI run: https://github.com/sagudev/servo/actions/runs/15506836392/job/43662762580 Fixes: #37311 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> |
||
|
6ebed53c0d
|
build(deps): bump tracing-core from 0.1.33 to 0.1.34 (#37300)
Bumps [tracing-core](https://github.com/tokio-rs/tracing) from 0.1.33 to 0.1.34. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing-core's releases</a>.</em></p> <blockquote> <h2>tracing-core 0.1.34</h2> <h3>Changed</h3> <ul> <li>Bump MSRV to 1.65 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3033">#3033</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Do not compare references to pointers to compare pointers (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3236">#3236</a>)</li> </ul> <p><a href="https://redirect.github.com/tokio-rs/tracing/issues/3033">#3033</a>: <a href="https://redirect.github.com/tokio-rs/tracing/pull/3033">tokio-rs/tracing#3033</a> <a href="https://redirect.github.com/tokio-rs/tracing/issues/3236">#3236</a>: <a href="https://redirect.github.com/tokio-rs/tracing/pull/3236">tokio-rs/tracing#3236</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
8ad27f9f46
|
build(deps): bump toml_datetime from 0.6.9 to 0.6.11 (#37301)
Bumps [toml_datetime](https://github.com/toml-rs/toml) from 0.6.9 to 0.6.11. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
47f9fbd8c7
|
feat(script): add Supports() to htmlscriptelement (#37313)
Add static method `Supports` to `HTMLScriptElement`. Part of #37262 Testing: relative WPT tests should become `PASS` Signed-off-by: Jason Tsai <git@pews.dev> |
||
|
352e4bfcf1
|
[#26499] Refactors HTMLMediaElement drop logic (#37310)
Testing: No tests added Fixes: Partially #26488 Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com> |
||
|
adb5df3354
|
Do not mutate kwargs["binary_args"] (#37308)
Fixup of #37255, we should not modify existing `kwargs["binary_args"]` or else subsuite's `binary_args` will apply in non subsuite runs. Testing: I verified fix in my personal fork run with vello (where I actually use subsuite). Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> |
||
|
34a64a944a
|
build(deps): bump cc from 1.2.25 to 1.2.26 (#37304)
Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.2.25 to 1.2.26. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cc-rs/releases">cc's releases</a>.</em></p> <blockquote> <h2>cc-v1.2.26</h2> <h3>Other</h3> <ul> <li>Also set <code>SDKROOT</code> when building apple platforms (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1475">#1475</a>)</li> <li>use windows 2022 in CI (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1479">#1479</a>)</li> <li>Detect -Wslash-u-filename warning on clang-cl (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1477">#1477</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md">cc's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/rust-lang/cc-rs/compare/cc-v1.2.25...cc-v1.2.26">1.2.26</a> - 2025-06-06</h2> <h3>Other</h3> <ul> <li>Also set <code>SDKROOT</code> when building apple platforms (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1475">#1475</a>)</li> <li>use windows 2022 in CI (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1479">#1479</a>)</li> <li>Detect -Wslash-u-filename warning on clang-cl (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1477">#1477</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
565b7f44e5
|
build(deps): bump ohos-sys-opaque-types from 0.1.5 to 0.1.6 (#37302)
Bumps [ohos-sys-opaque-types](https://github.com/openharmony-rs/ohos-sys) from 0.1.5 to 0.1.6. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/openharmony-rs/ohos-sys/commits">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
2db88523a9
|
build(deps): bump serde_spanned from 0.6.8 to 0.6.9 (#37305)
Bumps [serde_spanned](https://github.com/toml-rs/toml) from 0.6.8 to 0.6.9. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
b81f1b135b
|
htmlmediaelement: Support seek requests for non seekable fetch context (#37264)
According to specification the data:// URL protocol doesn't support range request so be able make any seek request to required content position let's allow for non seekable fetch context discard fetched content bytes until seek offset. https://fetch.spec.whatwg.org/#scheme-fetch Some scheme URLs (like data:// URL) doesn't expose "Content-Length" header in response so the total expected size of the stream is unknown and it causes some additional seek request (SeekData) from the media player. Try to post configure stream size after we reached fetch EOS response. Related source code which breaks WPT tests: [tests/wpt/tests/html/canvas/element/manual/imagebitmap/common.sub.js#L56-L78](https://github.com/servo/servo/tree/main/tests/wpt/tests/html/canvas/element/manual/imagebitmap/common.sub.js#L56-L78) Testing: Improvements in the following tests: - html/canvas/element/manual/imagebitmap/createImageBitmap* Fixes: https://github.com/servo/servo/issues/32645 Fixes: https://github.com/servo/servo/issues/32745 Fixes: https://github.com/servo/servo/issues/34119 Fixes: https://github.com/servo/servo/issues/34120 Fixes: https://github.com/servo/servo/issues/34151 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com> |
||
|
2c51d44b53
|
Unskip shadow-part tests in wpt (#37309)
This change adds baseline expectations for https://github.com/servo/servo/pull/37307, --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> |
||
|
6cf212879c
|
build(deps): bump tracing-attributes from 0.1.28 to 0.1.29 (#37303)
Bumps [tracing-attributes](https://github.com/tokio-rs/tracing) from 0.1.28 to 0.1.29. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing-attributes's releases</a>.</em></p> <blockquote> <h2>tracing-attributes 0.1.29</h2> <h3>Changed</h3> <ul> <li>Bump MSRV to 1.65 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3033">#3033</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Let <code>dead_code</code> lint work on <code>#[instrument]</code>ed functions (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3108">#3108</a>)</li> <li>Globally qualify attribute paths (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3126">#3126</a>)</li> </ul> <p><a href="https://redirect.github.com/tokio-rs/tracing/issues/3033">#3033</a>: <a href="https://redirect.github.com/tokio-rs/tracing/pull/3033">tokio-rs/tracing#3033</a> <a href="https://redirect.github.com/tokio-rs/tracing/issues/3108">#3108</a>: <a href="https://redirect.github.com/tokio-rs/tracing/pull/3108">tokio-rs/tracing#3108</a> <a href="https://redirect.github.com/tokio-rs/tracing/issues/3126">#3126</a>: <a href="https://redirect.github.com/tokio-rs/tracing/pull/3126">tokio-rs/tracing#3126</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
ea61f6c15c
|
build(deps): bump portable-atomic from 1.11.0 to 1.11.1 (#37299)
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from 1.11.0 to 1.11.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's changelog</a>.</em></p> <blockquote> <h2>[1.11.1] - 2025-06-06</h2> <ul> <li> <p>Fix build error when building non-x86 targets for Miri or ThreadSanitizer since nightly-2025-05-31.</p> </li> <li> <p>aarch64: Optimize atomic floats when FEAT_LSFE is enabled. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/201">#201</a>)</p> </li> <li> <p>Improve compile-time detection of RISC-V Zacas extension. (<a href=" |
||
|
be2325a418
|
build(deps): bump bumpalo from 3.17.0 to 3.18.1 (#37297)
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.17.0 to 3.18.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md">bumpalo's changelog</a>.</em></p> <blockquote> <h2>3.18.1</h2> <p>Released 2025-06-05.</p> <h3>Removed</h3> <ul> <li>Removed the <code>allocator-api2</code> version bump from 3.18.0, as it was not actually semver compatible.</li> </ul> <hr /> <h2>3.18.0 (yanked)</h2> <p>Released 2025-06-05.</p> <h3>Added</h3> <ul> <li>Added support for enforcing a minimum alignment on all allocations inside a <code>Bump</code> arena, which can provide speed ups when allocating objects whose alignment is less than or equal to that minimum.</li> <li>Added <code>serde</code> serialization support for <code>bumpalo::collections::String</code>.</li> <li>Added some missing fallible slice allocation function variants.</li> </ul> <h3>Changed</h3> <ul> <li>Replaced <code>extend_from_slice</code> implementation with a formally-verified version that is also faster and more-optimizable for LLVM.</li> <li>Updated <code>allocator-api2</code> support to version <code>0.3.*</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed a bug where the <code>allocated_bytes</code> metrics helper was accidentally including the size of <code>bumpalo</code>'s footer, rather than just reporting the user-allocated bytes.</li> </ul> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |