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
Samson
f0285fc7e5
CI: pin ubuntu 22.04 in WPT Import ( #33823 )
...
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-10-13 07:19:45 +00:00
Jonathan Schwender
efaba0472a
CI: Bump setup-ohos-sdk to v0.1.4 ( #33739 )
...
* CI: Bump setup-ohos-sdk to v0.1.4
v0.1.3 had a bug when the SDK was restored from cache.
This was fixed upstream, andcache-hit behavior is now also
tested in upstream CI.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* CI: Use major tag again for setup-ohos-sdk
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
---------
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-10-13 07:17:24 +00:00
tanishka
5c0a0d29d0
clippy: Fix warnings in components/script
& components/script/dom
( #33821 )
...
* clippy: Fix warnings in components/script & components/script/dom
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove unused variable - can_gc
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Use _can_gc instead of removing it
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-13 01:05:46 +00:00
chickenleaf
a55f9a37ec
CanGc fixes starting from blob.rs, mediastream.rs, custom_event.rs ( #33820 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2024-10-12 17:17:47 +00:00
Samson
bd8006afc5
Update wgpu ( #33819 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-10-12 14:45:10 +00:00
tanishka
e5e1ef9fb6
Replace CanGc::note() calls with arguments in components/script
( #33816 )
...
* Replace CanGc::note() calls with arguments in components/script
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Revert changes for task macro
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-11 19:23:58 +00:00
Oriol Brufau
a86dcfc6e7
Unify logic for laying out floats and atomic inlines ( #33802 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-10-11 18:26:00 +00:00
dependabot[bot]
0eb8d22d88
build(deps): bump webxr from 845ae9c
to e3249c3
( #33815 )
...
Bumps [webxr](https://github.com/servo/webxr ) from `845ae9c` to `e3249c3`.
- [Commits](845ae9c22c...e3249c3df9
)
---
updated-dependencies:
- dependency-name: webxr
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-11 17:51:54 +00:00
dependabot[bot]
3b4a1ab8dd
build(deps): bump web-sys from 0.3.70 to 0.3.72 ( #33814 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.70 to 0.3.72.
- [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: web-sys
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-11 17:48:04 +00:00
dependabot[bot]
afbfad2f63
build(deps): bump cc from 1.1.28 to 1.1.29 ( #33813 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.1.28 to 1.1.29.
- [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.28...cc-v1.1.29 )
---
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-11 17:38:57 +00:00
dependabot[bot]
1167c8245a
build(deps): bump glow from 0.14.1 to 0.14.2 ( #33810 )
...
Bumps [glow](https://github.com/grovesNL/glow ) from 0.14.1 to 0.14.2.
- [Commits](https://github.com/grovesNL/glow/commits )
---
updated-dependencies:
- dependency-name: glow
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-11 17:36:09 +00:00
dependabot[bot]
d89d1490ae
build(deps): bump js-sys from 0.3.70 to 0.3.72 ( #33812 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.70 to 0.3.72.
- [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: js-sys
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-11 17:35:40 +00:00
Mercy Bassey
e09362cd3c
clippy: Fix issues in components/fonts
and ports/servoshell
( #33809 )
...
* fix linting issues
Signed-off-by: mercybassey <udohmercy911@gmail.com>
adding '-s'
* Remove a pair of unecessary parenethesis
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
---------
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-10-11 17:23:38 +00:00
chickenleaf
20a15619f0
CanGc fixes starting from imagedata.rs ( #33808 )
...
* CanGc fixes starting from imagedata.rs
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* Update components/script/dom/imagedata.rs
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Signed-off-by: chickenleaf <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Signed-off-by: chickenleaf <lashwinib@gmail.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2024-10-11 16:38:23 +00:00
tanishka
27b25e869b
content: Replace uses of downcast
+is_some
/is_none
with is
( #33804 )
...
* content: Replace uses of downcast+is_some/is_none with is
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove ! to return correct logic
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-11 15:40:39 +00:00
Simon Wülker
c5899e596d
Implement DOMRect::FromRect ( #33798 )
...
* Implement DOMRect::FromRect
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Silence crown errors
The rect type does not contain any gc'd members,
so not rooting it is perfectly fineSilence crown errors
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Add SVGRect to the list of exposed interface globals
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT manifest
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-10-11 15:35:59 +00:00
tanishka
8843a0e400
clippy: Fix type_complexity
warnings in components/script/dom
( #33790 )
...
* clippy: Fix type_complexity warnings in components/script/dom
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Use explicit & implicit method calls where needed
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove unwrap & pass pipeline_layout
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* Remove unused variable - bgls
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
---------
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-10-11 14:57:41 +00:00