chickenleaf
9c893c7f4d
More CanGc fixes ( #33888 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-17 19:36:42 +00:00
dependabot[bot]
720d632170
build(deps): bump serde_json from 1.0.128 to 1.0.129 ( #33889 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.128 to 1.0.129.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.129 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 19:16:58 +00:00
dependabot[bot]
f6a77b905f
build(deps): bump rustfix from 0.8.5 to 0.8.6 ( #33886 )
...
Bumps [rustfix](https://github.com/rust-lang/cargo ) from 0.8.5 to 0.8.6.
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cargo/commits )
---
updated-dependencies:
- dependency-name: rustfix
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 18:24:45 +00:00
dependabot[bot]
781a961379
build(deps): bump libc from 0.2.159 to 0.2.160 ( #33884 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.159 to 0.2.160.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.160/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.160 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 17:15:42 +00:00
Simon Wülker
4a58616770
Fix type mismatches in Router::add_route calls ( #33882 )
...
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-17 13:09:48 +00:00
lwz23
595aab10dc
fix clippy warning in components/script ( #33878 )
...
Signed-off-by: lwz23 <wenzhaoliao@ruc.edu.cn>
2024-10-17 12:58:28 +00:00
tanishka
cd7b66be58
CanGc fixes in components/script/dom ( #33880 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-17 12:49:00 +00:00
evuez
72ff89620b
Handle multibyte characters in img srcset ( #33873 )
...
This was causing this web platform test to crash:
https://wpt.fyi/results/html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html
Signed-off-by: evuez <julien@mulga.net>
2024-10-17 08:13:18 +00:00
dependabot[bot]
2d796a2719
build(deps): bump uuid from 1.10.0 to 1.11.0 ( #33868 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.10.0...1.11.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 07:37:16 +00:00
Martin Robinson
fc569260d2
ci: Fix the WPT export job again by removing --break-system-packages
( #33874 )
...
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-16 22:29:00 +00:00
dependabot[bot]
066d3103bb
build(deps): bump async-compression from 0.4.15 to 0.4.16 ( #33870 )
...
Bumps [async-compression](https://github.com/Nullus157/async-compression ) from 0.4.15 to 0.4.16.
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/v0.4.15...v0.4.16 )
---
updated-dependencies:
- dependency-name: async-compression
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 17:32:53 +00:00
dependabot[bot]
133c763e65
build(deps): bump napi-derive-ohos from 0.0.9 to 1.0.0 ( #33869 )
...
Bumps [napi-derive-ohos](https://github.com/ohos-rs/ohos-rs ) from 0.0.9 to 1.0.0.
- [Release notes](https://github.com/ohos-rs/ohos-rs/releases )
- [Commits](https://github.com/ohos-rs/ohos-rs/compare/napi-ohos@0.0.9...ohrs@1.0.0 )
---
updated-dependencies:
- dependency-name: napi-derive-ohos
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 17:32:49 +00:00
dependabot[bot]
ccac50fc91
build(deps): bump proc-macro2 from 1.0.87 to 1.0.88 ( #33867 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.87...1.0.88 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 17:27:16 +00:00
Martin Robinson
036e74524a
net: Start reducing number of IPCs channels used for fetch with a FetchThread
( #33863 )
...
Instead of creating a `ROUTER` for each fetch, create a fetch thread
which handles all incoming and outcoming fetch requests. Now messages
involving fetches carry a "request id" which indicates which fetch is
being addressed by the message. This greatly reduces the number of file
descriptors used by fetch.
In addition, the interface for kicking off fetches is simplified when
using the `Listener` with `Document`s and the `GlobalScope`.
This does not fix all leaked file descriptors / mach ports, but greatly
eliminates the number used. Now tests can be run without limiting
procesess on modern macOS systems.
Followup work:
1. There are more instances where fetch is done using the old method.
Some of these require more changes in order to be converted to the
`FetchThread` approach.
2. Eliminate usage of IPC channels when doing redirects.
3. Also eliminate the IPC channel used for cancel handling.
4. This change opens up the possiblity of controlling the priority of
fetch requests.
Fixes #29834 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-16 16:53:24 +00:00
Taym Haddadi
2115267328
Add missing XRWebGLBinding constructor spec steps ( #33731 )
...
* Add missing XRWebGLBinding constructor spec steps
Signed-off-by: Taym <haddadi.taym@gmail.com>
* Update test expectation
Signed-off-by: Taym <haddadi.taym@gmail.com>
---------
Signed-off-by: Taym <haddadi.taym@gmail.com>
2024-10-16 16:12:37 +00:00
tanishka
cde6931f4b
clippy: Fix warnings in components/script/dom
( #33860 )
...
* clippy: Fix warnings in components/script/dom
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Move allow to WRAP level
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-16 15:48:53 +00:00
tanishka
a646c850c6
clippy: Fix warnings in components/script/dom
& components/servo
( #33853 )
...
* clippy: Fix warnings in components/script/dom & components/servo
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Move allow to the level of the named field
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Add blank lines before & after field
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* remove trailing whitespace
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-10-16 15:34:14 +00:00
komuhangi
b0a33d6b02
Some CanGc Fixes ( #33865 )
...
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
2024-10-16 15:14:28 +00:00
tanishka
2b9527262c
CanGc fixes in components/script/dom ( #33862 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-16 14:18:07 +00:00
Oriol Brufau
5148b444be
Minor cleanup for Size
after #33844 ( #33861 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-16 13:53:46 +00:00
chickenleaf
2e0fbfcb95
Fix GC borrow hazard in XRInputSourceArray ( #33857 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-16 11:08:31 +00:00
Delan Azabani
fa1f7e5839
Gate all use of tracing
behind Cargo feature ( #33845 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2024-10-16 10:24:24 +00:00
Oriol Brufau
103d3aa7bb
Avoid wrapping line at the start of text run with text-wrap-mode: nowrap
( #33848 )
...
When computing the min-content size of an inline formatting context,
we could allow a soft wrap opportunity at the start of a text run.
This shouldn't happen with `text-wrap-mode: nowrap`.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-16 10:22:11 +00:00
komuhangi
0a71c736f0
clippy: fix clippy warnings in components/script
( #33849 )
...
* Clippy:Fix clippy warnings in components/script
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
* Addressed changes suggested in #33849
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
---------
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
2024-10-16 10:21:25 +00:00
Martin Robinson
30abb99287
clippy: Add safety documentation and clean up unsafe methods ( #33748 )
...
This change:
1. Adds safety documentation where it was missing.
2. Limits the scope of unsafe code in some cases to where it is actually
unsafe.
3. Converts some free functions to associated functions and methods,
thereby making them more likely to be called safely.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-16 08:11:31 +00:00
Simon Wülker
ed959d7a1a
Implement fetch metadata headers ( #33830 )
...
* Implement sec-fetch-dest header
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement "is same site" algorithm
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement remaining sec-fetch-* headers
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix casing of header names
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix handling Destination::None in sec-fetch-dest
This also removes the comment about wanting to upgrade
to a newer content-security-protocol version because
the csp doesn't implement the "empty" case.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Remove colon from spec comment
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Adjust expected default headers
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix test expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-16 04:15:56 +00:00
chickenleaf
a2f81d69c1
CanGc fixes ( #33852 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-16 02:50:28 +00:00
dependabot[bot]
5b8fbb023d
build(deps): bump rustversion from 1.0.17 to 1.0.18 ( #33850 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.17...1.0.18 )
---
updated-dependencies:
- dependency-name: rustversion
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 17:34:55 +00:00
Oriol Brufau
564478ef0d
Remove SizeKeyword, merge it into Size ( #33844 )
...
It's not really useful to have it.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-15 10:30:22 +00:00
tanishka
c37fb2e453
clippy: Fix type_complexity
warning in components/script/dom
( #33835 )
...
* clippy: Fix type_complexity warning in components/script/dom/bluetoothdevice.rs
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Fix clippy warnings due to code changes
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Move documentation comment
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Root the new struct
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-15 07:39:15 +00:00
chickenleaf
b088a8b8f1
Fix Clippy warning: remove unneeded late initialization of string ( #33840 )
...
* Fix Clippy warning: remove unneeded late initialization of string
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Fixed the comments placement
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-15 06:09:26 +00:00
tanishka
46d6c0c883
CanGc fixes in components/script/dom ( #33843 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-15 04:45:16 +00:00
chickenleaf
1e39787573
CanGc fixes and checks in multiple files ( #33836 )
...
* CanGc fixes and checks in multiple files
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* CanGc fixes in storageevent.rs
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-15 04:30:48 +00:00
dependabot[bot]
2f1862aaf5
build(deps): bump cc from 1.1.29 to 1.1.30 ( #33842 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.29 to 1.1.30.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.29...cc-v1.1.30 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 17:42:21 +00:00
dependabot[bot]
81e8e582df
build(deps): bump profiling from 1.0.15 to 1.0.16 ( #33841 )
...
Bumps [profiling](https://github.com/aclysma/profiling ) from 1.0.15 to 1.0.16.
- [Changelog](https://github.com/aclysma/profiling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aclysma/profiling/compare/v1.0.15...v1.0.16 )
---
updated-dependencies:
- dependency-name: profiling
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 17:40:23 +00:00
dependabot[bot]
f6ebb8eaf1
build(deps): bump bytemuck from 1.18.0 to 1.19.0 ( #33839 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: bytemuck
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 17:25:02 +00:00
dependabot[bot]
223e01ed9e
build(deps): bump wasm-bindgen-futures from 0.4.43 to 0.4.45 ( #33838 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.43 to 0.4.45.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 17:21:11 +00:00
dependabot[bot]
aedad32726
build(deps): bump async-compression from 0.4.14 to 0.4.15 ( #33837 )
...
Bumps [async-compression](https://github.com/Nullus157/async-compression ) from 0.4.14 to 0.4.15.
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/v0.4.14...v0.4.15 )
---
updated-dependencies:
- dependency-name: async-compression
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 17:15:12 +00:00
Oriol Brufau
b9ed45942d
Avoid recomputing inline_content_sizes() when not needed ( #33806 )
...
The result of `inline_content_sizes()` may depend on the block size of
the containing block, so we were always recomputing in case we got
a different block size.
However, if no content has a vertical percentage or stretches vertically,
then we don't need to recompute: the result will be the same anyways.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-10-14 16:06:27 +00:00
Cristian Brinza
821bed1d11
Fix headless mode on Windows ( #33817 )
...
Signed-off-by: crbrz <cristianb@gmail.com>
2024-10-14 13:24:03 +00:00
Gregory Terzian
9508b83af6
fix intermittency of child-document-raf-order test ( #33480 )
...
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
2024-10-14 13:23:14 +00:00
tanishka
cfd15dd14d
CanGc fixes originating from gamepadevent.rs
& stereopannernode.rs
( #33828 )
...
* CanGc fixes originating from gamepadevent.rs & stereopannernode.rs
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Revert changes within task! macro
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-14 13:22:08 +00:00
Delan Azabani
2322b22a6b
CI: temporarily disable self-hosted runners for nightly.yml ( #33834 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2024-10-14 13:13:10 +00:00
Samson
0d3fad156a
Add python3-setuptools to ubuntu apt install line ( #33833 )
...
This was needed on my clean installed ubuntu 24.10.
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-10-14 11:53:23 +00:00
komuhangi
717baff17b
Fixed same_enum_variation clippy warnings in components/script/dom ( #33818 )
...
Signed-off-by: jahielkomu <ktumuhairwe24@gmail.com>
2024-10-14 04:12:19 +00:00
chickenleaf
fc0835bae3
CanGc fixes in focusevent.rs oscillartornode.rs response.rs resizeobserversize.rs animationevent.rs ( #33827 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-13 21:35:59 +00:00
chickenleaf
92f12ff7cd
Propagate CanGc through dommatrix, dommatrixreadonly, and testbindings ( #33822 )
...
* CanGc fixes starting from dommatrix.rs
fixed conflicts
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
~
* cleaning up
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* fixed cannot find value can_gc in this scope error
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-13 16:11:46 +00:00
Simon Wülker
bdd5fb2e5b
Use document encoding when parsing url in href setter ( #33825 )
...
* Implement encoding-parse-a-url algorithm
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Parse url with encoding when setting href on HtmlAnchorElement
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-13 15:12:51 +00:00
Servo WPT Sync
76776bf082
Update web-platform-tests to revision b'c7076ab2397dd3dcf0bb93dc304d05be04cd2a47' ( #33826 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
2024-10-13 13:52:51 +00:00
shanehandley
ded518dfd0
Remove some fixed fixmes ( #33824 )
...
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
2024-10-13 11:56:37 +00:00