commit | f58cea1be5a939fda74b776d91215c9a2b274c8a | [log] [tgz] |
---|---|---|
author | Alex Ilin <alexilin@chromium.org> | Thu Feb 13 15:29:03 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 13 15:29:03 2020 |
tree | 3666462ab8f725fc52732869eab400073a107a56 | |
parent | a9dac2417e7730729e77a28f74d426231ce163a9 [diff] |
[identity] Don't abort launchWebAuthFlow if an iframe fails to navigate chrome.identity.launchWebAuthFlow() observes all navigations in the provider's auth flow. Chrome stops the auth flow if one of the navigations fails, assuming that the provider's auth URL cannot be load. This also includes navigations in sub-frames. Dropbox auth provider inserts <iframe>s with ReCAPTCHA challenges on their auth page. For some reason, this page decides to remove an iframe before it commits a navigation, making launchWebAuthFlow() abort the auth flow. This restriction looks unnecessary and prevents launchWebAuthFlow work with Dropbox auth provider. This CL stops launchWebAuthFlow() observing navigations in subframes. Bug: 1049565 Change-Id: I5b596466bc69410b12150221c456d1777106c0d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2054226 Commit-Queue: Alex Ilin <alexilin@chromium.org> Reviewed-by: David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#741060}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .