Bug 1740513 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

```
Console message: [JavaScript Error: "[Exception... "Component     returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMacUserActivityUp    dater.updateLocation]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location    : "JS frame :: chrome://browser/content/browser.js :: _updateMacUserActivit    y :: line 5593"  data: no]"]
```
In `--headless` mode the `updateUserMacActivity` fn call fails and the call to [`updatePageActions`](https://searchfox.org/mozilla-central/rev/a48e21143960b383004afa9ff9411c5cf6d5a958/browser/base/content/browser.js#5506) never happens anymore.
```
 0:06.30 INFO TEST-INFO | (browser-test.js) | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMacUserActivityUpdater.updateLocation]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://browser/content/browser.js :: _updateMacUserActivity :: line 5593"  data: no]"]
_updateMacUserActivity@chrome://browser/content/browser.js:5593:28
onLocationChange@chrome://browser/content/browser.js:5481:10
callListeners@chrome://browser/content/tabbrowser.js:899:31
_callProgressListeners@chrome://browser/content/tabbrowser.js:913:22
updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1122:12
_setupEventListeners/<@chrome://browser/content/tabbrowser.js:5612:16
set selectedIndex@chrome://global/content/elements/tabbox.js:202:14
set selectedPanel@chrome://global/content/elements/tabbox.js:220:7
set selectedIndex@chrome://global/content/elements/tabbox.js:544:11
set selectedItem@chrome://global/content/elements/tabbox.js:563:35
set selectedTab@chrome://global/content/elements/tabbox.js:85:11
set selectedTab@chrome://browser/content/tabbrowser.js:311:7
_blurTab@chrome://browser/content/tabbrowser.js:4092:31
_beginRemoveTab@chrome://browser/content/tabbrowser.js:3734:14
removeTab@chrome://browser/content/tabbrowser.js:3602:15
Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:422:16
nextTest@chrome://mochikit/content/browser-test.js:826:10
Tester_start/<@chrome://mochikit/content/browser-test.js:337:14

```
In `--headless` mode the `updateUserMacActivity` fn call fails and the call to [`updatePageActions`](https://searchfox.org/mozilla-central/rev/a48e21143960b383004afa9ff9411c5cf6d5a958/browser/base/content/browser.js#5506) never happens anymore.

Back to Bug 1740513 Comment 1