Changeset 65396 in webkit
- Timestamp:
- Aug 16, 2010 1:04:17 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r65395 r65396 1 2010-08-16 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 HTML5 fragment parsing doesn't load iframes 6 https://bugs.webkit.org/show_bug.cgi?id=44038 7 8 Test that iframes created in detached documents actually get loaded 9 when they're adopted into attached documents (or, rather, when they're 10 inserted into the DOM). 11 12 * fast/frames/adopt-from-created-document-expected.txt: Added. 13 * fast/frames/adopt-from-created-document.html: Added. 14 1 15 2010-08-13 MORITA Hajime <morrita@google.com> 2 16 -
trunk/WebCore/ChangeLog
r65395 r65396 1 2010-08-16 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 HTML5 fragment parsing doesn't load iframes 6 https://bugs.webkit.org/show_bug.cgi?id=44038 7 8 Previously, this code assumed that every source iframe was actually 9 attached to a render tree. It tried to "keep the iframe alive" as it 10 moved documents. However, if the iframe wasn't attached to begin with, 11 it was never "alive," so trying to keep a dead iframe alive lead to a 12 ... zombie iframe. 13 14 Test: fast/frames/adopt-from-created-document.html 15 16 * dom/Document.cpp: 17 (WebCore::Document::adoptNode): 18 1 19 2010-08-13 MORITA Hajime <morrita@google.com> 2 20 -
trunk/WebCore/dom/Document.cpp
r65273 r65396 831 831 default: 832 832 if (source->hasTagName(iframeTag)) 833 static_cast<HTMLIFrameElement*>(source.get())->setRemainsAliveOnRemovalFromTree(attached() );833 static_cast<HTMLIFrameElement*>(source.get())->setRemainsAliveOnRemovalFromTree(attached() && source->attached()); 834 834 835 835 if (source->parentNode())
Note: See TracChangeset
for help on using the changeset viewer.