Closed Bug 971538 Opened 11 years ago Closed 11 years ago

[System2] Instantiable PermissionManager

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alive, Assigned: gasolin)

References

Details

Attachments

(1 file)

We need permission_manager.js to be instantiable and let bootstrap or its parent module to instantiate it. Also jsdoc + unit test improvement wanted.
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
Attachment #8397589 - Flags: review?(alive)
Comment on attachment 8397589 [details] [review] pull request redirect to github r+ with nits
Attachment #8397589 - Flags: review?(alive) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
will revert this via https://github.com/mozilla-b2g/gaia/pull/17937 to fix gaia unit test error for quick settings > wifi test. Will check why this effect the quick settings test...
(In reply to Fred Lin [:gasolin] from comment #5) > will revert this via https://github.com/mozilla-b2g/gaia/pull/17937 to fix > gaia unit test error for quick settings > wifi test. > > Will check why this effect the quick settings test... Sorry, I already beat you to it :-p Backed out: https://github.com/mozilla-b2g/gaia/commit/713c370cbbe67c082e912d947eb4c047bc2243ec Please ensure travis is green before merging in the future. Error details: [system] quick settings > system/quick settings/enable wifi: Connected: Error: expected false to equal true at chaiAssert (http://system.gaiamobile.org:8080/common/test/helper.js:33:1) at equal (http://system.gaiamobile.org:8080/common/vendor/chai/chai.js:1250:1) at (anonymous) (http://system.gaiamobile.org:8080/test/unit/quick_settings_test.js:79:1) at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:62:13) at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7) at runTest (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081:5) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127:7) at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007:7) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016:7) at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964:16) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979:7) at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9) at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46:13) at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73:15) at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7) at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979:7) at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9) at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46:13) at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73:15) at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7) at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984:5) at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932:28)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Same commit merged with travis green https://github.com/mozilla-b2g/gaia/commit/f1a98bfaa3ab2480945bd7018831fd56c61cdc24 thanks kevin for travis sanbox!
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Blocks: 994527
Blocks: 994571
Depends on: 996264
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: