Bug: High frequency browser/components/shopping/tests/browser/browser_shopping_survey.js | single tracking bug
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2023-09-16 01:12:20+00:00
Resolved: 2024-05-20 06:39:03+00:00

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

---
```
[task 2023-09-15T23:32:09.636Z] 23:32:09     INFO - TEST-PASS | browser/components/shopping/tests/browser/browser_shopping_survey.js | Survey Message container is shown - true == true - 
[task 2023-09-15T23:32:09.637Z] 23:32:09     INFO - Buffered messages finished
[task 2023-09-15T23:32:09.640Z] 23:32:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/shopping/tests/browser/browser_shopping_survey.js | Survey pref state is updated - false == true - got false, expected true (operator ==)
[task 2023-09-15T23:32:09.641Z] 23:32:09     INFO - Stack trace:
[task 2023-09-15T23:32:09.641Z] 23:32:09     INFO - ok@resource://testing-common/SpecialPowersSandbox.sys.mjs:85:21
[task 2023-09-15T23:32:09.642Z] 23:32:09     INFO - @chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_shopping_survey.js:82:13
[task 2023-09-15T23:32:09.643Z] 23:32:09     INFO - async*execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2023-09-15T23:32:09.643Z] 23:32:09     INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1654:15
[task 2023-09-15T23:32:09.644Z] 23:32:09     INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:257:21
[task 2023-09-15T23:32:09.644Z] 23:32:09     INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1385:14
[task 2023-09-15T23:32:09.645Z] 23:32:09     INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1583:17
[task 2023-09-15T23:32:09.645Z] 23:32:09     INFO - test_showSurvey_Enabled/<@chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_shopping_survey.js:41:27
[task 2023-09-15T23:32:09.646Z] 23:32:09     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22
[task 2023-09-15T23:32:09.647Z] 23:32:09     INFO - async*test_showSurvey_Enabled@chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_shopping_survey.js:35:26
[task 2023-09-15T23:32:09.647Z] 23:32:09     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-15T23:32:09.648Z] 23:32:09     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-15T23:32:09.648Z] 23:32:09     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-15T23:32:09.649Z] 23:32:09     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1114:14
[task 2023-09-15T23:32:09.649Z] 23:32:09     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-15T23:32:09.650Z] 23:32:09     INFO - GECKO(1607) | JavaScript error: , line 0: AbortError: Actor 'AboutWelcomeShopping' destroyed before query 'AWPage:ADD_SCREEN_IMPRESSION' was resolved
[task 2023-09-15T23:32:09.651Z] 23:32:09     INFO - GECKO(1607) | JavaScript error: , line 0: AbortError: Actor 'AboutWelcomeShopping' destroyed before query 'AWPage:TELEMETRY_EVENT' was resolved
[task 2023-09-15T23:32:09.652Z] 23:32:09     INFO - GECKO(1607) | JavaScript error: , line 0: InternalError: Promise rejection value is a non-unwrappable cross-compartment wrapper.
[task 2023-09-15T23:32:09.653Z] 23:32:09     INFO - GECKO(1607) | JavaScript error: , line 0: InternalError: Promise rejection value is a non-unwrappable cross-compartment wrapper.
[task 2023-09-15T23:32:09.653Z] 23:32:09     INFO - GECKO(1607) | console.warn: AboutWelcomeParent: Not handling AWPage:TELEMETRY_EVENT because the browser doesn't exist.
[task 2023-09-15T23:32:09.654Z] 23:32:09     INFO - GECKO(1607) | console.warn: AboutWelcomeParent: Not handling AWPage:ADD_SCREEN_IMPRESSION because the browser doesn't exist.
[task 2023-09-15T23:32:09.655Z] 23:32:09     INFO - Leaving test bound test_showSurvey_Enabled
[task 2023-09-15T23:32:09.656Z] 23:32:09     INFO - Entering test bound test_showSurvey_Disabled
[task 2023-09-15T23:32:09.656Z] 23:32:09     INFO - Console message: [JavaScript Error: "AbortError: Actor 'AboutWelcomeShopping' destroyed before query 'AWPage:ADD_SCREEN_IMPRESSION' was resolved"]
[task 2023-09-15T23:32:09.657Z] 23:32:09     INFO - Console message: [JavaScript Error: "AbortError: Actor 'AboutWelcomeShopping' destroyed before query 'AWPage:TELEMETRY_EVENT' was resolved"]
[task 2023-09-15T23:32:09.658Z] 23:32:09     INFO - Console message: [JavaScript Error: "InternalError: Promise rejection value is a non-unwrappable cross-compartment wrapper."]
[task 2023-09-15T23:32:09.659Z] 23:32:09     INFO - Console message: [JavaScript Error: "InternalError: Promise rejection value is a non-unwrappable cross-compartment wrapper."]
[task 2023-09-15T23:32:09.659Z] 23:32:09     INFO - GECKO(1607) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7ff027ca4800 == 4 [pid = 1844] [id = 3]
[task 2023-09-15T23:32:09.660Z] 23:32:09     INFO - GECKO(1607) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (7ff0283f8d40) [pid = 1844] [serial = 10] [outer = 0]
[task 2023-09-15T23:32:09.661Z] 23:32:09     INFO - GECKO(1607) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (7ff027ca4c00) [pid = 1844] [serial = 11] [outer = 7ff0283f8d40]
[task 2023-09-15T23:32:09.733Z] 23:32:09     INFO - GECKO(1607) | [Child 1844: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (7ff027ca5c00) [pid = 1844] [serial = 12] [outer = 7ff0283f8d40]
[task 2023-09-15T23:32:09.932Z] 23:32:09     INFO - GECKO(1607) | console.error: "Failed to fetch product analysis data" (new TypeError("null has no properties", "resource:///actors/ShoppingSidebarChild.sys.mjs", 243))
[task 2023-09-15T23:32:10.188Z] 23:32:10     INFO - GECKO(1607) | [Child 1844, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_OK) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1150
[task 2023-09-15T23:32:10.188Z] 23:32:10     INFO - GECKO(1607) | [Child 1844, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_OK) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1150
[task 2023-09-15T23:32:10.497Z] 23:32:10     INFO - TEST-PASS | browser/components/shopping/tests/browser/browser_shopping_survey.js | Survey is disabled - true == true - 
```