Closed Bug 1516572 Opened 7 years ago Closed 6 years ago

Intermittent devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom -

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: aiakab [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=218993160&repo=autoland https://queue.taskcluster.net/v1/task/QSRgNL_RTcWKonKpKnLrpA/runs/0/artifacts/public/logs/live_backing.log 11:37:02 INFO - TEST-START | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js 11:37:02 INFO - GECKO(2105) | ++DOCSHELL 0x116c21800 == 2 [pid = 2111] [id = {0fe0255c-8012-8440-8b9a-541eb4ac43d5}] 11:37:02 INFO - GECKO(2105) | ++DOMWINDOW == 11 (0x116c8cc00) [pid = 2111] [serial = 492] [outer = 0x0] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 12 (0x125f06c00) [pid = 2111] [serial = 493] [outer = 0x116c8cc00] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 13 (0x125fcb800) [pid = 2111] [serial = 494] [outer = 0x116c8cc00] 11:37:03 INFO - GECKO(2105) | --DOMWINDOW == 4 (0x1145ee800) [pid = 2107] [serial = 424] [outer = 0x0] [url = about:blank] 11:37:03 INFO - GECKO(2105) | --DOCSHELL 0x11b840000 == 1 [pid = 2107] [id = {4ea02e9e-fbd1-654b-a19d-f4eedefa006c}] 11:37:03 INFO - GECKO(2105) | ++DOCSHELL 0x11adba800 == 8 [pid = 2105] [id = {e7708d1c-d85a-da43-8666-db1c54deeca7}] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 23 (0x11628b000) [pid = 2105] [serial = 1703] [outer = 0x0] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 24 (0x11c3ea800) [pid = 2105] [serial = 1704] [outer = 0x11628b000] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 25 (0x128c3e400) [pid = 2105] [serial = 1705] [outer = 0x11628b000] 11:37:03 INFO - GECKO(2105) | ++DOCSHELL 0x11620e000 == 9 [pid = 2105] [id = {bdb01098-6694-b74c-9ba1-18c3715a7f4d}] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 26 (0x12af4bc00) [pid = 2105] [serial = 1706] [outer = 0x0] 11:37:03 INFO - GECKO(2105) | ++DOMWINDOW == 27 (0x12b279800) [pid = 2105] [serial = 1707] [outer = 0x12af4bc00] 11:37:05 INFO - GECKO(2105) | --DOMWINDOW == 12 (0x1285bb400) [pid = 2111] [serial = 479] [outer = 0x0] [url = data:text/html,<meta charset=utf8>Test reverse search] 11:37:05 INFO - GECKO(2105) | --DOMWINDOW == 11 (0x125fd8800) [pid = 2111] [serial = 488] [outer = 0x0] [url = about:blank] 11:37:05 INFO - GECKO(2105) | --DOMWINDOW == 10 (0x1285c0c00) [pid = 2111] [serial = 486] [outer = 0x0] [url = http://example.org/browser/devtools/client/webconsole/test/mochitest/test-console.html] 11:37:05 INFO - GECKO(2105) | --DOMWINDOW == 9 (0x1285bec00) [pid = 2111] [serial = 482] [outer = 0x0] [url = data:text/html,<meta charset=utf8>Test reverse search toggle] 11:37:05 INFO - GECKO(2105) | --DOMWINDOW == 8 (0x1285bdc00) [pid = 2111] [serial = 485] [outer = 0x0] [url = http://example.com/browser/devtools/client/webconsole/test/mochitest/test-console.html] 11:37:05 INFO - GECKO(2105) | --DOMWINDOW == 7 (0x1285bf000) [pid = 2111] [serial = 484] [outer = 0x0] [url = about:blank] 11:37:07 INFO - TEST-INFO | started process screencapture 11:37:07 INFO - TEST-INFO | screencapture: exit 0 11:37:07 INFO - Buffered messages logged at 11:37:02 11:37:07 INFO - Entering test bound 11:37:07 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,<p>Web Console test for scroll.</p> 11:37:07 INFO - <script> 11:37:07 INFO - var a = () => b(); 11:37:07 INFO - var b = () => c(); 11:37:07 INFO - var c = () => console.trace("trace in C"); 11:37:07 INFO - 11:37:07 INFO - for (let i = 0; i < 100; i++) { 11:37:07 INFO - if (i % 10 === 0) { 11:37:07 INFO - c(); 11:37:07 INFO - } 11:37:07 INFO - console.log("init-" + i); 11:37:07 INFO - } 11:37:07 INFO - </script> 11:37:07 INFO - 11:37:07 INFO - Buffered messages logged at 11:37:03 11:37:07 INFO - Tab added and finished loading 11:37:07 INFO - Opening the toolbox 11:37:07 INFO - Buffered messages logged at 11:37:06 11:37:07 INFO - Toolbox opened and focused 11:37:07 INFO - Console should be scrolled to bottom on initial load from page logs 11:37:07 INFO - Buffered messages logged at 11:37:07 11:37:07 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | There is a vertical overflow - 11:37:07 INFO - Buffered messages finished 11:37:07 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:07 INFO - Stack trace: 11:37:07 INFO - chrome://mochikit/content/browser-test.js:test_ok:1305 11:37:07 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js:null:31 11:37:07 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106 11:37:07 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097 11:37:07 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995 11:37:07 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803 11:37:07 INFO - Wait until all stacktraces are rendered 11:37:07 INFO - GECKO(2105) | --DOMWINDOW == 5 (0x123205400) [pid = 2109] [serial = 394] [outer = 0x0] [url = about:blank] 11:37:07 INFO - GECKO(2105) | --DOMWINDOW == 3 (0x11b753800) [pid = 2107] [serial = 428] [outer = 0x0] [url = about:blank] 11:37:07 INFO - GECKO(2105) | --DOMWINDOW == 2 (0x11b756800) [pid = 2107] [serial = 426] [outer = 0x0] [url = about:blank] 11:37:07 INFO - GECKO(2105) | --DOMWINDOW == 4 (0x113fdb800) [pid = 2109] [serial = 393] [outer = 0x0] [url = about:blank] 11:37:07 INFO - GECKO(2105) | --DOCSHELL 0x113f1f000 == 1 [pid = 2109] [id = {6208ea9e-eb0c-1845-b412-6cbb9223344c}] 11:37:08 INFO - Not taking screenshot here: see the one that was previously logged 11:37:08 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:08 INFO - Stack trace: 11:37:08 INFO - chrome://mochikit/content/browser-test.js:test_ok:1305 11:37:08 INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js:null:35 11:37:08 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106 11:37:08 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097 11:37:08 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995 11:37:08 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803 11:37:08 INFO - Refreshing tab. 11:37:08 INFO - GECKO(2105) | ++DOMWINDOW == 8 (0x125f08000) [pid = 2111] [serial = 495] [outer = 0x116c8cc00] 11:37:08 INFO - Tab finished refreshing. 11:37:08 INFO - Console should be scrolled to bottom after refresh from page logs 11:37:09 INFO - GECKO(2105) | --DOCSHELL 0x126907800 == 1 [pid = 2111] [id = {7b703924-8f37-6642-8019-50116d7803d2}] 11:37:09 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | There is a vertical overflow - 11:37:09 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:09 INFO - Wait until all stacktraces are rendered 11:37:11 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:11 INFO - Scroll up 11:37:11 INFO - Add a console.trace message to check that the scroll isn't impacted 11:37:11 INFO - Matched a message with text: "trace in C", all messages received. 11:37:11 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | There is a vertical overflow - 11:37:11 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console stayed scrolled to the top - 11:37:11 INFO - Wait until the stacktrace is rendered 11:37:11 INFO - GECKO(2105) | --DOMWINDOW == 3 (0x123208c00) [pid = 2109] [serial = 395] [outer = 0x0] [url = about:blank] 11:37:11 INFO - GECKO(2105) | --DOMWINDOW == 2 (0x123206c00) [pid = 2109] [serial = 397] [outer = 0x0] [url = about:blank] 11:37:11 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console stayed scrolled to the top - 11:37:11 INFO - Evaluate a command to check that the console scrolls to the bottom 11:37:12 INFO - Matched a message with text: "42", all messages received. 11:37:12 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | There is a vertical overflow - 11:37:12 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:12 INFO - Add a message to check that the console do scroll since we're at the bottom 11:37:12 INFO - Matched a message with text: "scroll", all messages received. 11:37:12 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | There is a vertical overflow - 11:37:12 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:12 INFO - Evaluate an Error object to check that the console scrolls to the bottom 11:37:13 INFO - Matched a message with text: "myErrorObject", all messages received. 11:37:13 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:13 INFO - Wait until the stacktrace is rendered and check the console is scrolled 11:37:13 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:13 INFO - Add a console.trace message to check that the console stays scrolled to bottom 11:37:13 INFO - Matched a message with text: "trace in C", all messages received. 11:37:13 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | There is a vertical overflow - 11:37:13 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:13 INFO - Wait until the stacktrace is rendered 11:37:13 INFO - TEST-PASS | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | The console is scrolled to the bottom - 11:37:13 INFO - Leaving test bound 11:37:13 INFO - GECKO(2105) | ++DOMWINDOW == 28 (0x12c4eac00) [pid = 2105] [serial = 1708] [outer = 0x11628b000] 11:37:15 INFO - GECKO(2105) | --DOMWINDOW == 7 (0x125fd2000) [pid = 2111] [serial = 490] [outer = 0x0] [url = data:text/html;charset=utf8,<script>'use strict'; (Object.freeze({name: 'Elsa', score: 157})).score = 0;</script>] 11:37:15 INFO - GECKO(2105) | --DOMWINDOW == 6 (0x1285c4400) [pid = 2111] [serial = 489] [outer = 0x0] [url = data:text/html;charset=utf8,errordoc tests] 11:37:15 INFO - GECKO(2105) | --DOMWINDOW == 5 (0x125f06c00) [pid = 2111] [serial = 493] [outer = 0x0] [url = about:blank] 11:37:16 INFO - GECKO(2105) | --DOCSHELL 0x1279a3000 == 8 [pid = 2105] [id = {803f2fbe-e5d0-2d45-9b5d-816342d2dce7}] 11:37:16 INFO - GECKO(2105) | --DOCSHELL 0x11adb9000 == 7 [pid = 2105] [id = {da078514-a8bf-7444-b9c2-3b5ee89152b8}] 11:37:16 INFO - GECKO(2105) | --DOMWINDOW == 4 (0x125fccc00) [pid = 2111] [serial = 487] [outer = 0x0] [url = data:text/html;charset=utf8,<script>function a() { return; 1 + 1; };</script>] 11:37:16 INFO - Removing tab. 11:37:16 INFO - Waiting for event: 'TabClose' on [object XULElement]. 11:37:16 INFO - Got event: 'TabClose' on [object XULElement]. 11:37:16 INFO - Tab removed and finished closing 11:37:16 INFO - GECKO(2105) | --DOMWINDOW == 27 (0x11b8a9800) [pid = 2105] [serial = 1691] [outer = 0x0] [url = about:blank] 11:37:16 INFO - GECKO(2105) | --DOMWINDOW == 26 (0x11eea5c00) [pid = 2105] [serial = 1694] [outer = 0x0] [url = chrome://devtools/content/webconsole/index.html] 11:37:16 INFO - GECKO(2105) | --DOCSHELL 0x11620e000 == 6 [pid = 2105] [id = {bdb01098-6694-b74c-9ba1-18c3715a7f4d}] 11:37:16 INFO - GECKO(2105) | --DOCSHELL 0x11adba800 == 5 [pid = 2105] [id = {e7708d1c-d85a-da43-8666-db1c54deeca7}] 11:37:16 INFO - GECKO(2105) | --DOMWINDOW == 25 (0x11ef75c00) [pid = 2105] [serial = 1700] [outer = 0x0] [url = chrome://devtools/content/webconsole/index.html] 11:37:16 INFO - GECKO(2105) | --DOMWINDOW == 24 (0x11b8a8800) [pid = 2105] [serial = 1697] [outer = 0x0] [url = about:blank] 11:37:16 INFO - GECKO(2105) | MEMORY STAT | vsize 5578MB | residentFast 735MB | heapAllocated 183MB 11:37:16 INFO - TEST-OK | devtools/client/webconsole/test/mochitest/browser_webconsole_scroll.js | took 13849ms 11:37:16 INFO - GECKO(2105) | ++DOCSHELL 0x114522800 == 2 [pid = 2107] [id = {ebbaa019-67b7-534b-937e-484ad6454b95}] 11:37:16 INFO - GECKO(2105) | ++DOMWINDOW == 3 (0x1145e0800) [pid = 2107] [serial = 430] [outer = 0x0] 11:37:16 INFO - GECKO(2105) | ++DOMWINDOW == 4 (0x11b753800) [pid = 2107] [serial = 431] [outer = 0x1145e0800] 11:37:16 INFO - GECKO(2105) | ++DOMWINDOW == 5 (0x11b755400) [pid = 2107] [serial = 432] [outer = 0x1145e0800] 11:37:16 INFO - checking window state
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.