Closed
Bug 1380688
Opened 7 years ago
Closed 7 years ago
[dt-addon] Fix DevTools xpcshell tests on android
Categories
(DevTools :: General, enhancement)
DevTools
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1380687
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.
Comment 1•7 years ago
|
||
dupe of bug 1380687?
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•7 years ago
|
||
Sorry about the dupes! Connection was really bad when I created the bug, must have submitted too many times.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•