Closed
Bug 1168608
Opened 10 years ago
Closed 10 years ago
dom/apps/Webapps.jsL734: TypeError: this._window is null (prevents installation of apps)
Categories
(Firefox Graveyard :: Webapp Runtime, defect)
Firefox Graveyard
Webapp Runtime
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: nick, Unassigned)
References
Details
Attachments
(1 file)
321 bytes,
text/html
|
Details |
var req = navigator.mozApps.installPackage('http://localhost:3000/mini.webapp');
req.onsuccess = console.log.bind(console, 'success');
req.onerror = console.error.bind(console);
onsuccess fires but the app is not installed
[Parent 27066] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/Nicholas/mozilla/mozilla-central-git/dom/events/ContentEventHandler.cpp, line 110
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
++DOMWINDOW == 10 (0x119957800) [pid = 27068] [serial = 16] [outer = 0x122212c00]
--DOCSHELL 0x119962000 == 2 [pid = 27068] [id = 1]
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
[Parent 27066] WARNING: No docshells for remote frames!: file /Users/Nicholas/mozilla/mozilla-central-git/dom/base/nsFrameLoader.cpp, line 491
JavaScript error: file:///Users/Nicholas/mozilla/mozilla-central-git/obj-x86_64-apple-darwin14.3.0/dist/NightlyDebug.app/Contents/Resources/components/Webapps.js, line 734: TypeError: this._window is null
Same error if I open in new window, or new non e10s window.
Reporter | ||
Comment 1•10 years ago
|
||
If I turn off e10s in preferences (command + ,) onsuccess fires, no install and different error in the console:
[28026] WARNING: NS_ENSURE_TRUE(!(exists)) failed: file /Users/Nicholas/mozilla/mozilla-central-git/toolkit/profile/nsToolkitProfileService.cpp, line 730
[28026] WARNING: NS_ENSURE_TRUE(piTarget) failed: file /Users/Nicholas/mozilla/mozilla-central-git/dom/events/EventDispatcher.cpp, line 469
[28026] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /Users/Nicholas/mozilla/mozilla-central-git/netwerk/base/nsFileStreams.cpp, line 205
[28026] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /Users/Nicholas/mozilla/mozilla-central-git/netwerk/base/nsFileStreams.cpp, line 492
JavaScript error: resource://gre/modules/Webapps.jsm, line 3477: ReferenceError: e is not defined
Reporter | ||
Comment 2•10 years ago
|
||
This is if I try to install a packaged app locally.
Reporter | ||
Comment 3•10 years ago
|
||
The install script I'm using. Not able to share the packaged app, though with reviewer privileges it can be downloaded from https://marketplace.firefox.com/developers/app/saint-seiya-cosmo-cards/status and clicking download under packaged versions.
Reporter | ||
Comment 4•10 years ago
|
||
I'll have to figure out what I'm doing wrong, I can install packaged apps from marketplace just fine: https://marketplace.firefox.com/app/outlook-com?src=search
Reporter | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 5•10 years ago
|
||
Hmm, I tried my calculator app to be sure, and made sure to follow the directions here: https://developer.mozilla.org/en-US/Marketplace/Options/Self_publishing
Doesn't work in nightly build or FF release (onsuccess but no app installed).
Assignee | ||
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•