Yashasvi Chaudhary
f613159cba
clippy:partialeq_to_none ( #31972 )
2024-04-02 10:25:06 +00:00
Munish Mummadi
2a517f786b
Implementation of baseline-source ( #31904 )
...
Updating Stylo and test expectations.
2024-04-02 10:20:13 +00:00
Oluwatobi Sofela
da3991c8f3
clippy: Fix search_is_some warnings ( #31971 )
2024-04-02 04:01:52 +00:00
dependabot[bot]
71f4c5c916
build(deps): bump syn from 2.0.55 to 2.0.57 ( #31970 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.55 to 2.0.57.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.55...2.0.57 )
---
updated-dependencies:
- dependency-name: syn
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-04-02 03:49:28 +00:00
dependabot[bot]
4227f2f8a1
build(deps): bump pin-project-lite from 0.2.13 to 0.2.14 ( #31969 )
...
Bumps [pin-project-lite](https://github.com/taiki-e/pin-project-lite ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases )
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.13...v0.2.14 )
---
updated-dependencies:
- dependency-name: pin-project-lite
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-04-01 17:36:39 +00:00
dependabot[bot]
5008b6c420
build(deps): bump xml-rs from 0.8.19 to 0.8.20 ( #31967 )
...
Bumps [xml-rs](https://github.com/kornelski/xml-rs ) from 0.8.19 to 0.8.20.
- [Changelog](https://github.com/kornelski/xml-rs/blob/main/Changelog.md )
- [Commits](https://github.com/kornelski/xml-rs/compare/0.8.19...0.8.20 )
---
updated-dependencies:
- dependency-name: xml-rs
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-04-01 17:23:34 +00:00
Oluwatobi Sofela
0a40a800fd
clippy: Fix filter_next warnings ( #31965 )
2024-04-01 15:44:07 +00:00
Oluwatobi Sofela
c7b73e1ef4
clippy: Fix let_and_return warnings ( #31964 )
2024-04-01 15:43:24 +00:00
komuhangi
0da2508e4d
clippy: Allow too_many_arguments
for all functions ( #31962 )
...
This is the start of preventing this in the future.
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-04-01 14:53:33 +00:00
shanehandley
8c1a72f130
Update webidl and implement setter for the files property of a file input ( #31934 )
...
The files attribute was previously readonly, but was later updated to allow mutation via input.files = ...
see https://github.com/whatwg/html/issues/2861
2024-04-01 09:12:07 +00:00
Samson
8c25336e9a
Override timeout in WebGPU CTS to always be "long" ( #31952 )
...
* Long webgpu timeout
* Update expectations
* reupdate expectations 2
* re
* update-webgpu
* Update testing_commands.py with better comment
2024-04-01 08:27:46 +00:00
Rosemary Ajayi
2f5a4354e7
clippy: fixed various clippy warnings in components/scripts
( #31960 )
...
* fixed various clippy warnings
* fixed various clippy warnings
* fixed various clippy warnings
* fixed various clippy warnings
2024-04-01 08:25:42 +00:00
Rosemary Ajayi
fd8235e409
clippy: Fix a few problems in components/script
( #31961 )
...
* fixed various clippy warnings
* fixed various clippy warnings
2024-04-01 07:18:32 +00:00
Rosemary Ajayi
52a74287fc
clippy: Fix a few problems in components/scripts
( #31959 )
...
* fixed various clippy warnings
* fixed various clippy warnings
2024-04-01 05:34:48 +00:00
Rosemary Ajayi
00c4d798c9
clippy: Fix a few problems in components/script/dom
( #31955 )
...
* fixed various clippy warnings
* fixed various clippy warnings
* fixed various clippy warnings
2024-03-31 23:15:13 +00:00
Ekta Siwach
9401102691
updated components/layout_thread/lib.rs ( #31958 )
2024-03-31 22:54:04 +00:00
Rosemary Ajayi
673eaa569a
clippy: Fix various clippy problems in components/scripts/dom
( #31910 )
...
* boxing is unnecessary
* boxing is unnecessary
* boxing is unnecessary
* boxing is unnecessary
* fix
* fix
* fix
* Update globalscope.rs
2024-03-31 20:21:52 +00:00
Ekta Siwach
9243e8cf71
clippy: Fix some issues issues in ports/servoshell
( #31939 )
...
* fix warnings in ports/servoshell
* fixed formatting
2024-03-31 20:03:37 +00:00
Rosemary Ajayi
bd287df0d4
fixed various clippy warnings ( #31954 )
2024-03-31 19:58:37 +00:00
komuhangi
c3360df918
Fixed some clippy warnings in components/script ( #31950 )
...
* Fixd some clippy warnings in components/script
* Update node.rs
Removed the ```# Safety ``` section.
* Update shadow_root.rs
Removed the ``` # Safety ``` section from components/script/layout_dom
* Updated fixes to some clippy warnings in components/script
* Revert "Updated fixes to some clippy warnings in components/script"
This reverts commit 2a37c3dec8
.
* Updated fixes to clippy warnings in components/script
* Revert "Updated fixes to clippy warnings in components/script"
This reverts commit 5780dc3a0a
.
* Revert "Revert "Updated fixes to some clippy warnings in components/script""
This reverts commit 98c411354a
.
* Revert "Updated fixes to some clippy warnings in components/script"
This reverts commit 2a37c3dec8
.
* Update shadow_root.rs (Ignore change)
* Update node.rs (Ignore changes)
* Updated fixes to clippy warnings in components/script
* Removed trailing white space in componets/script/layout_dom_root.rs
* Revert "Removed trailing white space in componets/script/layout_dom_root.rs"
This reverts commit 1976fd0405
.
* Revert "Updated fixes to clippy warnings in components/script"
This reverts commit 5c71b925fb
.
* Updated fixes to clippy warnings in components/script including review suggestions.
2024-03-31 19:51:16 +00:00
Servo WPT Sync
8c8d68e415
Update web-platform-tests to revision b'16f18d8135a80e89f2e910ca7548999fa2f7937e' ( #31951 )
2024-03-31 05:15:08 +00:00
Oriol Brufau
fff9ef87e6
Update Stylo to 2023-10-16 ( #31932 )
...
* Update Stylo to 2023-10-16
* Fixup for https://phabricator.services.mozilla.com/D185154
* Fixup for https://phabricator.services.mozilla.com/D188216
* Fixup for https://phabricator.services.mozilla.com/D185677
* Fixup for https://phabricator.services.mozilla.com/D188566
* Fixup for https://phabricator.services.mozilla.com/D188727
* Fixup for https://phabricator.services.mozilla.com/D189475
* Fixup for https://phabricator.services.mozilla.com/D189521
* Fixup for https://phabricator.services.mozilla.com/D188812
* Fixup for https://phabricator.services.mozilla.com/D189484
* Update test expectations
2024-03-30 13:30:13 +00:00
eri
a7ad92d9a3
clippy: Fix from_over_into
warnings ( #31946 )
2024-03-30 11:30:14 +00:00
eri
e3d6b66d5f
clippy: Fix match_like_matches
warnings ( #31947 )
...
* clippy: Fix `match_like_matches` warnings
* Fix link to custom element state in specification.
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-03-30 10:06:26 +00:00
Azhar Ismagulova
92d9081366
fix: remove unused imports in components/script ( #31943 )
2024-03-29 18:15:13 +00:00
Martin Robinson
b7d089930e
layout: Remove LayoutRPC and query layout via the Layout
trait ( #31937 )
...
Instead of the tricky `LayoutRPC` interface, query layout using the
`Layout` trait. This means that now queries will requires calling layout
and then running the query. During layout an enum is used to indicate
what kind of layout is necessary.
This change also removes the mutex-locked `rw_data` from both layout
threads. It's no longer necessary since layout runs synchronously. The
one downside here is that for resolved style queries, we now have to
create two StyleContexts. One for layout and one for the query itself.
The creation of this context should not be very expensive though.
`LayoutRPC` used to be necessary because layout used to run
asynchronously from script, but that no longer happens. With this
change, it becomes possible to safely pass nodes to layout from script
-- a cleanup that can happen in a followup change.
2024-03-29 16:25:47 +00:00
Oriol Brufau
07391e346b
Obey white-space: pre-wrap
when intrinsically sizing an IFC ( #31930 )
...
It was being treated like `pre`, but it allows wrapping lines.
2024-03-29 15:02:47 +00:00
Ekta Siwach
b0196ad373
clippy: Fix a variety of warnings in components/script/dom ( #31894 )
2024-03-29 14:43:10 +00:00
Oluwatobi Sofela
4a68243f65
clippy: Fix needless_lifetimes warnings ( #31933 )
2024-03-29 11:59:07 +00:00
Oluwatobi Sofela
a8976ff00a
clippy: Fix option_as_ref_deref warnings ( #31936 )
2024-03-29 11:52:45 +00:00
Oluwatobi Sofela
c3b6d40f90
clippy: Fix len_zero warnings ( #31935 )
2024-03-29 10:05:20 +00:00
Munish Mummadi
49c6b2668f
wpt: Enable tests in /css/css-inline/baseline-source/
( #31913 )
...
* updated-baseline-source
* updated-for-tests-with-fmt
2024-03-29 09:36:10 +00:00
Azhar Ismagulova
c4739675d8
clippy: Fix needless_borrow warnings in components/script ( #31928 )
2024-03-29 08:58:22 +00:00
dependabot[bot]
2d5a1cd02e
build(deps): bump tokio from 1.36.0 to 1.37.0 ( #31926 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
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-03-29 00:27:05 +00:00
Azhar Ismagulova
4d5bcdc057
fix: remove unused imports ( #31929 )
2024-03-28 23:20:20 +00:00
Samson
72628303fb
Update servo's testharnessreport ( #31920 )
...
* Update testharnessreport-servo.js with new props
* Update manifest
2024-03-28 17:33:04 +00:00
dependabot[bot]
32e82d0382
build(deps): bump memchr from 2.7.1 to 2.7.2 ( #31925 )
...
Bumps [memchr](https://github.com/BurntSushi/memchr ) from 2.7.1 to 2.7.2.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.7.1...2.7.2 )
---
updated-dependencies:
- dependency-name: memchr
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-03-28 17:16:32 +00:00
Ekta Siwach
7ce78f5a74
clippy: Fix some warnings in script/dom
( #31915 )
...
* fixed some clippy warnings
* resolved conflict
* updated texttracklist.rs
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-03-28 16:57:25 +00:00
Azhar Ismagulova
9303c90159
clippy: refactor struct literals to use shorthands ( #31924 )
2024-03-28 16:39:50 +00:00
Azhar Ismagulova
0728378424
clippy: remove unneeded return statements ( #31923 )
2024-03-28 16:17:47 +00:00
Oluwatobi Sofela
7349ce5b6a
clippy: Fix manual_map warnings ( #31922 )
2024-03-28 15:58:36 +00:00
Ekta Siwach
5d518ca8dc
layout: Use Au
in ResolvedMargins
and CollapsedMargin
( #31848 )
...
* change ResolvedMargins to use Au instead of length
* made suggested changes
removed whitespace changes
made suggested changes
* Update components/layout_2020/flexbox/layout.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Update components/layout_2020/flow/mod.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* fixed errors
fixed errors
fixed formatting
fixed errors
* modified changes
made suggested changes
* Update components/layout_2020/fragment_tree/fragment.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
updated components/layout_2020/fragment_tree/fragment.rs
* Update components/layout_2020/flow/mod.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Update components/layout_2020/flow/mod.rs
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* updated changes
updated changes
* unified all the suggested changes here
* fixed formatting
* reverted unnecessary changes
* fixed unnecessary warnings
---------
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-03-28 14:20:14 +00:00
Oluwatobi Sofela
66ad795014
clippy: Fix mem_replace_with_default warnings ( #31921 )
2024-03-28 13:10:37 +00:00
Rosemary Ajayi
7100465d1a
clippy: Fix various clippy warnings in components/scripts/dom/bindings
( #31901 )
...
* single-character string constant used as pattern
* singuse of with literal radix of 16
2024-03-28 11:49:36 +00:00
Rosemary Ajayi
18054d0737
clippy: Fix another set of clippy problems in components/script/dom
( #31909 )
...
* a reference to a reference
* length comparison to zero
* length comparison to zero
* length comparison to zero
2024-03-28 11:33:29 +00:00
Rosemary Ajayi
af358f51db
clippy: Fix another batch of clippy warnings in components/scripts
( #31912 )
...
* boolean can be simplified
* boolean can be simplified
* boolean can be simplified
2024-03-28 11:28:33 +00:00
Rosemary Ajayi
3ddb47e902
clippy: Fix more clippy warnings in components/scripts/dom
( #31914 )
...
* refrence to a reference
* refrence to a reference
2024-03-28 11:26:39 +00:00
Rosemary Ajayi
5aae820f6d
clippy: Fix a few clippy problems in components/scripts/dom
( #31905 )
...
* option_as_ref_deref
* fix
2024-03-28 11:24:39 +00:00
Ekta Siwach
1bc63801e7
fix redundant closures in component/script/dom ( #31917 )
...
* fixed unnecessary conversions
* resolved conflicts
* resolved conflicts
* fix redundant closures in component/script/dom
* resolved conflicts
* fixed formatting
2024-03-28 09:06:02 +00:00
Azhar Ismagulova
f183170786
clippy: Fix all errors in components/script
( #31911 )
...
* clippy: Fix errors in components/script/dom
* clippy: fixed remaining errors in components/script
2024-03-28 09:03:18 +00:00