Bug: Intermittent browser/base/content/test/protectionsUI/browser_protectionsUI_cookie_banner.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-11-28 17:19:41+00:00
Resolved: 2025-03-03 12:03:11+00:00

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

---
```
[task 2022-11-28T16:48:30.602Z] 16:48:30     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookie_banner.js | Cookie banner switch should be not visible. - 
[task 2022-11-28T16:48:30.603Z] 16:48:30     INFO - Buffered messages finished
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_cookie_banner.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICookieBannerService.insertRule] - stack: #importRules/<@resource://gre/modules/CookieBannerListService.jsm:178:30
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - #importRules@resource://gre/modules/CookieBannerListService.jsm:165:11
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - importAllRules@resource://gre/modules/CookieBannerListService.jsm:99:22
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - Rejection date: Mon Nov 28 2022 16:48:05 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.sys.mjs :: assertNoUncaughtRejections :: line 266
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - Stack trace:
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2022-11-28T16:48:30.604Z] 16:48:30     INFO - chrome://mochikit/content/browser-test.js:handleTask:1065
[task 2022-11-28T16:48:30.605Z] 16:48:30     INFO - Leaving test bound test_section_visibility
[task 2022-11-28T16:48:30.606Z] 16:48:30     INFO - Entering test bound test_section_visibility_pref
[task 2022-11-28T16:48:30.606Z] 16:48:30     INFO - testSectionVisibility {"featureMode":1,"featureModePBM":0,"visibilityPref":false,"testPBM":false}
[task 2022-11-28T16:48:30.607Z] 16:48:30     INFO - GECKO(1634) | [Child 3489: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f918261b400 == 1 [pid = 3489] [id = 0]
[task 2022-11-28T16:48:30.608Z] 16:48:30     INFO - GECKO(1634) | [Child 3489: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f919dc919f0) [pid = 3489] [serial = 1] [outer = 0]
[task 2022-11-28T16:48:30.608Z] 16:48:30     INFO - GECKO(1634) | [Child 3489: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f918261b800) [pid = 3489] [serial = 2] [outer = 7f919dc919f0]
[task 2022-11-28T16:48:30.609Z] 16:48:30     INFO - GECKO(1634) | [Child 3489: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f918261f400) [pid = 3489] [serial = 3] [outer = 7f919dc919f0]
[task 2022-11-28T16:48:30.778Z] 16:48:30     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2022-11-28T16:48:30.856Z] 16:48:30     INFO - GECKO(1634) | [Parent 1634, Main Thread] WARNING: '!mSelection', file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:6095
[task 2022-11-28T16:48:30.858Z] 16:48:30     INFO - GECKO(1634) | [Parent 1634, Main Thread] WARNING: '!editActionData.CanHandle()', file /builds/worker/workspace/obj-build/dist/include/mozilla/TextEditor.h:205
[task 2022-11-28T16:48:30.859Z] 16:48:30     INFO - GECKO(1634) | [Parent 1634, Main Thread] WARNING: Failed to get value: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/html/TextControlState.cpp:2531
[task 2022-11-28T16:48:31.102Z] 16:48:31     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookie_banner.js | Cookie banner section should be not visible. - 
```