[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:16:53 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 1674abf2add77fa4fd5000d59f3016222b084411
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 20 22:37:49 2002 +0000

    i        Fix for 3133601.  Play the same trick we do in
            KHTMLPartBrowserExtension::openURLRequest to create an empty
            document if necessary.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 5f23317..5466962 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,14 @@
+2002-12-20  Richard Williamson   <rjw at apple.com>
+
+        Fix for 3133601.  Play the same trick we do in
+        KHTMLPartBrowserExtension::openURLRequest to create an empty
+        document if necessary.
+        
+        Reviewed by darin.
+
+        * khtml/ecma/kjs_window.cpp:
+        (Window::get):
+
 2002-12-19  David Hyatt  <hyatt at apple.com>
 
 	Remove the clip hack from setLayout and make it
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 5f23317..5466962 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2002-12-20  Richard Williamson   <rjw at apple.com>
+
+        Fix for 3133601.  Play the same trick we do in
+        KHTMLPartBrowserExtension::openURLRequest to create an empty
+        document if necessary.
+        
+        Reviewed by darin.
+
+        * khtml/ecma/kjs_window.cpp:
+        (Window::get):
+
 2002-12-19  David Hyatt  <hyatt at apple.com>
 
 	Remove the clip hack from setLayout and make it
diff --git a/WebCore/khtml/ecma/kjs_window.cpp b/WebCore/khtml/ecma/kjs_window.cpp
index 35dcba2..cbab0c3 100644
--- a/WebCore/khtml/ecma/kjs_window.cpp
+++ b/WebCore/khtml/ecma/kjs_window.cpp
@@ -392,6 +392,9 @@ Value Window::get(ExecState *exec, const Identifier &p) const
       if (isSafeScript(exec))
       {
         if (m_part->document().isNull()) {
+#if APPLE_CHANGES
+          KWQ(m_part)->createEmptyDocument();
+#endif
           kdDebug(6070) << "Document.write: adding <HTML><BODY> to create document" << endl;
           m_part->begin();
           m_part->write("<HTML><BODY>");

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list