Skip to content

change #[allow]s to #[expect]s#41635

Merged
TimvdLippe merged 3 commits intoservo:mainfrom
TimurBora:issue-40383
Jan 3, 2026
Merged

change #[allow]s to #[expect]s#41635
TimvdLippe merged 3 commits intoservo:mainfrom
TimurBora:issue-40383

Conversation

@TimurBora
Copy link
Copy Markdown
Contributor

@TimurBora TimurBora commented Jan 2, 2026

Changed most #[allow]s to #[expect]s, mainly for clippy::too_many_arguments

Removed unfulfilled expectations

This is my first opensource contribution, so please let me know if anything should
be done differently.

Testing: Refactor
Part of: #40383

@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Jan 2, 2026
Copy link
Copy Markdown
Member

@mrobinson mrobinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any new compilation warnings when you build with these changes?

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 2, 2026
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-rebase There are merge conflict errors. labels Jan 2, 2026
@TimurBora TimurBora force-pushed the issue-40383 branch 2 times, most recently from 2221ca6 to 68af9d6 Compare January 2, 2026 18:46
TimvdLippe and others added 2 commits January 2, 2026 19:55
Instead of the creation URL of the containing global,
it should instead use the URL of the current worker.

Despite the referrer specification stating that we
should use the creation URL, instead browsers use
the current URL. A new WPT test is added to cover that
which we currently fail because of incorrect
serialization of query parameters of a URL. But the
actual redirect and all work now.

Signed-off-by: Tim van der Lippe <[email protected]>
Signed-off-by: TimurBora <[email protected]>
Changed almost allow to expects and removed the unfulfilled
expectations, clippy::too_many_arguments mainly

Testing: Refactor
Part of: servo#40838

Signed-off-by: TimurBora <[email protected]>
@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 2, 2026
Changed almost allow to expects and removed the unfulfilled
expectations, clippy::too_many_arguments mainly

Testing: Refactor
Part of: servo#40838

Signed-off-by: TimurBora <[email protected]>
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jan 2, 2026
Copy link
Copy Markdown
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks for the cleanup!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 3, 2026
@TimvdLippe TimvdLippe enabled auto-merge January 3, 2026 09:05
@TimvdLippe TimvdLippe dismissed mrobinson’s stale review January 3, 2026 10:54

Comments have been addressed

@TimvdLippe TimvdLippe added this pull request to the merge queue Jan 3, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 3, 2026
Merged via the queue into servo:main with commit d808cc1 Jan 3, 2026
32 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants