When DevTools are migrated to be a system addon (Bug 1369801), the addon needs to be installed before starting xpcshell tests. For the desktop version it can be done by navigating to find the addon and installing it via the Components.manager.addBootstrappedManifestLocation. However when running xpcshell tests for Fennec, the system addon files are not available though. In the APK system addons are under /assets/features/. This folder is supposed to be copied to the app's data directory in http://searchfox.org/mozilla-central/rev/cef8389c687203085dc6b52de2fbd0260d7495bf/mobile/android/base/java/org/mozilla/gecko/updater/PostUpdateHandler.java#51 This is either called too late, or not called at all when running xpcshell tests. We will disable on android the 4 devtools xpcshell tests that still run on this platform: - devtools/shared/discovery/tests/unit/test_discovery.js - devtools/shared/platform/content/test/test_stack.js - devtools/shared/qrcode/tests/unit/test_encode.js - devtools/shared/security/tests/unit/test_encryption.js The purpose of this bug is to find a way to reactivate them.
You need to log in before you can comment on or make changes to this bug.