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

Fix for popup blocker #265

Merged
merged 1 commit into from
Nov 7, 2019
Merged

Fix for popup blocker #265

merged 1 commit into from
Nov 7, 2019

Conversation

aarongranick-okta
Copy link
Contributor

@aarongranick-okta aarongranick-okta commented Nov 6, 2019

  • behavior is seen on firefox, not chrome. Popup blocker leaves us with an "undefined" window object
  • fix potential infinite loop with closePoller() - polling will stop as soon as window is closed or promise is resolved. The promise should only reject one time.
  • add test for popup block case
  • add test for popup timeout

Fixes: #221

@aarongranick-okta aarongranick-okta merged commit e26be85 into master Nov 7, 2019
@aarongranick-okta aarongranick-okta deleted the ag-popup-OKTA-241769 branch November 7, 2019 19:42
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

Successfully merging this pull request may close these issues.

getWithPopup infinite loop error
2 participants