[identity] Fix a regression in the extension remote consent flow
https://crrev.com/c/2144200 introduced a regression that broke the javascript bridge in the remote consent flow. "inject.js" should be injected in all pages within the consent window. A recent change made webview.executeScript() execute only once, after the first page is loaded. This CL modifies 'loadstop' listener so the script is injected for all pages but the window is shown only once. Bug: 1026237 Change-Id: I9f70d99f9cda7c4c6dd7194630a5b2fa1ede5d2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151865 Commit-Queue: David Roger <droger@chromium.org> Reviewed-by:David Roger <droger@chromium.org> Auto-Submit: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#759584}
Showing
Please register or sign in to comment