Reviewed by Maciej.
[WebKit-https.git] / WebCore / ChangeLog
index a4981c62787af78f7ab7bf3be5c40b1fbb6b5a1e..4eef41c34e17228d08464be2c8d3ad8b1fadee93 100644 (file)
@@ -1,3 +1,20 @@
+2006-03-16  Alexey Proskuryakov  <ap@nypop.com>
+
+        Reviewed by Maciej.
+
+        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4395
+         REGRESSION: document.open doesn't clear the document
+
+        Test: fast/dom/Document/document-reopen.html
+        Test: fast/dom/Document/doc-open-while-parsing.html
+
+        * dom/DocumentImpl.cpp:
+        (WebCore::DocumentImpl::open): Only ignore open() while the frame is still loading the main resource.
+        * page/Frame.cpp:
+        (WebCore::Frame::isComplete): Added const specifier.
+        (WebCore::Frame::isLoadingMainResource): New function.
+        * page/Frame.h:
+
 2006-03-15  Adele Peterson  <adele@apple.com>
 
         Reviewed by Eric.