Chromium Code Reviews
DescriptionAvoid mutating frame owner's when detaching a provisional frame.
When detaching a provisional frame, Blink was incorrectly clearing the
content frame of the provisional frame's frame owner. A provisional
frame is only partially attached to a frame tree. While it may have a
frame owner set, the frame owner's content frame will not point back
at the provisional frame. Similarly, though it may have a parent frame,
the provisional frame will not appear in the parent frame's list of
child nodes. Thus, it is important not to affect the frame tree
structure when detaching a provisional frame.
BUG=681077, 578349
Review-Url: https://codereview.chromium.org/2631233003
Cr-Commit-Position: refs/heads/master@{#444021}
Committed: https://chromium.googlesource.com/chromium/src/+/0401e95afc66f0b87733d04fad5d233c04d35aa3
Patch Set 1 #Patch Set 2 : Fix comment #Patch Set 3 : . #Patch Set 4 : Fix test to actually test the changed behavior. #
Total comments: 2
Messages
Total messages: 16 (8 generated)
|