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

Message access pop-up appears even after aborting. #58

Closed
Amith-B opened this issue May 12, 2022 · 2 comments
Closed

Message access pop-up appears even after aborting. #58

Amith-B opened this issue May 12, 2022 · 2 comments

Comments

@Amith-B
Copy link

Amith-B commented May 12, 2022

When using a web OTP with windows.navigator the popup to access newly received message appears, it is fine. But this popup appears even after aborting the abortcontroller.

Try hitting submit without sending sms , this aborts controller, now send sms, the popup still appears.
Stackblitz example

Steps to reproduce:

  1. Start listening for the OTP through credentials.get
const abortController = new AbortController();

const otpConfig = {
  otp: { transport: ['sms'] },
  signal: abortController.signal
};

credentials.get(otpConfig).then(<some more code>)
.......
  1. Then abort the controller in setTimeout
    abortController.abort()
  2. Now send the sms after the controller is aborted, the message access pop-up still appears.
@agektmr
Copy link

agektmr commented May 17, 2022

@Amith-B If you are filing an implementation bug on Chrome rather than a spec bug, please file it at http://crbug.com/

@Amith-B
Copy link
Author

Amith-B commented May 19, 2022

Thanks for clarification. Have raised the bug in crbug.com.

https://bugs.chromium.org/p/chromium/issues/detail?id=1325206

@Amith-B Amith-B closed this as completed May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants