Open Bug 1508977 Opened 1 year ago Updated 1 year ago

[Meta]Make GeckoView easier to mock


(GeckoView :: General, enhancement)

Not set


(Not tracked)


(Reporter: fluffyemily, Unassigned)


(Blocks 1 open bug)


(Keywords: meta)

A-C wants to run unit tests that run locally (on desktop)

GV native code prevents running locally.

A-C has to mock most GV APIs to run unit tests locally, some of which is hard to do due to visibility.

Possible ways to improve:

* Add getters on data objects, instead of just fields?
* Make GV constructors public or protected so apps can mock?
* Can GV provide our own mock objects or a mocking mode?
Depends on: 1508442
Product: Firefox for Android → GeckoView
You need to log in before you can comment on or make changes to this bug.