Closed
Bug 857598
Opened 13 years ago
Closed 13 years ago
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
Bug 854937 introduced a regression in addon/runner code, when using cfx run/test, where we do not wait for session restore event as we now receive an "install" reason.
https://github.com/mozilla/addon-sdk/blob/master/lib/sdk/addon/runner.js#L73
Then we later fail on addon window code that tries to access hidden window which isn't ready yet.
This error won't happen on regular addon install.
The hard part is that there is no way to know if sessionstore-windows-restored has already been fired or not. I'll shortly open a bug to handle this properly.
We shouldn't wait for this event based on startup reason in first place.
| Assignee | ||
Comment 1•13 years ago
|
||
Here is a workaround, as necessary platform tweaks may require some time to get in.
Assignee: nobody → poirot.alex
Attachment #732855 -
Flags: review?(dtownsend+bugmail)
Updated•13 years ago
|
Attachment #732855 -
Flags: review?(dtownsend+bugmail) → review+
Comment 2•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/338198ceb2d74ad11b795e82c402175a34b71550
Bug 857598: Ensure waiting for session restore event before running the addon.
https://github.com/mozilla/addon-sdk/commit/b0b967e47785a0a84e2908d94fe9b8886b786d41
Merge pull request #916 from ochameau/bug857598
Bug 857598: Ensure waiting for session restore event before running the addon. r=@mossop
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 857750
Comment 3•13 years ago
|
||
Commits pushed to integration at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/338198ceb2d74ad11b795e82c402175a34b71550
Bug 857598: Ensure waiting for session restore event before running the addon.
https://github.com/mozilla/addon-sdk/commit/b0b967e47785a0a84e2908d94fe9b8886b786d41
Merge pull request #916 from ochameau/bug857598
You need to log in
before you can comment on or make changes to this bug.
Description
•