Changeset 164204 in webkit
- Timestamp:
- Feb 16, 2014 7:52:02 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r164203 r164204 1 2014-02-16 Andreas Kling <akling@apple.com> 2 3 Ensure that removing an iframe from the DOM tree disconnects its Frame. 4 <https://webkit.org/b/128889> 5 <rdar://problem/15671221> 6 7 Merged from Blink (patch by Adam Klein): 8 https://src.chromium.org/viewvc/blink?revision=156174&view=revision 9 10 * fast/frames/reattach-in-unload-expected.txt: Added. 11 * fast/frames/reattach-in-unload.html: Added. 12 1 13 2014-02-16 Benjamin Poulain <benjamin@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r164203 r164204 1 2014-02-16 Andreas Kling <akling@apple.com> 2 3 Ensure that removing an iframe from the DOM tree disconnects its Frame. 4 <https://webkit.org/b/128889> 5 <rdar://problem/15671221> 6 7 Merged from Blink (patch by Adam Klein): 8 https://src.chromium.org/viewvc/blink?revision=156174&view=revision 9 10 SubframeLoadingDisabler wasn't catching the case when an <iframe> was, 11 in its unload handler, removed and re-added to the same parent. 12 Fix this by using a count of SubframeLoadingDisablers that are on the 13 stack for a given root, rather than a simple boolean. 14 15 Test: fast/frames/reattach-in-unload.html 16 17 * html/HTMLFrameOwnerElement.h: 18 (WebCore::SubframeLoadingDisabler::disabledSubtreeRoots): 19 1 20 2014-02-16 Benjamin Poulain <benjamin@webkit.org> 2 21 -
trunk/Source/WebCore/html/HTMLFrameOwnerElement.h
r163440 r164204 23 23 24 24 #include "HTMLElement.h" 25 #include <wtf/HashCountedSet.h> 25 26 26 27 namespace WebCore { … … 89 90 90 91 private: 91 static Hash Set<ContainerNode*>& disabledSubtreeRoots()92 static HashCountedSet<ContainerNode*>& disabledSubtreeRoots() 92 93 { 93 DEFINE_STATIC_LOCAL(Hash Set<ContainerNode*>, nodes, ());94 DEFINE_STATIC_LOCAL(HashCountedSet<ContainerNode*>, nodes, ()); 94 95 return nodes; 95 96 }
Note: See TracChangeset
for help on using the changeset viewer.