Change test to pass opener when creating the Remote frame test.
http://crrev.com/ece078e2 attempted to clean up some SameOrigin checks and it was discovered that WebFrameTest.NavigateRemoteToLocalWithOpener was creating an invalid state where the Remote Frame's opener was set after creation time which caused the WindowAgentFactory to be different. Expose the opener parameter for RemoteFrame in FrameTestHelpers much like it is done for LocalFrames. BUG=1031480 Change-Id: Iacb3b34489999bb855064490d9448cafe22da1cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1955654Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#722500}
Showing
Please register or sign in to comment