Closed
Bug 1576949
Opened 5 years ago
Closed 5 years ago
Clicking the Run button with selected text in the input should only evaluate the selected text
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(firefox70 verified)
VERIFIED
FIXED
Firefox 70
Tracking | Status | |
---|---|---|
firefox70 | --- | verified |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
Steps to reproduce
- Open the webconsole
- Switch to editor mode
- In the input, paste
var x = 10; x;
x = 20; x;
- Select the first line in the input (
var x = 10; x;
) - Hit the
Run
button
Expected results
Only the selected line is evaluated
Actual results
The whole input is evaluated
Assignee | ||
Comment 1•5 years ago
|
||
This is done by modifying the evaluateExpression action,
where we retrieve the selection of the full input.
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c9a04ff4a68a Clicking the Editor Run button when input has text selection only evaluate selected text. r=Honza.
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Updated•5 years ago
|
Assignee: nobody → nchevobbe
Comment 4•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Flags: qe-verify+
Comment 5•5 years ago
|
||
Confirmed issue with 70.0a1 (2019-08-27) on Windows 10.
Verified fix with 70.0b7 on Windows 10, macOS 10.13, Ubuntu 16.04.
You need to log in
before you can comment on or make changes to this bug.
Description
•