Closed Bug 830229 Opened 11 years ago Closed 11 years ago

[JavaScript Error: "TypeError: app.uninstall is not a function" {file: "app://homescreen.gaiamobile.org/js/homescreen.js" line: 8

Categories

(Firefox OS Graveyard :: General, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: krupa.mozbugs, Unassigned)

Details

(Whiteboard: [dupeme])

<project name="releases/gecko.git" path="gecko" remote="mozillaorg" revision="5b551628272fc11f15617e654456b12022d4de16"/>
<project name="releases/gaia.git" path="gaia" remote="mozillaorg" revision="50034cf938ff160bfb9525b0653ba9f61013831e"/>

steps to reproduce:
1. install any app from marketplace-dev app
2. After successful install, try to uninstall the app

observed behavior:
uninstalling a third-party fails with [JavaScript Error: "TypeError: app.uninstall is not a function" {file: "app://homescreen.gaiamobile.org/js/homescreen.js" line: 8
Bug 820206 produces this break, which is moving .uninstall() from mozIDOMApplication to mozIDOMApplicationMgmt. After the gecko is updated, should be able to fix this issue.
(In reply to krupa raj 82[:krupa] from comment #0)
> <project name="releases/gecko.git" path="gecko" remote="mozillaorg"
> revision="5b551628272fc11f15617e654456b12022d4de16"/>
> <project name="releases/gaia.git" path="gaia" remote="mozillaorg"
> revision="50034cf938ff160bfb9525b0653ba9f61013831e"/>

After looking into this version set, actually it's a temporal compatibility break that Gaia is not yet updated (Gecko has already included that change). After updating Gaia to:

  commit 179fb88e0236cc22c3b28898379e98f8407fb733
  Author: Gene Lian <airpingu@gmail.com>
  Date:   Fri Jan 11 15:03:36 2013 +0800

then this issue will be fixed. That is, I can uninstall apps either from the homescreen (long tap the icon) or the settings app (Add permissions). Let's close this bug. Please feel free to reopen this issue if it is not properly solved. Thanks!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
Not a dupe of bug 830024.
Resolution: DUPLICATE → WORKSFORME
You need to log in before you can comment on or make changes to this bug.