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)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehsan.akhgari, Assigned: mai)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
salva
: review+
Details | Review
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.
Actually this happens because the API is only built on gonk.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
We should still detect that properly and not get this js error.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Attached file patch v1.0
Salva, could you review the patch? Regards
Attachment #8403814 - Flags: review?(salva)
Assignee: nobody → mri
Comment on attachment 8403814 [details] [review] patch v1.0 Nice patch. Thank you :mai.
Attachment #8403814 - Flags: review?(salva) → review+
Master: 8253c47b64765d2595038a860a5b2141dd3a79c2
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Blocks: 991831
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: