Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that failing to open the password dialog once won't permanently disable it (PR 15335 follow-up) #16768

Merged
merged 2 commits into from
Jul 30, 2023

Conversation

Snuffleupagus
Copy link
Collaborator

Please note: This situation should never happen in practice, but it nonetheless cannot hurt to fix this.

If the PasswordPrompt.open method would ever be called synchronously back-to-back and if opening of the dialog fails the first time, then the second invocation would remain pending indefinitely since we just clear out the capability.

…y disable it (PR 15335 follow-up)

*Please note:* This situation should never happen in practice, but it nonetheless cannot hurt to fix this.

If the `PasswordPrompt.open` method would ever be called synchronously back-to-back *and* if opening of the dialog fails the first time, then the second invocation would remain pending indefinitely since we just clear out the capability.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/5342612bc1e6be5/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/5342612bc1e6be5/output.txt

Total script time: 1.42 mins

Published

@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/17d52efaad46704/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/56f97dfd5f843cc/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/17d52efaad46704/output.txt

Total script time: 2.55 mins

  • Unit Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/56f97dfd5f843cc/output.txt

Total script time: 11.93 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit 1ef6fbc into mozilla:master Jul 30, 2023
@timvandermeij
Copy link
Contributor

Thanks!

@Snuffleupagus Snuffleupagus deleted the pr-15335-followup branch July 30, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants