Bug: Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_focus_promo.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-08-23 02:18:52+00:00
Resolved: 2022-10-18 17:02:33+00:00

**Filed by:** mlaza [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=388150436&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SOSyekBdQ2KTJdUk5kMd2A/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2022-08-23T01:36:48.188Z] 01:36:48     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_focus_promo.js | Focus promo is shown for allowed region - {} == true - 
[task 2022-08-23T01:36:48.188Z] 01:36:48     INFO - Buffered messages finished
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_focus_promo.js | A promise chain failed to handle a rejection: can't access property "setAttributes", this.document.l10n is null - stack: _updateSearchModeUI@resource:///modules/UrlbarInput.sys.mjs:2851:7
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - setSearchMode@resource:///modules/UrlbarInput.sys.mjs:1672:12
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - set searchMode@resource:///modules/UrlbarInput.sys.mjs:1766:10
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - observe@resource:///modules/UrlbarInput.sys.mjs:1938:15
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - notifyAction@resource://gre/modules/SearchUtils.sys.mjs:216:20
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - updateFromManifest@resource://gre/modules/AddonSearchEngine.sys.mjs:94:22
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - _reloadEngines@resource://gre/modules/SearchService.sys.mjs:1739:14
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - Rejection date: Tue Aug 23 2022 01:36:47 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - Stack trace:
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-08-23T01:36:48.190Z] 01:36:48     INFO - chrome://mochikit/content/browser-test.js:handleTask:1056
[task 2022-08-23T01:36:48.191Z] 01:36:48     INFO - Leaving test bound test_focus_promo_in_allowed_region
[task 2022-08-23T01:36:48.191Z] 01:36:48     INFO - Entering test bound test_focus_promo_in_disallowed_region
[task 2022-08-23T01:36:48.192Z] 01:36:48     INFO - GECKO(2657) | JavaScript error: resource:///modules/UrlbarInput.sys.mjs, line 2851: TypeError: can't access property "setAttributes", this.document.l10n is null
[task 2022-08-23T01:36:48.192Z] 01:36:48     INFO - GECKO(2657) | JavaScript error: resource:///modules/UrlbarInput.sys.mjs, line 2851: TypeError: can't access property "setAttributes", this.document.l10n is null
[task 2022-08-23T01:36:48.193Z] 01:36:48     INFO - Console message: [JavaScript Error: "TypeError: can't access property "setAttributes", this.document.l10n is null" {file: "resource:///modules/UrlbarInput.sys.mjs" line: 2851}]
[task 2022-08-23T01:36:48.193Z] 01:36:48     INFO - Console message: [JavaScript Error: "TypeError: can't access property "setAttributes", this.document.l10n is null" {file: "resource:///modules/UrlbarInput.sys.mjs" line: 2851}]
[task 2022-08-23T01:36:48.193Z] 01:36:48     INFO - Console message: 1661218608029	addons.xpi	WARN	Addon with ID amazondotcn@search.mozilla.org already installed, older version will be disabled
[task 2022-08-23T01:36:48.194Z] 01:36:48     INFO - GECKO(2657) | 1661218608107	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-08-23T01:36:48.381Z] 01:36:48     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_focus_promo.js | Focus promo is not shown for disallowed region - true == true - 
```