Fixed: <rdar://problem/3853262> REGRESSION(166-168) gmail gets blank page when loading
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Oct 2004 21:48:55 +0000 (21:48 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Oct 2004 21:48:55 +0000 (21:48 +0000)
        Reviewed by kocienda, adele.

        * khtml/rendering/render_frames.cpp:
        (RenderPartObject::updateWidget): remove infinite frame recursion check for iframes

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7916 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_frames.cpp

index 6bc4e2f875e8fb4122e6a90d2ed7af44b1a088d8..733601e5fb380e84cfbc275146cab6bd3f78d5cc 100644 (file)
@@ -1,3 +1,12 @@
+2004-10-29  Chris Blumenberg  <cblu@apple.com>
+
+       Fixed: <rdar://problem/3853262> REGRESSION(166-168) gmail gets blank page when loading
+
+        Reviewed by kocienda, adele.
+
+        * khtml/rendering/render_frames.cpp:
+        (RenderPartObject::updateWidget): remove infinite frame recursion check for iframes
+
 2004-10-29  Darin Adler  <darin@apple.com>
 
         Reviewed by Chris.
 2004-10-29  Darin Adler  <darin@apple.com>
 
         Reviewed by Chris.
index 9563312da6929203815b53cb2eb32ce41b704685..6736f8d3a4c46ce4a3f2da385809b3b35e22c876 100644 (file)
@@ -845,9 +845,6 @@ void RenderPartObject::updateWidget()
       url = o->url.string();
       if (url.isEmpty()) {
          url = "about:blank";
       url = o->url.string();
       if (url.isEmpty()) {
          url = "about:blank";
-      } else if (part->completeURL(url) == part->baseURL()) {
-          // Avoid infinite recursion. If the frame's URL is the same as the part's URL, infinite frames may be created.
-          return;
       }
       KHTMLView *v = static_cast<KHTMLView *>(m_view);
       bool requestSucceeded = v->part()->requestFrame( this, url, o->name.string(), QStringList(), QStringList(), true );
       }
       KHTMLView *v = static_cast<KHTMLView *>(m_view);
       bool requestSucceeded = v->part()->requestFrame( this, url, o->name.string(), QStringList(), QStringList(), true );