Closed
Bug 986833
Opened 12 years ago
Closed 12 years ago
The cost control app doesn't work on b2g-desktop
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Assigned: mai)
References
Details
Attachments
(1 file)
Here is what I get:
JavaScript error: app://costcontrol.gaiamobile.org/js/common.js, line 391: navigator.mozNetworkStats is undefined
JavaScript error: app://costcontrol.gaiamobile.org/js/common.js, line 418: mobileConnections is undefined
The second error is understandable, but the first error seems to come from the fact that the networkstats-manage permission is not correctly granted to this app.
| Reporter | ||
Comment 1•12 years ago
|
||
Actually this happens because the API is only built on gonk.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 2•12 years ago
|
||
We should still detect that properly and not get this js error.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
| Assignee | ||
Comment 3•12 years ago
|
||
Salva,
could you review the patch?
Regards
Attachment #8403814 -
Flags: review?(salva)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mri
Comment 4•12 years ago
|
||
Comment on attachment 8403814 [details] [review]
patch v1.0
Nice patch. Thank you :mai.
Attachment #8403814 -
Flags: review?(salva) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Master: 8253c47b64765d2595038a860a5b2141dd3a79c2
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•