Closed
Bug 1217880
Opened 9 years ago
Closed 9 years ago
Console input field doesn't scroll when large input is pasted in
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox44 fixed)
RESOLVED
FIXED
Firefox 44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
(Blocks 1 open bug)
Details
(Whiteboard: [polish-backlog][difficulty=easy])
Attachments
(1 file)
STR:
Open console (make the toolbox relatively small)
Paste this in:
// This is for workers so autocomplete acts the same
if (!this.window) {
window = this;
}
window.foobarObject = Object.create(null);
window.foobarObject.foo = 1;
window.foobarObject.foobar = 2;
window.foobarObject.foobaz = 3;
window.foobarObject.omg = 4;
window.foobarObject.omgfoo = 5;
window.foobarObject.strfoo = "foobarz";
window.foobarObject.omgstr = "foobarz" +
(new Array(20000)).join("abb");
window.largeObject1 = Object.create(null);
for (let i = 0; i < 100001; i++) {
window.largeObject1['a' + i] = i;
}
window.largeObject2 = Object.create(null);
for (let i = 0; i < 3000; i++) {
window.largeObject2['a' + i] = i;
}
Expected: You can scroll the input field
Actual: You can't scroll the input field
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1217880 - Set max-height on console input so it can overflow and be scrolled;r=vporof
Attachment #8678191 -
Flags: review?(vporof)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
This can also be easily triggerd by pressing Shift+Enter a bunch of times in the input field
Comment 3•9 years ago
|
||
Comment on attachment 8678191 [details]
MozReview Request: Bug 1217880 - Set max-height on console input so it can overflow and be scrolled;r=vporof
https://reviewboard.mozilla.org/r/23123/#review20713
Attachment #8678191 -
Flags: review?(vporof) → review+
Comment 5•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•