Bug 1543354 Comment 3 Edit History

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

Interestingly, bp-ee28781a-14c3-46f0-b104-5caef0190410 has a different `async shutdown timeout` signature than reported.
This is because the test is a temporary add-on, and stuck at https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/toolkit/mozapps/extensions/internal/XPIProvider.jsm#2340

Another interesting observation is that the `state` is `Startup: Run manifest` instead of `Startup: Run manifest: asyncEmitManifestEntry("background")` (to see the state: enable debugging at `about:debugging`, press Ctrl-Shift-J to open the global JS console and run `ChromeUtils.import('resource://gre/modules/addons/XPIProvider.jsm').XPIProvider.activeAddons.get('@reproduction-for-bug-1543354').scope.extension.state` ).
This is because the extra state is discarded upon running this line: https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/toolkit/components/extensions/Extension.jsm#1976
Interestingly, bp-ee28781a-14c3-46f0-b104-5caef0190410 has a different `async shutdown timeout` signature than reported.
This is because the test is a temporary add-on, and stuck at https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/toolkit/mozapps/extensions/internal/XPIProvider.jsm#2340

Another interesting observation is that the `state` is `Startup: Run manifest` instead of `Startup: Run manifest: asyncEmitManifestEntry("background")` (to see the state: enable debugging at `about:debugging`, press Ctrl-Shift-J to open the global JS console and run `ChromeUtils.import('resource://gre/modules/addons/XPIProvider.jsm').XPIProvider.activeAddons.get('@reproduction-for-bug-1543354').scope.extension.state` ).
This is because the extra state is discarded upon running this line: https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/toolkit/components/extensions/Extension.jsm#1976

EDIT: Reported the "interesting observation" as bug 1543384

Back to Bug 1543354 Comment 3