• Toni Barzic's avatar
    Display interstitials in mobile setup webview · 8bc49ae6
    Toni Barzic authored
    The mobile setup UI loads carrier activation site in a webview.
    The webview is initially hidden, and then shown when the carrier
    content is loaded. This prevents any interstitial pages from getting
    displayed - in particular, an SSL error page in M71+.
    
    While the issue should be fixed server-side, by the carrier, not showing
    the interstitial (however scary it is), prevents the user from
    proceeding with mobile activation. To unblock testing the flow, update
    mobile setup UI to display the webview contents sooner - when the
    carrier page load starts (instead of when the navigation to the target
    page is committed, which will not happen if interstitial is shown).
    
    BUG=894281
    
    Change-Id: I36de9d00afcf0f058bac95a938381c75d5e9a18e
    Reviewed-on: https://chromium-review.googlesource.com/c/1275138Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#598869}
    8bc49ae6
mobile_setup.js 16.9 KB