Closed
Bug 1307934
Opened 8 years ago
Closed 7 years ago
Add mochitests tests for scrolling
Categories
(DevTools :: Console, enhancement)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: linclark, Unassigned)
References
Details
Originally posted by:linclark
see https://github.com/devtools-html/gecko-dev/issues/337
In #327 we worked to the scrolling behavior. We should have a mochitest for that.
I believe this is how it should work:
1. If 100 logs are added and then the console is opened, it should be at the bottom.
2. If the is scrolled scrolls to the bottom and new messages come in, they should be scrolled into view.
3. If the user scrolls up and new messages come in, the scroll position should be maintained
4. If the user is scrolled up and runs a command, both the command (and the eventual evaluation result) should force scroll the user to the bottom
Reporter | ||
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: new-console
Updated•8 years ago
|
Comment 1•8 years ago
|
||
This test would be impacted by the work in Bug 1308216 , so I'm adding it as a blocker
Depends on: 1308216
Updated•8 years ago
|
Whiteboard: [new-console] → [console-html]
Updated•7 years ago
|
Priority: P2 → P3
Whiteboard: [console-html] → [reserve-console-html]
Updated•7 years ago
|
Priority: P3 → P4
Updated•7 years ago
|
Flags: qe-verify-
Priority: P4 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Comment 2•7 years ago
|
||
Seems to be what we do in https://searchfox.org/mozilla-central/source/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_scroll.js , introduced by Bug 1402237
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Priority: P2 → --
Whiteboard: [newconsole-mvp]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•