Skip to content

LibWeb: Align with parts of the Fetch specification steps#5771

Merged
AtkinsSJ merged 4 commits into
LadybirdBrowser:masterfrom
kennethmyhra:sync-some-fetch-spec-changes
Aug 8, 2025
Merged

LibWeb: Align with parts of the Fetch specification steps#5771
AtkinsSJ merged 4 commits into
LadybirdBrowser:masterfrom
kennethmyhra:sync-some-fetch-spec-changes

Conversation

@kennethmyhra

Copy link
Copy Markdown
Contributor

This pulls in a few changes from the Fetch spec:

LibWeb: Define stream variable before using it:

LibWeb: Replace request's "window" with "traversable for user prompts"

LibWeb: Implement AO populate request from client
LibWeb: Align Fetching chapter's "To fetch" with latest spec changes

@AtkinsSJ AtkinsSJ left a comment

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.

Thanks! Just a couple of nits.

Comment thread Libraries/LibWeb/Fetch/Fetching/Fetching.cpp Outdated
Comment thread Libraries/LibWeb/ContentSecurityPolicy/Violation.cpp
This is an editoral change from the fetch spec. Since we already defined
the stream before it being used this only re-numbers the spec steps.

It also corrects a minor typo ('followings' to 'following') which was
corrected in the same editoral spec change.
User prompts are not tied to specific Windows or the client's Window.
They are tied to a traversable navigable (browser tab).
@kennethmyhra
kennethmyhra force-pushed the sync-some-fetch-spec-changes branch from d0a559b to 431b0f9 Compare August 8, 2025 09:04
@kennethmyhra
kennethmyhra force-pushed the sync-some-fetch-spec-changes branch from 431b0f9 to 169228e Compare August 8, 2025 09:06
@kennethmyhra

Copy link
Copy Markdown
Contributor Author

Thanks, Sam, and done!

@AtkinsSJ
AtkinsSJ enabled auto-merge (rebase) August 8, 2025 09:15
@AtkinsSJ
AtkinsSJ merged commit 1b35059 into LadybirdBrowser:master Aug 8, 2025
8 checks passed
@kennethmyhra
kennethmyhra deleted the sync-some-fetch-spec-changes branch August 8, 2025 12:03
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.

2 participants