Closed
Bug 1380687
Opened 7 years ago
Closed 5 years ago
[dt-addon] Fix DevTools xpcshell tests on android
Categories
(DevTools :: General, enhancement, P3)
DevTools
General
Tracking
(firefox57 fix-optional)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: jdescottes, Unassigned)
References
Details
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.
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Updated•6 years ago
|
Product: Firefox → DevTools
Reporter | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•