Skip to content

script: Use UrlWithBlobClaim::for_url in navigator.rs - #49636

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
rishiiicreates:navigator-blob-claim
Nov 24, 2026
Merged

TimvdLippe merged 1 commit into
servo:mainfrom
rishiiicreates:navigator-blob-claim

Conversation

@rishiiicreates

@rishiiicreates rishiiicreates commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Blob URLs are checked earlier in send_beacon, so use UrlWithBlobClaim::for_url with expect instead of from_url_without_having_claimed_blob.

Part of #48890

Copilot AI balanced review requested due to automatic review settings November 5, 2026 15:33
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

jdm
jdm previously requested changes Nov 14, 2026
let request = RequestBuilder::new(
None,
UrlWithBlobClaim::from_url_without_having_claimed_blob(url.clone()),
ensure_blob_referenced_by_url_is_kept_alive(&global, url.clone()),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's use UrlWithBlibClaim::for_url with expect("blob URLs were checked earlier")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated to UrlWithBlobClaim::for_url(url.clone()).expect("blob URLs were checked earlier")!

@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 Nov 14, 2026
Blob URLs are checked earlier in send_beacon, so use
UrlWithBlobClaim::for_url with expect instead of
from_url_without_having_claimed_blob.

Part of servo#48890

Signed-off-by: Hrishikesh Yadav <[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 Nov 20, 2026
@rishiiicreates rishiiicreates changed the title script: Use ensure_blob_referenced_by_url_is_kept_alive in navigator.rs script: Use UrlWithBlobClaim::for_url in navigator.rs Nov 20, 2026

@TimvdLippe TimvdLippe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@TimvdLippe
TimvdLippe enabled auto-merge November 24, 2026 14:00
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 24, 2026
@TimvdLippe
TimvdLippe dismissed jdm’s stale review November 24, 2026 14:00

Comment has been addressed

@TimvdLippe
TimvdLippe added this pull request to the merge queue Nov 24, 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 Nov 24, 2026
Merged via the queue into servo:main with commit 5ea4c05 Nov 24, 2026
39 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 Nov 24, 2026
devin-ai-integration Bot pushed a commit to baigojahanzaib/servo that referenced this pull request Nov 28, 2026
Blob URLs are checked earlier in send_beacon, so use
UrlWithBlobClaim::for_url with expect instead of
from_url_without_having_claimed_blob.

Part of servo#48890

Signed-off-by: Hrishikesh Yadav <[email protected]>
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.

5 participants