Bug: A promise chain failed to handle a rejection: can't access property "updateCount", updateManager is undefined - stack: lastBrowserUpdateDate@resource:///modules/UrlbarProviderSearchTips.jsm:415:7
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2020-01-20 12:02:59+00:00
Resolved: 2020-01-23 19:32:24+00:00

I updated my checkout, ran a test and encountered an unrelated failure at https://searchfox.org/mozilla-central/rev/803a42f24c8714631ed81cb824ea1c1a803cb7b8/browser/components/urlbar/UrlbarProviderSearchTips.jsm#415

$ ./mach test toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_getCurrent.js

Unexpected Results
\------------------
toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_getCurrent.js
  **FAIL A promise chain failed to handle a rejection: can't access property "updateCount", updateManager is undefined - stack: lastBrowserUpdateDate@resource:///modules/UrlbarProviderSearchTips.jsm:415:7**
_maybeShowTipForUrl@resource:///modules/UrlbarProviderSearchTips.jsm:284:22
onLocationChange@resource:///modules/UrlbarProviderSearchTips.jsm:253:10
onLocationChange@chrome://browser/content/browser.js:5462:32
callListeners@chrome://browser/content/tabbrowser.js:827:31
_callProgressListeners@chrome://browser/content/tabbrowser.js:841:22
updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1069:12
_setupEventListeners/<@chrome://browser/content/tabbrowser.js:5310:16
set selectedIndex@chrome://global/content/elements/tabbox.js:208:14
set selectedPanel@chrome://global/content/elements/tabbox.js:227:7
set selectedIndex@chrome://global/content/elements/tabbox.js:559:11
set selectedItem@chrome://global/content/elements/tabbox.js:579:35
set selectedTab@chrome://global/content/elements/tabbox.js:98:11
set selectedTab@chrome://browser/content/tabbrowser.js:316:7
_blurTab@chrome://browser/content/tabbrowser.js:3866:31
_beginRemoveTab@chrome://browser/content/tabbrowser.js:3524:12
removeTab@chrome://browser/content/tabbrowser.js:3407:15
Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
nextTest@chrome://mochikit/content/browser-test.js:821:10
Tester_start/<@chrome://mochikit/content/browser-test.js:352:14
Rejection date: Mon Jan 20 2020 12:58:37 GMT+0100 (Central European Standard Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
Stack trace:
resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
chrome://mochikit/content/browser-test.js:Tester_execTest/<:1093
chrome://mochikit/content/browser-test.js:Tester_execTest:1097
chrome://mochikit/content/browser-test.js:nextTest/<:925
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
  **FAIL A promise chain failed to handle a rejection: can't access property "updateCount", updateManager is undefined - stack: lastBrowserUpdateDate@resource:///modules/UrlbarProviderSearchTips.jsm:415:7**
_maybeShowTipForUrl@resource:///modules/UrlbarProviderSearchTips.jsm:284:22
onLocationChange@resource:///modules/UrlbarProviderSearchTips.jsm:253:10
onLocationChange@chrome://browser/content/browser.js:5462:32
callListeners@chrome://browser/content/tabbrowser.js:827:31
_callProgressListeners@chrome://browser/content/tabbrowser.js:841:22
_callProgressListeners@chrome://browser/content/tabbrowser.js:5746:46
onLocationChange@chrome://browser/content/tabbrowser.js:6164:14
_callProgressListeners@resource://gre/modules/RemoteWebProgress.jsm:75:31
onLocationChange@resource://gre/modules/RemoteWebProgress.jsm:119:10
Rejection date: Mon Jan 20 2020 12:58:38 GMT+0100 (Central European Standard Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
Stack trace:
resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
chrome://mochikit/content/browser-test.js:Tester_execTest/<:1093
chrome://mochikit/content/browser-test.js:Tester_execTest:1097
chrome://mochikit/content/browser-test.js:nextTest/<:925
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808