Closed Bug 656421 Opened 13 years ago Closed 13 years ago

Scratchpad is caching sandboxes too aggressively

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 653108

People

(Reporter: rcampbell, Unassigned)

Details

Follow-up to bug 646524. We're caching previous executions even if a user switches tabs. I think we should be discarding the sandboxes (resetting context) if a user switches tabs in the current window and not just changing browser windows.

STR:

1. Open a scratchpad
2. type "window.location"
3. Print it (cmd/ctrl-t)
4. Switch tabs
5. Highlight "window.location" in the scratchpad and select Print from the context menu

Expected results:

Expect to see the new tab's location printed, instead, the original tab's location is displayed.
whups.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.