Closed
Bug 770297
Opened 12 years ago
Closed 12 years ago
Call to isLaunchable in getSelf/getInstalled/getAll/getNotInstalled needs to be the app origin, not the install origin
Categories
(Firefox Graveyard :: Web Apps, defect)
Firefox Graveyard
Web Apps
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 16
People
(Reporter: jsmith, Assigned: Felipe)
References
Details
(Whiteboard: [qa!])
Attachments
(1 file)
2.47 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
Steps: 1. Go to marketplace.mozilla.org 2. Install a free web application 3. Uninstall the free web application 4. Go to app page for the app in step #2 Expected: The app install button should be showed as "install" Actual: The app install button is still showed as "installed." Under the hood, they are using getInstalled() to determine this.
Reporter | ||
Comment 1•12 years ago
|
||
Looks like this generally applies to getAll() and getInstalled()
Summary: Uninstalling an app on Windows - Marketplace still shows that the app is "installed" even though getInstalled is used → Uninstalling an app on Windows - App still considered installed by getInstalled() from Marketplace and getAll() from myapps
Reporter | ||
Updated•12 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Uninstalling an app on Windows - App still considered installed by getInstalled() from Marketplace and getAll() from myapps → Call to isLaunchable in getSelf/getInstalled/getAll/getNotInstalled needs to be the app origin, not the install origin
Assignee | ||
Comment 2•12 years ago
|
||
Pushed patch to try, https://tbpl.mozilla.org/?tree=Try&rev=b7eafe9208af Builds to appear at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/felipc@gmail.com-b7eafe9208af
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•12 years ago
|
||
Working with Felipe, we've figured out the root cause. Looks like the calls to isLaunchable in getSelf/getInstalled/getAll/getNotInstalled is using the install origin, not the app origin. That explains why there's a lot of problems being seen.
Assignee | ||
Comment 6•12 years ago
|
||
Huh I was using the wrong origin to check if an app was installed, which had the amusing effect of considering if an app was installed or not based on if you had the Marketplace app itself installed
Attachment #638545 -
Flags: review?(fabrice)
Updated•12 years ago
|
Attachment #638545 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 8•12 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8155cc5972d6
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Reporter | ||
Updated•12 years ago
|
Whiteboard: [qa+]
Reporter | ||
Comment 9•12 years ago
|
||
Did a good amount of testing with the try build on Windows - it works! Did tests such as: - Installing and uninstalling apps on marketplace - Viewing apps on the myapps dashboard - Installing apps with and without appcache support - Testing apps natively vs. acquired
Comment 10•12 years ago
|
||
Just tested with Linux and it's working.
Reporter | ||
Updated•12 years ago
|
QA Contact: jsmith
Reporter | ||
Comment 11•12 years ago
|
||
Verified on Nightly for Windows 7, Windows XP, OS X 10.7, and Ubuntu 12.
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•