Open Bug 1761480 Opened 2 years ago Updated 1 year ago

[Android] Add support for additional prompt types for GeckoView

Categories

(Remote Protocol :: Marionette, enhancement, P3)

Default
All
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

Details

GeckoView sends the standard simple dialogs, prompt, alert, confirm, used by WebDriver, but it also can send additional prompt types such as choice and datetime.

Some of these additional prompt types occur when a form field is focused. For example, entering a select HTML form field will cause a choice prompt to populate. This can cause unexpected prompts to appear in Marionette, because it isn't a simple dialog.

Presently, only simple dialogs are collected for Marionette to use.

An example test that will cause the unexpected prompt behavior in Marionette, if all prompt types are available, is wpt /css/selectors/focus-visible-002.html. This test will cause a datetime prompt to populate. GeckoViewPrompterParent.jsm has an isDialog property that is currently used to prevent passing on these additional prompt types for Marionette to use.

See Also: → 1708105
See Also: → 1712414
Summary: GeckoView sends additional prompt types that are not handled in Marionette → GeckoView can send additional prompt types for Marionette

After talking to Olivia this list of prompt types should actually cover the remaining work to do.

As discussed today in our meeting we want to wait until the webdriver tests are run in CI (bug 1749444). That way we can more easily see how many tests are actually affected and especially which kind of prompts we would have to implement next.

Depends on: 1749444
Priority: -- → P3
Hardware: Unspecified → All
Summary: GeckoView can send additional prompt types for Marionette → [Android] Add support for additional prompt types for GeckoView

Lots of tests depend on opening a new tab. To get a better view into what's needed here lets have bug 1506782 fixed first.

Depends on: 1506782
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.