On remote frame's (re)attachment, connect its widget.
A remote frame can be detached by setting its .style.display = 'none'. If we attach it again by setting its .style.display = '', the frame becomes widget/FrameView-less. This CL sets the widget of the frame. BUG=517291 Test=With --site-per-process, navigate an <iframe> to cross site. See that resizing the frame works correctly, e.g.: document.querySelector('iframe').style.width = '400px'; Now hide the iframe, and then make it visible: document.querySelector('iframe').style.display = 'none'; document.querySelector('iframe').style.display = ''; See that resizing the frame still works correctly. It will fail without this CL. Review URL: https://codereview.chromium.org/1309343002 git-svn-id: svn://svn.chromium.org/blink/trunk@201161 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment