Closed
Bug 836045
Opened 12 years ago
Closed 12 years ago
Update Webapps code to use the new deviceStorage stat() support
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(blocking-b2g:tef+, firefox19 wontfix, firefox20 wontfix, firefox21 fixed, b2g18 fixed, b2g18-v1.0.0 fixed, b2g18-v1.0.1 fixed)
People
(Reporter: tchung, Assigned: fabrice)
References
Details
(Keywords: regression, smoketest)
Attachments
(1 file)
(deleted),
patch
|
djf
:
review+
dougt
:
review+
|
Details | Diff | Splinter Review |
Trying to update the HERE maps webapp via OTA. fails to update.
Logcat:
01-29 14:38:40.381: E/GeckoConsole(108): [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/m.here.com/staged-update.webapp TypeError: deviceStorage.stat is not a function
01-29 14:38:40.381: E/GeckoConsole(108): @resource://gre/modules/Webapps.jsm:2242
01-29 14:38:40.381: E/GeckoConsole(108): startDownload/<@resource://gre/modules/Webapps.jsm:978
01-29 14:38:40.381: E/GeckoConsole(108): @resource://gre/modules/Webapps.jsm:640
01-29 14:38:40.381: E/GeckoConsole(108): NetUtil_asyncOpen/<.onStopRequest@resource://gre/modules/NetUtil.jsm:140
01-29 14:38:40.381: E/GeckoConsole(108): " {file: "resource://gre/modules/Webapps.jsm" line: 643}]
Repro:
1) install nightly unagi build:
Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/945b0ed70929
Gaia 0dcff9e1ff93d5c035f4a7b1bd28dd0e53792ef0
BuildID 20130129094039
Version 18.0
2) check for updates, and find one available for the NOkia HERE maps application
3) apply the update via notification dropdown
4) Verify failed to apply update
Expected:
- devicestorage works, update success
Actual;
- 3rd party update fails
Reporter | ||
Updated•12 years ago
|
Summary: 3rd party update fail: 01-29 14:38:40.381: E/GeckoConsole(108): [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/m.here.com/staged-update.webapp TypeError: deviceStorage.stat is not a function 01-29 14:38:40.381: E/Gec → 3rd party update fail: [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/m.here.com/staged-update.webapp TypeError: deviceStorage.stat is not a function 01-29 14:38:40.381: E/Gec
Reporter | ||
Updated•12 years ago
|
Summary: 3rd party update fail: [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/m.here.com/staged-update.webapp TypeError: deviceStorage.stat is not a function 01-29 14:38:40.381: E/Gec → 3rd party update fail: [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/m.here.com/staged-update.webapp TypeError: deviceStorage.stat is not a function
Assignee | ||
Updated•12 years ago
|
Summary: 3rd party update fail: [JavaScript Error: "DOMApplicationRegistry: Could not parse JSON: /data/local/webapps/m.here.com/staged-update.webapp TypeError: deviceStorage.stat is not a function → Update Webapps code to use the new deviceStorage stat() support
Assignee | ||
Comment 1•12 years ago
|
||
Bah.
Assignee: nobody → fabrice
Attachment #707835 -
Flags: review?(doug.turner)
Attachment #707835 -
Flags: review?(dflanagan)
Updated•12 years ago
|
Blocks: b2g-app-updates
Comment 4•12 years ago
|
||
Comment on attachment 707835 [details] [diff] [review]
patch
Review of attachment 707835 [details] [diff] [review]:
-----------------------------------------------------------------
looks good to me.
Attachment #707835 -
Flags: review?(dflanagan) → review+
Updated•12 years ago
|
Component: General → DOM: Apps
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Updated•12 years ago
|
Keywords: regression
Assignee | ||
Comment 5•12 years ago
|
||
Updated•12 years ago
|
Attachment #707835 -
Flags: review?(doug.turner) → review+
Reporter | ||
Comment 6•12 years ago
|
||
Thanks for the quick turnaround!
Comment 7•12 years ago
|
||
Oh, this is most definitely a TEF+ blocker. Package installation don't work at all without this change.
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•12 years ago
|
QA Contact: jsmith
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → fixed
status-firefox19:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Comment 11•12 years ago
|
||
Smoke Test Regression
Build 20130130070201
gaia: f7f5a0cd17e3d04308cc5850b254947e127122b9
gecko:066b9d7cf30884a001db22bde3ae939c02718062
Dec 5th kernel ,pmem_adsp_size=13631488
Unable to download privileged app , receive error message.
Repro frequency :
5/5 times on 2/2 devices
Comment 14•12 years ago
|
||
Verified on 1/31 - sanity tests look good, although by doing this testing we've caught two new bugs (bug 836909 and bug 836859).
Status: RESOLVED → VERIFIED
Keywords: verifyme
Assignee | ||
Comment 16•12 years ago
|
||
(In reply to Brendan Eich [:brendan] from comment #15)
> Need a testcase, no?
Yes, as soon as the new tests infra lands (bug 826058) we'll add a lot more to cover this kind of regressions.
Comment 17•12 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #16)
> (In reply to Brendan Eich [:brendan] from comment #15)
> > Need a testcase, no?
>
> Yes, as soon as the new tests infra lands (bug 826058) we'll add a lot more
> to cover this kind of regressions.
Agreed. bug 821589 is already tracking the work that will catch a regression such as this one. We probably work on that after bug 826058 lands.
Keywords: testcase-wanted
Updated•12 years ago
|
status-b2g18-v1.0.1:
--- → fixed
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•