DescriptionOn 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.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201161
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|