Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-focus-expected.txt

Issue 2840663002: DevTools: clicking in console messages should not jump to bottom (Closed)
Patch Set: restore scroll pos, add test for old regression Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-focus-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-focus-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-focus-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fea381223bc32e2180600398055ab2fd595a6bcc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-focus-expected.txt
@@ -0,0 +1,91 @@
+CONSOLE MESSAGE: line 9: [object Object]
+CONSOLE MESSAGE: line 11: 0
+CONSOLE MESSAGE: line 11: 1
+CONSOLE MESSAGE: line 11: 2
+CONSOLE MESSAGE: line 11: 3
+CONSOLE MESSAGE: line 11: 4
+CONSOLE MESSAGE: line 11: 5
+CONSOLE MESSAGE: line 11: 6
+CONSOLE MESSAGE: line 11: 7
+CONSOLE MESSAGE: line 11: 8
+CONSOLE MESSAGE: line 11: 9
+CONSOLE MESSAGE: line 11: 10
+CONSOLE MESSAGE: line 11: 11
+CONSOLE MESSAGE: line 11: 12
+CONSOLE MESSAGE: line 11: 13
+CONSOLE MESSAGE: line 11: 14
+CONSOLE MESSAGE: line 11: 15
+CONSOLE MESSAGE: line 11: 16
+CONSOLE MESSAGE: line 11: 17
+CONSOLE MESSAGE: line 11: 18
+CONSOLE MESSAGE: line 11: 19
+CONSOLE MESSAGE: line 11: 20
+CONSOLE MESSAGE: line 11: 21
+CONSOLE MESSAGE: line 11: 22
+CONSOLE MESSAGE: line 11: 23
+CONSOLE MESSAGE: line 11: 24
+CONSOLE MESSAGE: line 11: 25
+CONSOLE MESSAGE: line 11: 26
+CONSOLE MESSAGE: line 11: 27
+CONSOLE MESSAGE: line 11: 28
+CONSOLE MESSAGE: line 11: 29
+CONSOLE MESSAGE: line 11: 30
+CONSOLE MESSAGE: line 11: 31
+CONSOLE MESSAGE: line 11: 32
+CONSOLE MESSAGE: line 11: 33
+CONSOLE MESSAGE: line 11: 34
+CONSOLE MESSAGE: line 11: 35
+CONSOLE MESSAGE: line 11: 36
+CONSOLE MESSAGE: line 11: 37
+CONSOLE MESSAGE: line 11: 38
+CONSOLE MESSAGE: line 11: 39
+Tests that interacting with the console gives appropriate focus.
+
+Message count: 22
+
+Running: verifyViewportIsTallEnough
+Viewport contains 13 messages
+
+Running: testFocusingConsoleShouldNotJump
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 0
+Focused element: TEXTAREA
+Viewport scrollTop: 0
+
+Running: testExpandingObjectShouldNotJump
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 0
+Clicking to expand object
+Focused element: TEXTAREA
+Viewport scrollTop: 0
+
+Running: testClickingWithSelectedTextShouldNotJump
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 0
+Clicking to expand object
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 0
+Scrolling to bottom
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 245
+
+Running: testClickToFocusAndLoadConsoleHistoryShouldJump
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 0
+Clicking container
+Focused element: TEXTAREA
+Viewport scrollTop: 0
+Sending up key
+Focused element: TEXTAREA
+Viewport scrollTop: 681
+Selection in prompt: {"startLine":0,"startColumn":17,"endLine":0,"endColumn":17}
+
+Running: testClickingBelowPromptShouldMoveCursor
+Clearing console
+Focused element: BODY, id: -blink-dev-tools, class: undocked platform-linux
+Viewport scrollTop: 0
+Selection before: {"startLine":0,"startColumn":1,"endLine":0,"endColumn":1}
+Selection after: {"startLine":0,"startColumn":6,"endLine":0,"endColumn":6}
+Focused element: TEXTAREA
+Viewport scrollTop: 0
+

Powered by Google App Engine
This is Rietveld 408576698