DescriptionHave window.closed return true when frame is closed.
This Window property currently returns true once the Frame it is attached
to is destroyed, which exposes an object memory management detail that's
hard to emulate with Oilpan.
Switch instead to having "closed" return true once the frame is externally
closed or the (i)frame is removed&detached.
Adjust tests to check for this instead -- no indication that this slight
adjustment in behavior will pose a compatibility problem.
R=haraken,ager,mkwst,tkent
BUG=414658
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182148
Patch Set 1 #
Total comments: 2
Patch Set 2 : Update m_hasBeenClosed comment #
Total comments: 2
Patch Set 3 : Un-inline and improve formatting of Frame::setHasBeenClosed() #
Created: 6 years, 3 months ago
Messages
Total messages: 25 (4 generated)
|