Bug: <random.js> | uncaught exception - TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined at getWindowTitleForBrowser@chrome://browser/content/tabbrowser.js:1052:9 | A promise chain failed to handle a rejection: [fluent] Couldn't find a
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-05-07 13:55:24+00:00
Resolved: 2022-05-07 14:08:53+00:00

- [Central-as-beta simulation](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception&revision=7d83b449e0636bf6d439f9a168d28910d0c30ecd&selectedTaskRun=b9w7l4i1TqWQLymM0TaAFw.0)
- [How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)
- [Log link](https://treeherder.mozilla.org/logviewer?job_id=377246491&repo=try&lineNumber=2482)
Log snippet:
```
[task 2022-05-07T13:06:16.432Z] 13:06:16     INFO - TEST-START | accessible/tests/browser/bounds/browser_accessible_moved.js
[task 2022-05-07T13:06:17.344Z] 13:06:17     INFO - TEST-INFO | started process screentopng
[task 2022-05-07T13:06:17.822Z] 13:06:17     INFO - TEST-INFO | screentopng: exit 0
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - Buffered messages logged at 13:06:16
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - Entering test bound 
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - Buffered messages finished
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/bounds/browser_accessible_moved.js | uncaught exception - TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined at getWindowTitleForBrowser@chrome://browser/content/tabbrowser.js:1052:9
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - updateTitlebar@chrome://browser/content/tabbrowser.js:1062:29
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - _setTabLabel@chrome://browser/content/tabbrowser.js:1634:14
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - setTabTitle@chrome://browser/content/tabbrowser.js:1595:19
[task 2022-05-07T13:06:17.824Z] 13:06:17     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5848:33
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - 
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - Stack trace:
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - GECKO(1595) | JavaScript error: chrome://browser/content/tabbrowser.js, line 1052: TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - GECKO(1595) | [Parent 1595, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - GECKO(1595) | (firefox-default:1595): GLib-GObject-CRITICAL **: 13:06:17.527: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2022-05-07T13:06:17.825Z] 13:06:17     INFO - GECKO(1595) | [Parent 1595, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2022-05-07T13:06:17.835Z] 13:06:17     INFO - GECKO(1595) | (firefox-default:1595): GLib-GObject-CRITICAL **: 13:06:17.833: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2022-05-07T13:06:17.899Z] 13:06:17     INFO - GECKO(1595) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2022-05-07T13:06:17.903Z] 13:06:17     INFO - Console message: [JavaScript Error: "TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined" {file: "chrome://browser/content/tabbrowser.js" line: 1052}]
[task 2022-05-07T13:06:17.903Z] 13:06:17     INFO - getWindowTitleForBrowser@chrome://browser/content/tabbrowser.js:1052:9
[task 2022-05-07T13:06:17.904Z] 13:06:17     INFO - updateTitlebar@chrome://browser/content/tabbrowser.js:1062:29
[task 2022-05-07T13:06:17.904Z] 13:06:17     INFO - _setTabLabel@chrome://browser/content/tabbrowser.js:1634:14
[task 2022-05-07T13:06:17.904Z] 13:06:17     INFO - setTabTitle@chrome://browser/content/tabbrowser.js:1595:19
[task 2022-05-07T13:06:17.904Z] 13:06:17     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5848:33
[task 2022-05-07T13:06:17.905Z] 13:06:17     INFO - 
[task 2022-05-07T13:06:17.909Z] 13:06:17     INFO - GECKO(1595) | [Parent 1595, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2022-05-07T13:06:17.910Z] 13:06:17     INFO - GECKO(1595) | (firefox-default:1595): GLib-GObject-CRITICAL **: 13:06:17.908: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2022-05-07T13:06:17.940Z] 13:06:17     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | Recieved document load complete event - 
[task 2022-05-07T13:06:18.057Z] 13:06:18     INFO - GECKO(1595) | JavaScript error: , line 0: InvalidStateError: [fluent] Couldn't find a message: menu-bookmark-current-tab
[task 2022-05-07T13:06:18.081Z] 13:06:18     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2022-05-07T13:06:18.082Z] 13:06:18     INFO - load@resource://gre/modules/XULStore.jsm:66:15
[task 2022-05-07T13:06:18.083Z] 13:06:18     INFO - XULStore@resource://gre/modules/XULStore.jsm:24:10
[task 2022-05-07T13:06:18.083Z] 13:06:18     INFO - 
[task 2022-05-07T13:06:18.084Z] 13:06:18     INFO - GECKO(1595) | must wait for focus in content
[task 2022-05-07T13:06:18.086Z] 13:06:18     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: menu-bookmark-current-tab"]
[task 2022-05-07T13:06:18.201Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | Actually remote browser - 
[task 2022-05-07T13:06:18.218Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | x is non-0 - 
[task 2022-05-07T13:06:18.218Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | y is non-0 - 
[task 2022-05-07T13:06:18.218Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | width is non-0 - 
[task 2022-05-07T13:06:18.218Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | height is non-0 - 
[task 2022-05-07T13:06:18.265Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | Recieved reorder event - 
[task 2022-05-07T13:06:18.271Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | x is non-0 - 
[task 2022-05-07T13:06:18.271Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | y is non-0 - 
[task 2022-05-07T13:06:18.272Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | width is non-0 - 
[task 2022-05-07T13:06:18.273Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | height is non-0 - 
[task 2022-05-07T13:06:18.279Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | x is non-0 - 
[task 2022-05-07T13:06:18.280Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | y is non-0 - 
[task 2022-05-07T13:06:18.280Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | width is non-0 - 
[task 2022-05-07T13:06:18.280Z] 13:06:18     INFO - TEST-PASS | accessible/tests/browser/bounds/browser_accessible_moved.js | height is non-0 - 
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/bounds/browser_accessible_moved.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: menu-bookmark-current-tab - stack: (No stack available.)
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - Rejection date: Sat May 07 2022 13:06:18 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - Stack trace:
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - Leaving test bound 
[task 2022-05-07T13:06:18.360Z] 13:06:18     INFO - Entering test bound 
[task 2022-05-07T13:06:18.473Z] 13:06:18     INFO - GECKO(1595) | JavaScript error: , line 0: InvalidStateError: [fluent] Couldn't find a message: menu-bookmark-current-tab
[task 2022-05-07T13:06:18.474Z] 13:06:18     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: menu-bookmark-current-tab"]
[task 2022-05-07T13:06:18.764Z] 13:06:18     INFO - GECKO(1595) | JavaScript error: , line 0: InvalidStateError: [fluent] Couldn't find a message: menu-bookmark-current-tab
[task 2022-05-07T13:06:18.767Z] 13:06:18     INFO - GECKO(1595) | [Parent 1595, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2022-05-07T13:06:18.769Z] 13:06:18     INFO - GECKO(1595) | (firefox-default:1595): GLib-GObject-CRITICAL **: 13:06:18.767: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2022-05-07T13:06:18.778Z] 13:06:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-07T13:06:18.778Z] 13:06:18     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/bounds/browser_accessible_moved.js | uncaught exception - TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined at getWindowTitleForBrowser@chrome://browser/content/tabbrowser.js:1052:9
[task 2022-05-07T13:06:18.778Z] 13:06:18     INFO - updateTitlebar@chrome://browser/content/tabbrowser.js:1062:29
[task 2022-05-07T13:06:18.779Z] 13:06:18     INFO - _setTabLabel@chrome://browser/content/tabbrowser.js:1634:14
[task 2022-05-07T13:06:18.779Z] 13:06:18     INFO - setTabTitle@chrome://browser/content/tabbrowser.js:1595:19
[task 2022-05-07T13:06:18.780Z] 13:06:18     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5848:33
[task 2022-05-07T13:06:18.780Z] 13:06:18     INFO - 
[task 2022-05-07T13:06:18.781Z] 13:06:18     INFO - Stack trace:
[task 2022-05-07T13:06:18.781Z] 13:06:18     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-05-07T13:06:18.785Z] 13:06:18     INFO - GECKO(1595) | JavaScript error: chrome://browser/content/tabbrowser.js, line 1052: TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined
[task 2022-05-07T13:06:18.794Z] 13:06:18     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: menu-bookmark-current-tab"]
[task 2022-05-07T13:06:18.799Z] 13:06:18     INFO - Console message: [JavaScript Error: "TypeError: docElement.dataset[("contentTitle" + dataSuffix)] is undefined" {file: "chrome://browser/content/tabbrowser.js" line: 1052}]
[task 2022-05-07T13:06:18.799Z] 13:06:18     INFO - getWindowTitleForBrowser@chrome://browser/content/tabbrowser.js:1052:9
[task 2022-05-07T13:06:18.800Z] 13:06:18     INFO - updateTitlebar@chrome://browser/content/tabbrowser.js:1062:29
[task 2022-05-07T13:06:18.800Z] 13:06:18     INFO - _setTabLabel@chrome://browser/content/tabbrowser.js:1634:14
[task 2022-05-07T13:06:18.800Z] 13:06:18     INFO - setTabTitle@chrome://browser/content/tabbrowser.js:1595:19
[task 2022-05-07T13:06:18.800Z] 13:06:18     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5848:33
```