Re-enable mobile/android/components/extensions/test/mochitest/test_ext_tabs_executeScript_bad.html
Categories
(WebExtensions :: Android, task, P3)
Tracking
(firefox75 fixed)
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: robwu, Assigned: championshuttler, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 obsolete file)
I just ran the test locally, and it completed successfully without errors.
To resolve this bug, simply remove https://searchfox.org/mozilla-central/rev/7ed8e2d3d1d7a1464ba42763a33fd2e60efcaedc/mobile/android/components/extensions/test/mochitest/mochitest.ini#27
Reporter | ||
Comment 1•5 years ago
|
||
The fix is easy, so this is a very good candidate for people who want to get familiar with contributing to extension code on Android.
To get started, see https://wiki.mozilla.org/WebExtensions/Contribution_Onramp
Then start the Android emulator with ./mach android-emulator
To check whether the patch works, run the following command (don't forget to set the MOZCONFIG
environment variable if needed):
./mach mochitest mobile/android/components/extensions/test/mochitest/
Without a fix, the output will be:
4:27.28 TEST_START: mobile/android/components/extensions/test/mochitest/test_ext_tabs_executeScript_bad.html
4:27.28 TEST_END: SKIP
When the test is re-enabled, the test should run to completion.
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
Hi Harsh, this issue is still open.
You have to set up a development environment to run the test in an Android emulator, and confirm that the test passes after fixing the bug. See comment 1 for more details.
Comment 4•5 years ago
|
||
Hello Rob :)
Could I ask you about android build?
I want to build android and run command (i.e, ./mach android-emulator
).
Should I refer this page(Build Using Android Studio section
)[0] for solving what I want?
[0]
https://mozilla.github.io/geckoview/contributor/geckoview-quick-start
Comment 5•5 years ago
|
||
The reason why I ask this is because there is an up-to-date issue in the document and an error occurs when I follow the manual.
When performing the following manuals:
If the gradle sync does not automatically start, select File > Sync Project with Gradle Files.
The following error occurs:
ERROR: Building with Gradle is only supported for Fennec, i.e., MOZ_BUILD_APP == 'mobile/android'.
Reporter | ||
Comment 6•5 years ago
|
||
I have never tried to build with Android studio, only the command line, like this:
./mach bootstrap
./mach build
Are you running into problems when you try to build Android? If so, please file a new bug in the "Firefox Build System" product, specifically the "Android Studio and Gradle integration" component. Here is the list of open bugs. If you prefer to chat (outside of Bugzilla), join us in the #addons room at chat.mozilla.org.
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•