Need to propagate initiator origin to fresh RenderFrameHosts.
This CL fixes a problem where the last committed origin of RenderFrameHost was never set after document.write cancels an initial navigation in a subframe or in a popup. In addition to running the new regression tests, I also manually tested that the repro steps from https://crbug.com/932067 no longer hit the bug - in particular, the console output included both "onupgradeneeded" and "onsuccess". Bug: 932067 Change-Id: If1f031b988005e498a3515abe3137680db35ea0e Reviewed-on: https://chromium-review.googlesource.com/c/1480670Reviewed-by:Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Charlie Reis <creis@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#635181}
Showing
Please register or sign in to comment