[meta] Re-enable disabled WebExtension mochitests on GeckoView
Categories
(WebExtensions :: Android, task, P3)
Tracking
(Not tracked)
People
(Reporter: robwu, Unassigned)
References
(Depends on 4 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
In bug 1511134 and bug 1525959, some extension tests got disabled when run in GeckoView.
Some tests are already passing without changes; others will pass as we fill in the missing parts. We should try to re-enable as many tests as possible.
(note: for now this is only about plain mochitests. mochitest-chrome do currently not run at all, so they haven't been disabled - bug 1481945).
Reporter | ||
Comment 1•5 years ago
|
||
Some of these tests depend on being able to load an extension page (moz-extension:
-URL), so I'll add a dependency on bug 1534640.
Reporter | ||
Comment 2•5 years ago
|
||
Multiple tests were disabled because the tabs
event were not implemented. The implementation is being worked on in bug 1562844, and together with the working implementation, multiple tests can be re-enabled.
Reporter | ||
Comment 3•5 years ago
|
||
To whoever who works on enabling more mochitests: Note that on try servers, the TV jobs don't run with GeckoView (bug 1566423).
You should locally run tests with --verify
as an alternative, for example with:
./mach mochitest -f plain --app org.mozilla.geckoview.test mobile/android/components/extensions/test/mochitest/ --verify
Use adb logcat
to see the logs for debugging.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 5•3 years ago
|
||
I'm re-enabling some tests in bug 1641735, the last remaining one in mobile/android would be https://searchfox.org/mozilla-central/rev/ad2ffab089e4e0c0fe99a1a046ab2b1c45546bdb/mobile/android/components/extensions/test/mochitest/mochitest.ini#30, blocked on the absence of a tab.lastAccessed
implementation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•