Bug: Intermittent browser/components/aboutlogins/tests/browser/browser_openPreferences.js | [JavaScript Error: "XML Parsing Error: unclosed token
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-02-10 13:05:18+00:00
Resolved: 2020-03-10 17:01:09+00:00

**Filed by:** rmaries [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=288166913&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/exQQa9j1QheCpI4QuCI_6w/runs/0/artifacts/public/logs/live_backing.log

---

[task 2020-02-10T12:20:08.141Z] 12:20:08     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_openPreferences.js
[task 2020-02-10T12:20:08.196Z] 12:20:08     INFO - GECKO(2996) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2020-02-10T12:20:08.232Z] 12:20:08     INFO - GECKO(2996) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2020-02-10T12:20:08.653Z] 12:20:08     INFO - GECKO(2996) | JavaScript error: chrome://global/content/customElements.js, line 17: ReferenceError: window is not defined
[task 2020-02-10T12:20:08.656Z] 12:20:08     INFO - TEST-INFO | started process screenshot
[task 2020-02-10T12:20:08.724Z] 12:20:08     INFO - TEST-INFO | screenshot: exit 0
[task 2020-02-10T12:20:08.725Z] 12:20:08     INFO - Buffered messages logged at 12:20:08
[task 2020-02-10T12:20:08.725Z] 12:20:08     INFO - Entering test bound setup
[task 2020-02-10T12:20:08.726Z] 12:20:08     INFO - Leaving test bound setup
[task 2020-02-10T12:20:08.726Z] 12:20:08     INFO - Entering test bound setup
[task 2020-02-10T12:20:08.727Z] 12:20:08     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2020-02-10T12:20:08.727Z] 12:20:08     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2020-02-10T12:20:08.727Z] 12:20:08     INFO - Leaving test bound setup
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Entering test bound test_open_preferences
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - waiting for new tab to get opened
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_openPreferences.js | New tab opened to about:preferences - 
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Leaving test bound test_open_preferences
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Console message: [JavaScript Error: "XML Parsing Error: unclosed token
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Location: about:preferences#privacy-logins
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Line Number 783, Column 1:" {file: "about:preferences#privacy-logins" line: 783 column: 1 source: "<hbox id="performance"}]
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Console message: [JavaScript Error: "ReferenceError: window is not defined" {file: "chrome://global/content/customElements.js" line: 17}]
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Buffered messages finished
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_openPreferences.js | [JavaScript Error: "XML Parsing Error: unclosed token
[task 2020-02-10T12:20:08.729Z] 12:20:08     INFO - Location: about:preferences#privacy-logins
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - Line Number 783, Column 1:" {file: "about:preferences#privacy-logins" line: 783 column: 1 source: "<hbox id="performance"}] - 
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - Stack trace:
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - chrome://mochikit/content/browser-test.js:test_ok:1292
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/head.js:onConsoleMessage:131
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - resource://specialpowers/SpecialPowersChild.jsm:observe/<:136
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_openPreferences.js | [JavaScript Error: "ReferenceError: window is not defined" {file: "chrome://global/content/customElements.js" line: 17}] - 
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - Stack trace:
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - chrome://mochikit/content/browser-test.js:test_ok:1292
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/head.js:onConsoleMessage:131
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - resource://specialpowers/SpecialPowersChild.jsm:observe/<:136
[task 2020-02-10T12:20:08.730Z] 12:20:08     INFO - Console message: SENTINEL
[task 2020-02-10T12:20:08.731Z] 12:20:08     INFO - GECKO(2996) | MEMORY STAT | vsize 760MB | vsizeMaxContiguous 779MB | residentFast 248MB | heapAllocated 110MB
[task 2020-02-10T12:20:08.731Z] 12:20:08     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_openPreferences.js | took 570ms
[task 2020-02-10T12:20:08.731Z] 12:20:08     INFO - checking window state
[task 2020-02-10T12:20:08.734Z] 12:20:08     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_openPreferencesExternal.js
[task 2020-02-10T12:20:08.789Z] 12:20:08     INFO - GECKO(2996) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2020-02-10T12:20:08.836Z] 12:20:08     INFO - GECKO(2996) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2020-02-10T12:20:09.711Z] 12:20:09     INFO - GECKO(2996) | MEMORY STAT | vsize 766MB | vsizeMaxContiguous 773MB | residentFast 251MB | heapAllocated 105MB
[task 2020-02-10T12:20:09.711Z] 12:20:09     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_openPreferencesExternal.js | took 974ms
[task 2020-02-10T12:20:09.726Z] 12:20:09     INFO - checking window state