Closed Bug 1307934 Opened 8 years ago Closed 7 years ago

Add mochitests tests for scrolling

Categories

(DevTools :: Console, enhancement)

enhancement
Not set
normal

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
Priority: -- → P2
Whiteboard: new-console
Flags: qe-verify-
Whiteboard: new-console → [new-console]
This test would be impacted by the work in Bug 1308216 , so I'm adding it as a blocker
Depends on: 1308216
Whiteboard: [new-console] → [console-html]
Priority: P2 → P3
Whiteboard: [console-html] → [reserve-console-html]
Priority: P3 → P4
Flags: qe-verify-
Priority: P4 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Priority: P2 → --
Whiteboard: [newconsole-mvp]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.