Closed Bug 1576563 Opened 2 months ago Closed 2 months ago

Allow to only evaluate selected code in editor mode

Categories

(DevTools :: Console, task, P2)

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This should cover one of the use case of Scratchpad.

This is something Scratchpad allowed and that people
told me they were relying on. With Scratchpad being
deprecated, it makes sense to implement it in the
WebConsole as it's quite easy to do so.
A test is added to ensure this works as expected.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0690321bae18
Evaluate selected text if a selection exists in console input. r=Honza.
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Blocks: 1576949
Blocks: 1577115
You need to log in before you can comment on or make changes to this bug.