No auth prompt for "network.continueWithAuth" with action=default on Android
Categories
(Remote Protocol :: WebDriver BiDi, defect, P3)
Tracking
(Not tracked)
People
(Reporter: jdescottes, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:backlog])
When using network.continueWithAuth with action=default, the browser should show the authentication prompt. However on Android it seems to skip the prompt and cancel the authentication.
This makes one of our wdspec tests fail.
See Bug 1826196 comment 6 for more details.
Updated•2 years ago
|
| Reporter | ||
Comment 1•2 years ago
|
||
Olivia shared some pointers on how to fix this. Looks like we need to add some logic to handle the auth prompt.
(In reply to Olivia Hall [:olivia] from Bug 1826196 comment #7)
Hi Julian,
Thanks for looking at GeckoView too!
We never go into what seems to be the real code showing a prompt in BasicGeckoViewPrompt.
Is this happening in automation? If that is the case, it looks like
onAuthPromptisn't implemented in the test runner activity. GeckoView example activity code isn't shared with the test runner activity. So, if this is in automation, we will need to add an implementation in the test runner for automation too.I also think to fully implement the prompt for WebDriver in the test runner, GVE and the other apps, we might also need to add some logic to the JavaScript side. I'm not sure if this one is a special case or not. For example, adding an auth prompt response. Here are the list of prompt names. I'm guessing this one might be under the
asyncPromptAuthname. We will also need to add some functionality/data to it and what it can return. This patch might be a useful outline of all the pieces too, if we need to go in that direction.
| Reporter | ||
Updated•2 years ago
|
Description
•