Skip to content

script: Pass &mut JSContext in FetchResponseListener::process_response_eof#42729

Merged
kkoyung merged 2 commits intoservo:mainfrom
sagudev:ftr
Feb 20, 2026
Merged

script: Pass &mut JSContext in FetchResponseListener::process_response_eof#42729
kkoyung merged 2 commits intoservo:mainfrom
sagudev:ftr

Conversation

@sagudev
Copy link
Copy Markdown
Member

@sagudev sagudev commented Feb 20, 2026

process_response_eof is the only method that needs cx at least right now. This PR removes one temp_cx and introduces one, removing that one will is hard (needs VirtualMethods and a lot of work)

Testing: Just refactor
Part of #40600

…onse_eof`

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
f
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
@sagudev sagudev requested a review from gterzian as a code owner February 20, 2026 14:24
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 20, 2026
@sagudev sagudev changed the title script: Pass &mut JSContext in FetchResponseListener::process_response_eof script: Pass &mut JSContext in FetchResponseListener::process_response_eof Feb 20, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 20, 2026
@kkoyung kkoyung added this pull request to the merge queue Feb 20, 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 Feb 20, 2026
Merged via the queue into servo:main with commit 9f1e5d0 Feb 20, 2026
34 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 Feb 20, 2026
simonwuelker pushed a commit to simonwuelker/servo that referenced this pull request Feb 23, 2026
…ponse_eof` (servo#42729)

`process_response_eof` is the only method that needs cx at least right
now. This PR removes one temp_cx and introduces one, removing that one
will is hard (needs VirtualMethods and a lot of work)

Testing: Just refactor
Part of servo#40600

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
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.

3 participants