Closed Bug 1443178 Opened 6 years ago Closed 6 years ago

Activity Stream fails to shutdown when Marionette quits headless Firefox

Categories

(Remote Protocol :: Marionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1436348

People

(Reporter: ato, Unassigned)

Details

The following output is from "MOZ_HEADLESS=1 ./mach wpt --webdriver-arg=-vv testing/web-platform/tests/webdriver/tests/navigation/get_title.py", though it is not entirely reproducible:

>  0:07.58 pid:5918 1520266286418	addons.xpi	WARN	Add-on shield-recipe-client@mozilla.org is missing bootstrap method shutdown
>  0:07.59 pid:5918 1520266286420	addons.xpi	WARN	Exception running bootstrap method shutdown on activity-stream@mozilla.org: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://activity-stream/lib/SnippetsFeed.jsm :: uninit :: line 168"  data: no] Stack trace: uninit()@resource://activity-stream/lib/SnippetsFeed.jsm:168
>  0:07.59 pid:5918 onAction()@resource://activity-stream/lib/SnippetsFeed.jsm:184
>  0:07.59 pid:5918 _middleware/</<()@resource://activity-stream/lib/Store.jsm:49
>  0:07.59 pid:5918 Store/this[method]()@resource://activity-stream/lib/Store.jsm:28
>  0:07.59 pid:5918 uninit()@resource://activity-stream/lib/Store.jsm:151
>  0:07.59 pid:5918 uninit()@resource://activity-stream/lib/ActivityStream.jsm:290
>  0:07.59 pid:5918 uninit()@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/ato/src/gecko/obj-x86_64-pc-linux-gnu/dist/bin/browser/features/activity-stream@mozilla.org/bootstrap.js:73
>  0:07.59 pid:5918 shutdown()@resource://gre/modules/addons/XPIProvider.jsm -> file:///home/ato/src/gecko/obj-x86_64-pc-linux-gnu/dist/bin/browser/features/activity-stream@mozilla.org/bootstrap.js:169
>  0:07.59 pid:5918 callBootstrapMethod()@resource://gre/modules/addons/XPIProvider.jsm:4414
>  0:07.59 pid:5918 observe()@resource://gre/modules/addons/XPIProvider.jsm:2273
>  0:07.59 pid:5918 GeckoDriver.prototype.quit()@driver.js:2734

I don’t see this when not running in headless mode.
Summary: Activity Stream fails to shutdown when Marionette quits Firefox → Activity Stream fails to shutdown when Marionette quits headless Firefox
I appear to have double-reported this bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.