• Robert Knight's avatar
    Fix login flow triggering popup blocker in Firefox and IE · 7626dd65
    Robert Knight authored
    hypothesis/client#603 broke the login popup window in Firefox and IE
    because the call to `window.open` no longer happens in the same turn of
    the event loop as the user's click on the "Login" link. It is therefore
    no longer considered in FF to have happened "in response to a user
    gesture".
    
    This PR fixes the issue by separating creation and use of the popup
    window into separate functions and moving creation to happen earlier, in
    the same event loop turn as the "Login" button click.
    
    Fixes #534
    7626dd65
Name
Last commit
Last update
..
account-id-test.js Loading commit data...
disable-opener-for-external-links-test.js Loading commit data...
excerpt-overflow-monitor-test.js Loading commit data...
fake-window.js Loading commit data...
is-third-party-service-test.js Loading commit data...
memoize-test.js Loading commit data...
oauth-client-test.js Loading commit data...
random-test.js Loading commit data...
scope-timeout-test.js Loading commit data...
session-util-test.js Loading commit data...
url-util-test.js Loading commit data...