Closed
Bug 951886
Opened 10 years ago
Closed 6 years ago
[System] Application does not degrade gracefully when `mozBluetooth` is undefined
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jugglinmike, Assigned: arno)
References
Details
When run in contexts that do not implement the `navigator.mozBluetooth` API, the System application (specifically `nfc_handover.js` [1]) raises an uncaught exception. This is particularly troublesome in automated testing environments, where uncaught exceptions (even non-critical ones) can interrupt test execution. This bug specifically causes an intermittent failures in the integration tests for the JavaScript Marionette client (see bug 950973, along with the failing build on TravisCI [1]). [1] https://github.com/mozilla-b2g/gaia/blob/744f691f670dae93f160dc1199592a033b30b78a/apps/system/js/nfc_handover.js#L19 [2] https://travis-ci.org/mozilla-b2g/marionette-js-client/builds/15585099
Reporter | ||
Comment 1•10 years ago
|
||
Hi Kyle, Can you recommend someone to take a look at this bug and bug 951888? These bugs are continuing to cause failures in the JavaScript Marionette client tests [1], which makes reviewing changes difficult. [1] https://travis-ci.org/mozilla-b2g/marionette-js-client/builds
Reporter | ||
Comment 2•10 years ago
|
||
Sorry, Kyle--I forgot to flag you for "needsinfo" in comment 1. See above
Flags: needinfo?(kyle)
Comment 3•10 years ago
|
||
Assigning to Arno Puder since this came in as part of Bug 903305. CC'ing Garner Lee just in case he or Arno know of someone better to assign to since I'm not sure who's doing what on NFC now.
Assignee: nobody → arno
Flags: needinfo?(kyle)
Comment 4•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•