Bug: Intermittent TV browser/components/colorways/tests/browser/browser_colorwayCloset.js | A promise chain failed to handle a rejection: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined - stack: _getFigureUrl@chrome://bro
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-06-30 13:29:35+00:00
Resolved: 2022-07-12 17:28:14+00:00

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

---
```
[task 2022-06-30T12:28:46.031Z] 12:28:46     INFO - TEST-START | browser/components/colorways/tests/browser/browser_colorwayCloset.js
[task 2022-06-30T12:28:46.278Z] 12:28:46     INFO - GECKO(1630) | JavaScript error: chrome://browser/content/colorwaycloset.js, line 145: TypeError: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined
[task 2022-06-30T12:28:46.339Z] 12:28:46     INFO - TEST-INFO | started process screentopng
[task 2022-06-30T12:28:46.788Z] 12:28:46     INFO - TEST-INFO | screentopng: exit 0
[task 2022-06-30T12:28:46.789Z] 12:28:46     INFO - Buffered messages logged at 12:28:46
[task 2022-06-30T12:28:46.793Z] 12:28:46     INFO - Entering test bound setup_tests
[task 2022-06-30T12:28:46.793Z] 12:28:46     INFO - Leaving test bound setup_tests
[task 2022-06-30T12:28:46.793Z] 12:28:46     INFO - Entering test bound colorwaycloset_show_colorway
[task 2022-06-30T12:28:46.793Z] 12:28:46     INFO - Console message: [JavaScript Error: "TypeError: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined" {file: "chrome://browser/content/colorwaycloset.js" line: 145}]
[task 2022-06-30T12:28:46.793Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Correct collection title should be shown - 
[task 2022-06-30T12:28:46.794Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Correct expiry date should be shown - 
[task 2022-06-30T12:28:46.794Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Correct expiry date format should be shown - 
[task 2022-06-30T12:28:46.794Z] 12:28:46     INFO - Buffered messages finished
[task 2022-06-30T12:28:46.797Z] 12:28:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/colorways/tests/browser/browser_colorwayCloset.js | A promise chain failed to handle a rejection: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined - stack: _getFigureUrl@chrome://browser/content/colorwaycloset.js:145:42
[task 2022-06-30T12:28:46.797Z] 12:28:46     INFO - _displayColorwayData@chrome://browser/content/colorwaycloset.js:154:39
[task 2022-06-30T12:28:46.797Z] 12:28:46     INFO - refresh@chrome://browser/content/colorwaycloset.js:224:14
[task 2022-06-30T12:28:46.797Z] 12:28:46     INFO - _initColorwayRadios@chrome://browser/content/colorwaycloset.js:97:12
[task 2022-06-30T12:28:46.797Z] 12:28:46     INFO - Rejection date: Thu Jun 30 2022 12:28:46 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-06-30T12:28:46.798Z] 12:28:46     INFO - Stack trace:
[task 2022-06-30T12:28:46.798Z] 12:28:46     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-06-30T12:28:46.798Z] 12:28:46     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-06-30T12:28:46.798Z] 12:28:46     INFO - resource://gre/modules/SubDialog.jsm:close/<:283
[task 2022-06-30T12:28:46.798Z] 12:28:46     INFO - Leaving test bound colorwaycloset_show_colorway
[task 2022-06-30T12:28:46.799Z] 12:28:46     INFO - Entering test bound colorwaycloset_custom_home_page
[task 2022-06-30T12:28:46.799Z] 12:28:46     INFO - Set custom home page
[task 2022-06-30T12:28:46.800Z] 12:28:46     INFO - GECKO(1630) | JavaScript error: chrome://browser/content/colorwaycloset.js, line 145: TypeError: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined
[task 2022-06-30T12:28:46.800Z] 12:28:46     INFO - Console message: [JavaScript Error: "TypeError: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined" {file: "chrome://browser/content/colorwaycloset.js" line: 145}]
[task 2022-06-30T12:28:46.801Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | "Use Firefox home" controls should be shown - 
[task 2022-06-30T12:28:46.802Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Success message should not be shown - 
[task 2022-06-30T12:28:46.804Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Undo button should not be shown - 
[task 2022-06-30T12:28:46.806Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Reset message should be shown - 
[task 2022-06-30T12:28:46.811Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Apply button should be shown - 
[task 2022-06-30T12:28:46.812Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Success message should be shown - 
[task 2022-06-30T12:28:46.815Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Undo button should be shown - 
[task 2022-06-30T12:28:46.817Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Reset message should not be shown - 
[task 2022-06-30T12:28:46.818Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | Apply button should not be shown - 
[task 2022-06-30T12:28:46.819Z] 12:28:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-06-30T12:28:46.822Z] 12:28:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/colorways/tests/browser/browser_colorwayCloset.js | A promise chain failed to handle a rejection: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined - stack: _getFigureUrl@chrome://browser/content/colorwaycloset.js:145:42
[task 2022-06-30T12:28:46.823Z] 12:28:46     INFO - _displayColorwayData@chrome://browser/content/colorwaycloset.js:154:39
[task 2022-06-30T12:28:46.824Z] 12:28:46     INFO - refresh@chrome://browser/content/colorwaycloset.js:224:14
[task 2022-06-30T12:28:46.825Z] 12:28:46     INFO - _initColorwayRadios@chrome://browser/content/colorwaycloset.js:97:12
[task 2022-06-30T12:28:46.827Z] 12:28:46     INFO - Rejection date: Thu Jun 30 2022 12:28:46 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-06-30T12:28:46.828Z] 12:28:46     INFO - Stack trace:
[task 2022-06-30T12:28:46.829Z] 12:28:46     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-06-30T12:28:46.830Z] 12:28:46     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-06-30T12:28:46.831Z] 12:28:46     INFO - resource://gre/modules/SubDialog.jsm:close/<:283
[task 2022-06-30T12:28:46.832Z] 12:28:46     INFO - Leaving test bound colorwaycloset_custom_home_page
[task 2022-06-30T12:28:46.837Z] 12:28:46     INFO - Entering test bound colorwaycloset_default_home_page
[task 2022-06-30T12:28:46.838Z] 12:28:46     INFO - Set default home page
[task 2022-06-30T12:28:46.839Z] 12:28:46     INFO - GECKO(1630) | JavaScript error: chrome://browser/content/colorwaycloset.js, line 145: TypeError: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined
[task 2022-06-30T12:28:46.840Z] 12:28:46     INFO - Console message: [JavaScript Error: "TypeError: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined" {file: "chrome://browser/content/colorwaycloset.js" line: 145}]
[task 2022-06-30T12:28:46.841Z] 12:28:46     INFO - TEST-PASS | browser/components/colorways/tests/browser/browser_colorwayCloset.js | "Use Firefox home" controls should be hidden - 
[task 2022-06-30T12:28:46.842Z] 12:28:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-06-30T12:28:46.844Z] 12:28:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/colorways/tests/browser/browser_colorwayCloset.js | A promise chain failed to handle a rejection: can't access property "figureUrl", BuiltInThemes.builtInThemeMap.get(...) is undefined - stack: _getFigureUrl@chrome://browser/content/colorwaycloset.js:145:42
[task 2022-06-30T12:28:46.845Z] 12:28:46     INFO - _displayColorwayData@chrome://browser/content/colorwaycloset.js:154:39
[task 2022-06-30T12:28:46.846Z] 12:28:46     INFO - refresh@chrome://browser/content/colorwaycloset.js:224:14
[task 2022-06-30T12:28:46.847Z] 12:28:46     INFO - _initColorwayRadios@chrome://browser/content/colorwaycloset.js:97:12
[task 2022-06-30T12:28:46.848Z] 12:28:46     INFO - Rejection date: Thu Jun 30 2022 12:28:46 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-06-30T12:28:46.849Z] 12:28:46     INFO - Stack trace:
[task 2022-06-30T12:28:46.850Z] 12:28:46     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-06-30T12:28:46.851Z] 12:28:46     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-06-30T12:28:46.851Z] 12:28:46     INFO - resource://gre/modules/SubDialog.jsm:close/<:283
[task 2022-06-30T12:28:46.854Z] 12:28:46     INFO - Leaving test bound colorwaycloset_default_home_page
[task 2022-06-30T12:28:46.855Z] 12:28:46     INFO - GECKO(1630) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-06-30T12:28:46.855Z] 12:28:46     INFO - GECKO(1630) | MEMORY STAT | vsize 11435MB | residentFast 527MB | heapAllocated 282MB
[task 2022-06-30T12:28:46.856Z] 12:28:46     INFO - TEST-OK | browser/components/colorways/tests/browser/browser_colorwayCloset.js | took 696ms
[task 2022-06-30T12:28:46.857Z] 12:28:46     INFO - checking window state
[task 2022-06-30T12:28:46.858Z] 12:28:46     INFO - GECKO(1630) | Completed ShutdownLeaks collections in process 1630
[task 2022-06-30T12:28:46.859Z] 12:28:46     INFO - TEST-START | Shutdown
[task 2022-06-30T12:28:46.860Z] 12:28:46     INFO - Browser Chrome Test Su
```