Bug: Intermittent TV browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js | uncaught exception - ReferenceError: PlacesUIUtils is not defined at onunload@chrome://browser/content/places/bookmarksSidebar.xhtml:1:1
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-06-30 02:56:40+00:00
Resolved: 2020-11-24 17:04:01+00:00

**Filed by:** ncsoregi [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=307890983&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OLUpbWqtTByr84TWRX0BXQ/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/OLUpbWqtTByr84TWRX0BXQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

>[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - TEST-PASS | browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js | Bookmarks Toolbar is enabled - true == true - 
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - Leaving test bound test_enable_toolbar
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - Entering test bound test_enable_sidebar
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - Buffered messages logged at 18:34:38
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - TEST-PASS | browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js | Bookmarks Sidebar is enabled - true == true - 
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - Leaving test bound test_enable_sidebar
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - Buffered messages finished
[task 2020-06-29T18:34:38.170Z] 18:34:38     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js | uncaught exception - ReferenceError: PlacesUIUtils is not defined at onunload@chrome://browser/content/places/bookmarksSidebar.xhtml:1:1
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - hide@chrome://browser/content/browser-sidebar.js:553:27
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - @chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js:13:13
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - nextTest@chrome://mochikit/content/browser-test.js:550:35
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1464:25
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - run@chrome://mochikit/content/browser-test.js:1379:9
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - 
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - Stack trace:
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2054
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - chrome://browser/content/browser-sidebar.js:hide:553
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js:null:13
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - chrome://mochikit/content/browser-test.js:nextTest:550
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1464
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - chrome://mochikit/content/browser-test.js:run:1379
[task 2020-06-29T18:34:38.171Z] 18:34:38     INFO - GECKO(5656) | JavaScript error: chrome://browser/content/places/bookmarksSidebar.xhtml, line 1: ReferenceError: PlacesUIUtils is not defined
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - GECKO(5656) | [Parent 7388: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (000002081982D400) [pid = 7388] [serial = 15] [outer = 000002080C7DE300]
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - GECKO(5656) | Failed to load jar:file:///Z:/task_1593453167/build/application/firefox/browser/omni.ja!/chrome/browser/content/browser/places/bookmarksSidebar.js
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - Console message: [JavaScript Error: "ReferenceError: PlacesUIUtils is not defined" {file: "chrome://browser/content/places/bookmarksSidebar.xhtml" line: 1}]
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - onunload@chrome://browser/content/places/bookmarksSidebar.xhtml:1:1
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - hide@chrome://browser/content/browser-sidebar.js:553:27
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - @chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js:13:13
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - nextTest@chrome://mochikit/content/browser-test.js:550:35
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1464:25
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - run@chrome://mochikit/content/browser-test.js:1379:9
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - 
[task 2020-06-29T18:34:38.172Z] 18:34:38     INFO - GECKO(5656) | [Parent 7388, Main Thread] WARNING: NS_ENSURE_TRUE(scriptGlobalObject) failed: file /builds/worker/checkouts/gecko/dom/prototype/PrototypeDocumentContentSink.cpp, line 952
[task 2020-06-29T18:34:38.272Z] 18:34:38     INFO - GECKO(5656) | MEMORY STAT | vsize 2104289MB | vsizeMaxContiguous 65026554MB | residentFast 331MB | heapAllocated 122MB
[task 2020-06-29T18:34:38.272Z] 18:34:38     INFO - TEST-OK | browser/components/places/tests/browser/browser_enable_toolbar_sidebar.js | took 2763ms