Closed Bug 1619302 Opened 4 years ago Closed 4 years ago

Switching context should update instant evaluation result

Categories

(DevTools :: Console, task, P1)

task

Tracking

(Fission Milestone:M6, firefox76 fixed)

RESOLVED FIXED
Firefox 76
Fission Milestone M6
Tracking Status
firefox76 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m2-mvp)

Attachments

(1 file)

Steps to reproduce

  1. Open the console in the browser toolbox, with the context-switching pref turned on
  2. Type globalThis
  3. Instant evaluation result should be Window about:newtab
  4. Click on the context selector button and select a content process

Expected results

The instant evaluation displays Sandbox

Actual results

The instant evaluation isn't updated, and is still showing Window about:newtab.


Selecting a different context (from this menu, but also from any other places that will impact the context we're going to evaluate to) should update the instant evaluation result.

Tracking Fission DevTools bugs for Fission Nightly (M6) milestone

Fission Milestone: --- → M6
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Priority: P2 → P1

When a thread is selected, either via the context list,
or through the toolbox actions, we dispatch a new action
that will do another instant evaluation so any results
we get matches the selected context.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c76a8a4656fd
Update instant evaluation result when a new thread is selected. r=jlast.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
QA Whiteboard: [qa-76b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: