Bug: Intermittent browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js | Toolbar should not become visible when loading slow site -
Status: RESOLVED
Priority: P3
Resolution: FIXED
Created: 2020-11-03 01:30:30+00:00
Resolved: 2021-02-15 06:20:05+00:00

**Filed by:** btara [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=320519283&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/X-kkdRaaS9iliS-VwFOnVQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/X-kkdRaaS9iliS-VwFOnVQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2020-11-02T22:20:11.945Z] 22:20:11     INFO - TEST-START | browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js
[task 2020-11-02T22:20:12.236Z] 22:20:12     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x11c1ed000 == 8 [pid = 2218] [id = 7]
[task 2020-11-02T22:20:12.236Z] 22:20:12     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (0x14967b740) [pid = 2218] [serial = 15] [outer = 0x0]
[task 2020-11-02T22:20:12.236Z] 22:20:12     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (0x11c1ef400) [pid = 2218] [serial = 16] [outer = 0x14967b740]
[task 2020-11-02T22:20:12.346Z] 22:20:12     INFO - GECKO(2218) | [Parent 2218, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4282
[task 2020-11-02T22:20:13.257Z] 22:20:13     INFO - TEST-INFO | started process screencapture
[task 2020-11-02T22:20:13.394Z] 22:20:13     INFO - TEST-INFO | screencapture: exit 0
[task 2020-11-02T22:20:13.394Z] 22:20:13     INFO - Buffered messages logged at 22:20:11
[task 2020-11-02T22:20:13.394Z] 22:20:13     INFO - Entering test bound bookmarks_toolbar_shown_on_newtab
[task 2020-11-02T22:20:13.394Z] 22:20:13     INFO - Testing with the feature enabled and newtab enabled
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - Buffered messages finished
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js | Toolbar should not become visible when loading slow site - 
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - Stack trace:
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - chrome://mochitests/content/browser/browser/base/content/test/about/head.js:waitForBookmarksToolbarVisibilityWithExitConditions:272
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js | The bookmarks toolbar should not become visible before the site is loaded - 
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - Stack trace:
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js:bookmarks_toolbar_shown_on_newtab:48
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js | Toolbar hidden on slow site - 
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - Stack trace:
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2020-11-02T22:20:13.395Z] 22:20:13     INFO - chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js:bookmarks_toolbar_shown_on_newtab:52
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js | Uncaught exception - at resource://testing-common/BrowserTestUtils.jsm:1099 - TypeError: can't access property "browsers", win.gBrowser is undefined
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - Stack trace:
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - windowClosed/finalMsgsPromise<@resource://testing-common/BrowserTestUtils.jsm:1099:26
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - windowClosed@resource://testing-common/BrowserTestUtils.jsm:1098:30
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - closeWindow@resource://testing-common/BrowserTestUtils.jsm:1076:42
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - bookmarks_toolbar_shown_on_newtab@chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js:54:30
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - Leaving test bound bookmarks_toolbar_shown_on_newtab
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x152de0800 == 9 [pid = 2218] [id = 8]
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (0x14e9dec80) [pid = 2218] [serial = 17] [outer = 0x0]
[task 2020-11-02T22:20:13.396Z] 22:20:13     INFO - GECKO(2218) | [Parent 2218, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:347
[task 2020-11-02T22:20:13.612Z] 22:20:13     INFO - GECKO(2218) | [Child 2220: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x109e0b000 == 2 [pid = 2220] [id = 1]
[task 2020-11-02T22:20:13.612Z] 22:20:13     INFO - GECKO(2218) | [Child 2220: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x11cd02580) [pid = 2220] [serial = 5] [outer = 0x0]
[task 2020-11-02T22:20:13.613Z] 22:20:13     INFO - GECKO(2218) | [Child 2220: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x109e0c400) [pid = 2220] [serial = 6] [outer = 0x11cd02580]
[task 2020-11-02T22:20:14.396Z] 22:20:14     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (0x1091cc000) [pid = 2218] [serial = 18] [outer = 0x14e9dec80]
[task 2020-11-02T22:20:14.533Z] 22:20:14     INFO - GECKO(2218) | [Parent 2218, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:36
[task 2020-11-02T22:20:14.716Z] 22:20:14     INFO - Console message: OpenGL compositor Initialized Succesfully.
[task 2020-11-02T22:20:14.716Z] 22:20:14     INFO - Version: 2.1 INTEL-12.9.22
[task 2020-11-02T22:20:14.716Z] 22:20:14     INFO - Vendor: Intel Inc.
[task 2020-11-02T22:20:14.716Z] 22:20:14     INFO - Renderer: Intel Iris OpenGL Engine
[task 2020-11-02T22:20:14.716Z] 22:20:14     INFO - FBO Texture Target: TEXTURE_2D
[task 2020-11-02T22:20:15.079Z] 22:20:15     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x11c1ed400 == 8 [pid = 2218] [id = 4] [url = about:blank]
[task 2020-11-02T22:20:15.079Z] 22:20:15     INFO - GECKO(2218) | [Parent 2218: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x11c1ec400 == 7 [pid = 2218] [id = 5] [url = about:blank]
[task 2020-11-02T22:20:15.494Z] 22:20:15     INFO - GECKO(2218) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-11-02T22:20:15.494Z] 22:20:15     INFO - GECKO(2218) | MEMORY STAT | vsize 7545MB | residentFast 291MB | heapAllocated 104MB
[task 2020-11-02T22:20:15.494Z] 22:20:15     INFO - TEST-OK | browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbarNewWindow.js | took 3544ms```