Closed Bug 1261253 Opened 8 years ago Closed 8 years ago

Fix and enable the test_locale_converter.js xpcshell test on android.

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mattw, Unassigned)

References

(Depends on 1 open bug)

Details

Currently, the test fails because Cc["@mozilla.org/addons/policy-service;1"] is `undefined`.

Kris suggested that the issue might be in the way we're setting up the xpcshell tests. Here is a summary of our conversation over IRC: Specifically, the firefox-appdir in xpcshell.ini is set to `browser` when that might not work on fennec. We can't just update the firefox-appdir to 'mobile/android' because you can't set two appdirs in the same manifest. If we need to make that kind of change, the two options are to either skip the test on Android, or add another manifest that's android-specific. There might be a better option, but I don't know one off the top of my head.
Depends on: 1260888
Iteration: 48.2 - Apr 4 → ---
gbrown: do you have any suggestions here?
Flags: needinfo?(gbrown)
Depends on: 1261461
I wasn't aware of this appdir feature, and as far as I can tell, there's no support for it on Android. I filed bug 1261461 outlining some of the issues (it's worse than you think!), but I don't see any reasonably quick solution.
Flags: needinfo?(gbrown)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.