Bug: High frequency browser/components/pocket/test/browser_pocket_panel.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2022-07-26 15:00:38+00:00
Resolved: 2025-02-20 09:11:09+00:00

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

---
```
[task 2022-07-26T14:39:47.591Z] 14:39:47     INFO - TEST-PASS | browser/components/pocket/test/browser_pocket_panel.js | context menu popup is closed - 
[task 2022-07-26T14:39:47.591Z] 14:39:47     INFO - Buffered messages finished
[task 2022-07-26T14:39:47.591Z] 14:39:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_panel.js | Uncaught exception in test - undefined - threw exception: AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved
[task 2022-07-26T14:39:47.591Z] 14:39:47     INFO - Leaving test bound 
[task 2022-07-26T14:39:47.592Z] 14:39:47     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_panel.js | A promise chain failed to handle a rejection: popupshown listener on #contentAreaContextMenu not removed before the end of test - stack: (No stack available.)
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - Rejection date: Tue Jul 26 2022 14:39:47 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - Stack trace:
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1619
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - chrome://mochikit/content/browser-test.js:run:1534
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/pocket/test/browser_pocket_panel.js | A promise chain failed to handle a rejection: popuphidden listener on #contentAreaContextMenu not removed before the end of test - stack: (No stack available.)
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - Rejection date: Tue Jul 26 2022 14:39:47 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - Stack trace:
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2022-07-26T14:39:47.595Z] 14:39:47     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1619
[task 2022-07-26T14:39:47.596Z] 14:39:47     INFO - chrome://mochikit/content/browser-test.js:run:1534
[task 2022-07-26T14:39:47.596Z] 14:39:47     INFO - GECKO(6089) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 119: uncaught exception: popupshown listener on #contentAreaContextMenu not removed before the end of test
[task 2022-07-26T14:39:47.597Z] 14:39:47     INFO - GECKO(6089) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 119: uncaught exception: popuphidden listener on #contentAreaContextMenu not removed before the end of test
[task 2022-07-26T14:39:47.598Z] 14:39:47     INFO - Console message: [JavaScript Error: "uncaught exception: popupshown listener on #contentAreaContextMenu not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 119}]
[task 2022-07-26T14:39:47.599Z] 14:39:47     INFO - Console message: [JavaScript Error: "uncaught exception: popuphidden listener on #contentAreaContextMenu not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 119}]
[task 2022-07-26T14:39:47.600Z] 14:39:47     INFO - GECKO(6089) | MEMORY STAT | vsize 130576290MB | residentFast 1227MB
[task 2022-07-26T14:39:47.600Z] 14:39:47     INFO - TEST-OK | browser/components/pocket/test/browser_pocket_panel.js | took 733ms
```