Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_preserveAspectRatio.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-07-29 12:46:01+00:00
Resolved: 2025-02-24 12:08:16+00:00

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

---
```
[task 2024-07-29T12:00:00.481Z] 12:00:00     INFO - TEST-PASS | toolkit/components/thumbnails/test/browser_thumbnails_preserveAspectRatio.js | canvas height within 1% of expected height - true == true - 
[task 2024-07-29T12:00:00.481Z] 12:00:00     INFO - Buffered messages finished
[task 2024-07-29T12:00:00.485Z] 12:00:00     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_preserveAspectRatio.js | A promise chain failed to handle a rejection: aBrowser.browsingContext is null - stack: PageThumbs_captureAndStore@resource://gre/modules/PageThumbs.sys.mjs:433:9
[task 2024-07-29T12:00:00.486Z] 12:00:00     INFO - PageThumbs_captureAndStoreIfStale@resource://gre/modules/PageThumbs.sys.mjs:479:18
[task 2024-07-29T12:00:00.487Z] 12:00:00     INFO - async*_capture@chrome://browser/content/browser-thumbnails.js:136:24
[task 2024-07-29T12:00:00.487Z] 12:00:00     INFO - async*idleCallback@chrome://browser/content/browser-thumbnails.js:149:12
[task 2024-07-29T12:00:00.488Z] 12:00:00     INFO - requestIdleCallback handler*Thumbnails_delayedCapture/timeoutId<@chrome://browser/content/browser-thumbnails.js:155:47
[task 2024-07-29T12:00:00.488Z] 12:00:00     INFO - setTimeout handler*Thumbnails_delayedCapture@chrome://browser/content/browser-thumbnails.js:154:31
[task 2024-07-29T12:00:00.489Z] 12:00:00     INFO - Thumbnails_handleEvent@chrome://browser/content/browser-thumbnails.js:77:14
[task 2024-07-29T12:00:00.490Z] 12:00:00     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser/tabbrowser.js:1395:16
[task 2024-07-29T12:00:00.490Z] 12:00:00     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser/tabbrowser.js:6186:16
[task 2024-07-29T12:00:00.490Z] 12:00:00     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2024-07-29T12:00:00.491Z] 12:00:00     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2024-07-29T12:00:00.491Z] 12:00:00     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2024-07-29T12:00:00.492Z] 12:00:00     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2024-07-29T12:00:00.492Z] 12:00:00     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2024-07-29T12:00:00.492Z] 12:00:00     INFO - set selectedTab@chrome://browser/content/tabbrowser/tabbrowser.js:467:7
[task 2024-07-29T12:00:00.493Z] 12:00:00     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.sys.mjs:219:61
[task 2024-07-29T12:00:00.493Z] 12:00:00     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:368:7
[task 2024-07-29T12:00:00.493Z] 12:00:00     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.sys.mjs:214:26
[task 2024-07-29T12:00:00.494Z] 12:00:00     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:117:38
[task 2024-07-29T12:00:00.494Z] 12:00:00     INFO - testPreserveAspectRatio@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_preserveAspectRatio.js:43:26
[task 2024-07-29T12:00:00.495Z] 12:00:00     INFO - async*thumbnails_preserveAspectRatio@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_preserveAspectRatio.js:88:9
[task 2024-07-29T12:00:00.495Z] 12:00:00     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-07-29T12:00:00.495Z] 12:00:00     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-07-29T12:00:00.495Z] 12:00:00     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - Rejection date: Mon Jul 29 2024 11:59:54 GMT+0000 (Coordinated Universal Time) - false == true - 
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - Stack trace:
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - chrome://mochikit/content/browser-test.js:handleTask:1173
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-07-29T12:00:00.496Z] 12:00:00     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-07-29T12:00:00.497Z] 12:00:00     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-07-29T12:00:00.497Z] 12:00:00     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-07-29T12:00:00.497Z] 12:00:00     INFO - Leaving test bound thumbnails_preserveAspectRatio
[task 2024-07-29T12:00:01.094Z] 12:00:01     INFO - GECKO(7646) | MEMORY STAT | vsize 120606404MB | residentFast 1184MB
[task 2024-07-29T12:00:01.097Z] 12:00:01     INFO - TEST-OK | toolkit/components/thumbnails/test/browser_thumbnails_preserveAspectRatio.js | took 13565ms
[task 2024-07-29T12:00:01.185Z] 12:00:01     INFO - checking window state
[task 2024-07-29T12:00:01.264Z] 12:00:01     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_privacy.js
```