Bug: Intermittent Assertion failure | assert@moz-src:///browser/components/tabbrowser/AsyncTabSwitcher.sys.mjs:
Status: NEW
Priority: P5
Created: 2025-03-05 13:55:45+00:00
Resolved: 2025-03-05 13:55:45+00:00

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

---
```
[task 2025-03-05T12:28:24.905Z] 12:28:24     INFO - TEST-START | browser/components/tabbrowser/test/browser/tabs/browser_multiselect_tabs_unload_telemetry.js
[task 2025-03-05T12:28:25.221Z] 12:28:25     INFO - GECKO(8252) | 1741177705220	FirefoxAccounts	ERROR	FxA rejecting with error NO_ACCOUNT, details: undefined
[task 2025-03-05T12:28:25.614Z] 12:28:25     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18335.log
[task 2025-03-05T12:28:25.704Z] 12:28:25     INFO - GECKO(8252) | console.error: (new TypeError("WindowGlobalParent.drawSnapshot: Argument 2 is not a finite floating-point value.", "chrome://global/content/elements/browser-custom-element.js", 1869))
[task 2025-03-05T12:28:25.946Z] 12:28:25     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18360.log
[task 2025-03-05T12:28:25.951Z] 12:28:25     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18366.log
[task 2025-03-05T12:28:25.956Z] 12:28:25     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18372.log
[task 2025-03-05T12:28:26.283Z] 12:28:26     INFO - GECKO(8252) | console.error: (new TypeError("CanvasRenderingContext2D.drawImage: Argument 1 could not be converted to any of: HTMLImageElement, SVGImageElement, HTMLCanvasElement, HTMLVideoElement, OffscreenCanvas, ImageBitmap, VideoFrame.", "resource://gre/modules/PageThumbs.sys.mjs", 546))
[task 2025-03-05T12:28:26.659Z] 12:28:26     INFO - GECKO(8252) | console.error: (new TypeError("WindowGlobalParent.drawSnapshot: Argument 2 is not a finite floating-point value.", "chrome://global/content/elements/browser-custom-element.js", 1869))
[task 2025-03-05T12:28:26.756Z] 12:28:26     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18450.log
[task 2025-03-05T12:28:27.037Z] 12:28:27     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18475.log
[task 2025-03-05T12:28:27.045Z] 12:28:27     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18477.log
[task 2025-03-05T12:28:27.760Z] 12:28:27     INFO - GECKO(8252) | console.error: (new TypeError("WindowGlobalParent.drawSnapshot: Argument 2 is not a finite floating-point value.", "chrome://global/content/elements/browser-custom-element.js", 1869))
[task 2025-03-05T12:28:28.693Z] 12:28:28     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18565.log
[task 2025-03-05T12:28:28.914Z] 12:28:28     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18590.log
[task 2025-03-05T12:28:29.008Z] 12:28:29     INFO - GECKO(8252) | console.error: (new TypeError("WindowGlobalParent.drawSnapshot: Argument 2 is not a finite floating-point value.", "chrome://global/content/elements/browser-custom-element.js", 1869))
[task 2025-03-05T12:28:29.118Z] 12:28:29     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18615.log
[task 2025-03-05T12:28:29.167Z] 12:28:29     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18634.log
[task 2025-03-05T12:28:29.191Z] 12:28:29     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18649.log
[task 2025-03-05T12:28:29.205Z] 12:28:29     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18656.log
[task 2025-03-05T12:28:29.634Z] 12:28:29     INFO - GECKO(8252) | Assertion failure
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | assert@moz-src:///browser/components/tabbrowser/AsyncTabSwitcher.sys.mjs:501:36
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | finish@moz-src:///browser/components/tabbrowser/AsyncTabSwitcher.sys.mjs:334:10
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | postActions@moz-src:///browser/components/tabbrowser/AsyncTabSwitcher.sys.mjs:710:12
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | handleEvent@moz-src:///browser/components/tabbrowser/AsyncTabSwitcher.sys.mjs:1164:12
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | EventListener.handleEvent*AsyncTabSwitcher@moz-src:///browser/components/tabbrowser/AsyncTabSwitcher.sys.mjs:157:17
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | _getSwitcher@chrome://browser/content/tabbrowser/tabbrowser.js:6403:26
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | warmupTab@chrome://browser/content/tabbrowser/tabbrowser.js:6410:14
[task 2025-03-05T12:28:29.636Z] 12:28:29     INFO - GECKO(8252) | on_mouseover@chrome://browser/content/tabbrowser/tab.js:398:16
[task 2025-03-05T12:28:29.637Z] 12:28:29     INFO - GECKO(8252) | handleEvent@chrome://global/content/customElements.js:459:27
[task 2025-03-05T12:28:29.637Z] 12:28:29     INFO - GECKO(8252) | EventListener.handleEvent*MozTabbrowserTab@chrome://browser/content/tabbrowser/tab.js:44:12
[task 2025-03-05T12:28:29.637Z] 12:28:29     INFO - GECKO(8252) | _createTab@chrome://browser/content/tabbrowser/tabbrowser.js:3172:24
[task 2025-03-05T12:28:29.637Z] 12:28:29     INFO - GECKO(8252) | addTab@chrome://browser/content/tabbrowser/tabbrowser.js:2722:18
[task 2025-03-05T12:28:29.637Z] 12:28:29     INFO - GECKO(8252) | addTab@resource://testing-common/BrowserTestUtils.sys.mjs:2685:23
[task 2025-03-05T12:28:29.639Z] 12:28:29     INFO - GECKO(8252) | addTabTo@chrome://mochitests/content/browser/browser/components/tabbrowser/test/browser/tabs/head.js:67:32
[task 2025-03-05T12:28:29.641Z] 12:28:29     INFO - GECKO(8252) | addTab@chrome://mochitests/content/browser/browser/components/tabbrowser/test/browser/tabs/head.js:58:10
[task 2025-03-05T12:28:29.642Z] 12:28:29     INFO - GECKO(8252) | addBrowserTabs@chrome://mochitests/content/browser/browser/components/tabbrowser/test/browser/tabs/browser_multiselect_tabs_unload_telemetry.js:33:21
[task 2025-03-05T12:28:29.643Z] 12:28:29     INFO - GECKO(8252) | async*test_unload_all_tabs@chrome://mochitests/content/browser/browser/components/tabbrowser/test/browser/tabs/browser_multiselect_tabs_unload_telemetry.js:244:34
[task 2025-03-05T12:28:29.643Z] 12:28:29     INFO - GECKO(8252) | handleTask@chrome://mochikit/content/browser-test.js:1170:26
[task 2025-03-05T12:28:29.643Z] 12:28:29     INFO - GECKO(8252) | _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1242:18
[task 2025-03-05T12:28:29.644Z] 12:28:29     INFO - GECKO(8252) | async*Tester_execTest@chrome://mochikit/content/browser-test.js:1383:14
[task 2025-03-05T12:28:29.645Z] 12:28:29     INFO - GECKO(8252) | nextTest/<@chrome://mochikit/content/browser-test.js:1159:14
[task 2025-03-05T12:28:29.652Z] 12:28:29     INFO - GECKO(8252) | SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-03-05T12:28:29.877Z] 12:28:29     INFO - GECKO(8252) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpb9hkepei.mozrunner/runtests_leaks_tab_pid18728.log
[task 2025-03-05T12:28:30.127Z] 12:28:30     INFO - GECKO(8252) | MEMORY STAT | vsize 12477MB | residentFast 681MB | heapAllocated 350MB
```