atbrakhi · GitHub

@atbrakhi

Currently Environment Objects are cached in `createEnvironmentActor`.
That meant DevTools could keep showing an old value for a variable
after execution had moved on to a different value.
In this change, we keep caching the environment actor name, but make
sure the current state is being reflected by refreshing the environment
actor data each time.
This keeps the actor id stable and is also closer to Firefox behavior.
Signed-off-by: atbrakhi <atbrakhi@igalia.com>

@atbrakhi

@atbrakhi atbrakhi changed the title devtools: Do not cache environment actors devtools: Do not cache environment actor values

May 6, 2026

@atbrakhi

atbrakhi marked this pull request as ready for review

May 6, 2026 15:32

@atbrakhi

eerii

Co-authored-by: eerii <eri@igalia.com>
Signed-off-by: atbrakhi <atbrakhi@igalia.com>

@eerii

@eerii

@eerii eerii mentioned this pull request

May 12, 2026

Open

Read the original on github.com ↗