Closed Bug 772307 Opened 8 years ago Closed 8 years ago
.js needs 'browser .manifest URL' pref when running mochitests
Summary: B2G fails to read user.js after restarting with new profile → B2G fails to read user.js after restarting with new profile; unable to run mochitests on B2G
We don't usually block on tests, but this is the whole test harness.
blocking-basecamp: ? → +
This blocks reftests as well.
This occurs on the otoro device as well as the emulator.
It turns out that the line numbers between the version of shell.js in m-c and the version that b2g ends up using are off by 4. It should be line 85 instead of line 81 (both lines coincidentally have a call to getCharPref(), which was confusing). At any rate, this has nothing to do with reading user.js and is caused by a change introducing the 'browser.manifestURL' pref which was missing from the synthesized user.js files in mochitest and reftest. We'll need to add this pref to the prefs.js created by mochitest (reftest isn't checked in yet).
Component: General → Mochitest
Product: Boot2Gecko → Testing
Summary: B2G fails to read user.js after restarting with new profile; unable to run mochitests on B2G → B2G user.js needs 'browser.manifestURL' pref when running mochitests
Comment on attachment 641298 [details] [diff] [review] Patch 1.0 - Add pref to b2gautomation Review of attachment 641298 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #641298 - Flags: review?(jgriffin) → review+
Assignee: nobody → ahalberstadt
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in before you can comment on or make changes to this bug.