Closed Bug 989916 Opened 10 years ago Closed 10 years ago

[System] Fix captive_portal_test.js when run in its own sandbox

Categories

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

defect
Not set
normal

Tracking

(b2g-v1.4 fixed)

RESOLVED FIXED
Tracking Status
b2g-v1.4 --- fixed

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

Attachments

(1 file)

Currently several errors appear when running this test in a sandbox. We need to fix this to enable sandboxing on travis.

  1) [system-test/unit/captive_portal_test.js] captive portal >  "before all" hook:
     Error: global leak detected: MozActivity
      at checkGlobals (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3907)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3795)
      at emit (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:230)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3978)
      at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712)
      at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46)
      at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73)
      at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
      at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979)
      at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712)
      at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46)
      at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73)
      at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
      at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
Attached file Github pull request
Landed: https://github.com/mozilla-b2g/gaia/commit/77a873e591bb8261130e752ba5f19164b1e23198
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
v1.4: 71aa8a3697e8daacdaee3d447a38ee10f13d5b54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: