Call ResumeLoadingCreatedWebContents during WillAttach.
window.open on webviews had their widgets left in half creation state which is unexpected. The Init call is supposed to be called after the Window/Widget is shown. This was not called due to the ShouldResumeRequestsForCreatedWindow callback. The ShouldResumeRequestsForCreatedWindow() is added because we want to wait until the load is complete on the embedder page so it has a chance to execute before the guest contents. Since the RenderWidgetHostImpl::Init was never called it caused an issue when input handler binding was moved to be performed during the Init call. BUG=1132643 Change-Id: If8967d21bdbeb5dd9114eb918af793f88c4fe330 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438477 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by:James MacLean <wjmaclean@chromium.org> Reviewed-by:
Lucas Gadani <lfg@chromium.org> Reviewed-by:
Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#812354}
Showing
Please register or sign in to comment