Bug: Perma TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 1, expected +0 | unreferenced file: resource://<...>/shopping.ftl when Gecko 119 merges to Beta on 2023-09-25
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2023-09-08 14:08:46+00:00
Resolved: 2023-10-12 12:38:27+00:00

[Tracking Requested - why for this release]:

- [Central-as-beta simulation.](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&selectedTaskRun=KSoo4upuSYy-PUmL2ILQ6Q.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=96cface6707fbf06fa0d15d04fb68129320052dd&searchStr=bc) 
- [How to run these simulations.](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=428427945&repo=try&lineNumber=3967)
```
[task 2023-09-08T13:08:33.087Z] 13:08:33     INFO - TEST-START | browser/base/content/test/static/browser_all_files_referenced.js
[task 2023-09-08T13:08:34.381Z] 13:08:34     INFO - GECKO(2929) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-09-08T13:08:39.006Z] 13:08:39     INFO - TEST-INFO | started process screentopng
[task 2023-09-08T13:08:39.262Z] 13:08:39     INFO - TEST-INFO | screentopng: exit 0
[task 2023-09-08T13:08:39.263Z] 13:08:39     INFO - Buffered messages logged at 13:08:33
[task 2023-09-08T13:08:39.264Z] 13:08:39     INFO - Entering test bound checkAllTheFiles
[task 2023-09-08T13:08:39.265Z] 13:08:39     INFO - Buffered messages logged at 13:08:34
[task 2023-09-08T13:08:39.266Z] 13:08:39     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-09-08T13:08:39.266Z] 13:08:39     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-09-08T13:08:39.267Z] 13:08:39     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-09-08T13:08:39.268Z] 13:08:39     INFO - 
[task 2023-09-08T13:08:39.269Z] 13:08:39     INFO - Buffered messages logged at 13:08:38
[task 2023-09-08T13:08:39.270Z] 13:08:39     INFO - indirectly allowlisted file: chrome://remote/content/marionette/test_dialog.dtd used from chrome://remote/content/marionette/test_dialog.xhtml
[task 2023-09-08T13:08:39.271Z] 13:08:39     INFO - indirectly allowlisted file: chrome://global-platform/locale/intl.properties used from resource://gre/greprefs.js
[task 2023-09-08T13:08:39.271Z] 13:08:39     INFO - indirectly allowlisted file: chrome://global/locale/intl.properties used from resource://gre/greprefs.js
[task 2023-09-08T13:08:39.272Z] 13:08:39     INFO - indirectly allowlisted file: resource://services-sync/bridged_engine.sys.mjs used from resource://services-sync/engines/extension-storage.sys.mjs,resource://services-sync/engines/tabs.sys.mjs
[task 2023-09-08T13:08:39.273Z] 13:08:39     INFO - Buffered messages logged at 13:08:39
[task 2023-09-08T13:08:39.273Z] 13:08:39     INFO - indirectly allowlisted file: resource://services-sync/addonsreconciler.sys.mjs used from resource://services-sync/engines/addons.sys.mjs
[task 2023-09-08T13:08:39.274Z] 13:08:39     INFO - indirectly allowlisted file: resource://gre/modules/UniFFI.sys.mjs used from resource://gre/modules/RustTabs.sys.mjs,resource://gre/modules/RustRemoteSettings.sys.mjs,resource://gre/modules/RustSuggest.sys.mjs,resource://gre/modules/RustSync15.sys.mjs
[task 2023-09-08T13:08:39.275Z] 13:08:39     INFO - indirectly allowlisted file: resource://services-sync/addonutils.sys.mjs used from resource://services-sync/engines/addons.sys.mjs
[task 2023-09-08T13:08:39.276Z] 13:08:39     INFO - indirectly allowlisted file: resource://services-sync/collection_validator.sys.mjs used from resource://services-sync/engines/passwords.sys.mjs,resource://services-sync/engines/addons.sys.mjs,resource://services-sync/engines/forms.sys.mjs
[task 2023-09-08T13:08:39.277Z] 13:08:39     INFO - indirectly allowlisted file: resource://gre/modules/RustTabs.sys.mjs used from resource://services-sync/engines/tabs.sys.mjs
[task 2023-09-08T13:08:39.278Z] 13:08:39     INFO - indirectly allowlisted file: resource://gre/modules/RustRemoteSettings.sys.mjs used from resource://gre/modules/RustSuggest.sys.mjs
[task 2023-09-08T13:08:39.278Z] 13:08:39     INFO - indirectly allowlisted file: resource://gre/modules/SyncedBookmarksMirror.sys.mjs used from resource://services-sync/engines/bookmarks.sys.mjs
[task 2023-09-08T13:08:39.279Z] 13:08:39     INFO - indirectly allowlisted file: resource://gre/modules/RustSync15.sys.mjs used from resource://gre/modules/RustTabs.sys.mjs
[task 2023-09-08T13:08:39.280Z] 13:08:39     INFO - indirectly allowlisted file: chrome://pippki/content/resetpassword.js used from chrome://pippki/content/resetpassword.xhtml
[task 2023-09-08T13:08:39.280Z] 13:08:39     INFO - indirectly allowlisted file: chrome://pippki/content/load_device.js used from chrome://pippki/content/load_device.xhtml
[task 2023-09-08T13:08:39.281Z] 13:08:39     INFO - indirectly allowlisted file: chrome://remote/content/marionette/test2.xhtml used from chrome://remote/content/marionette/test_no_xul.xhtml,chrome://remote/content/marionette/test.xhtml,chrome://remote/content/marionette/test_nested_iframe.xhtml
[task 2023-09-08T13:08:39.282Z] 13:08:39     INFO - indirectly allowlisted file: chrome://remote/content/marionette/test_nested_iframe.xhtml used from chrome://remote/content/marionette/test_no_xul.xhtml,chrome://remote/content/marionette/test.xhtml
[task 2023-09-08T13:08:39.283Z] 13:08:39     INFO - Buffered messages finished
[task 2023-09-08T13:08:39.284Z] 13:08:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 1, expected +0
[task 2023-09-08T13:08:39.284Z] 13:08:39     INFO - Stack trace:
[task 2023-09-08T13:08:39.284Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:test_is:1608
[task 2023-09-08T13:08:39.285Z] 13:08:39     INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:checkAllTheFiles:1027
[task 2023-09-08T13:08:39.285Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-09-08T13:08:39.286Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-09-08T13:08:39.286Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-09-08T13:08:39.286Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-09-08T13:08:39.287Z] 13:08:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-09-08T13:08:39.288Z] 13:08:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-08T13:08:39.289Z] 13:08:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | unreferenced file: resource://app/localization/en-US/browser/shopping.ftl - 
[task 2023-09-08T13:08:39.289Z] 13:08:39     INFO - Stack trace:
[task 2023-09-08T13:08:39.289Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2023-09-08T13:08:39.290Z] 13:08:39     INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:checkAllTheFiles:1031
[task 2023-09-08T13:08:39.290Z] 13:08:39     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
<...>
[task 2023-09-08T13:08:39.685Z] 13:08:39     INFO - missing file: chrome://global/content/neterror/supportpages/$%7BsupportPageSlug%7D.html referenced from resource://gre/actors/NetErrorParent.sys.mjs
[task 2023-09-08T13:08:39.687Z] 13:08:39     INFO - missing file: resource://gre/localization/en-US/browser/preferences/formAutofill.ftl referenced from resource://gre-resources/autofill/ProfileAutoCompleteResult.sys.mjs,resource://gre/modules/CreditCard.sys.mjs,chrome://browser/content/preferences/preferences.xhtml,chrome://formautofill/content/manageDialog.js,chrome://formautofill/content/editCreditCard.xhtml,chrome://formautofill/content/editAddress.xhtml,chrome://formautofill/content/manageAddresses.xhtml,chrome://formautofill/content/manageCreditCards.xhtml
[task 2023-09-08T13:08:39.690Z] 13:08:39     INFO - missing file: resource://gre/modules/*.svg referenced from resource://gre/modules/PageThumbUtils.sys.mjs
[task 2023-09-08T13:08:39.692Z] 13:08:39     INFO - missing file: resource://app/localization/en-US/toolkit/global/tabprompts.ftl referenced from chrome://global/content/tabprompts.sys.mjs
[task 2023-09-08T13:08:39.693Z] 13:08:39     INFO - missing file: resource://app/localization/en-US/toolkit/about/aboutAddons.ftl referenced from resource://gre/modules/addons/SitePermsAddonProvider.sys.mjs,chrome://mozapps/content/extensions/abuse-report-frame.html,chrome://mozapps/content/extensions/aboutaddons.html
[task 2023-09-08T13:08:39.695Z] 13:08:39     INFO - TEST-PASS | browser/base/content/test/static/browser_all_files_referenced.js | Failed to check if chrome://remote/content/server/00:00:00 exists: NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIIOService.newChannelFromURI] - 
```