Commit 64991bef authored by andersca's avatar andersca

2006-01-03 Anders Carlsson <andersca@mac.com>

        Reviewed by Darin.

        - Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6357
        REGRESSION: iframe and target is broken

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _descendantFrameNamed:sourceFrame:]):
        Return the correct frame.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b267f90b
2006-01-03 Anders Carlsson <andersca@mac.com>
Reviewed by Darin.
- Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6357
REGRESSION: iframe and target is broken
* WebView.subproj/WebFrame.m:
(-[WebFrame _descendantFrameNamed:sourceFrame:]):
Return the correct frame.
2006-01-02 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- moved frame traversal logic from WebFrame to WebBridge
http://bugzilla.opendarwin.org/show_bug.cgi?id=6341
- moved frame traversal logic from WebFrame to WebBridge
http://bugzilla.opendarwin.org/show_bug.cgi?id=6341
To do this, I had to invert the ownership so that WebBridge now
owns WebFrame instead of vice versa. As a result, WebView now owns
a WebBridge pointer and does not have a direct WebFrame pointer.
To do this, I had to invert the ownership so that WebBridge now
owns WebFrame instead of vice versa. As a result, WebView now owns
a WebBridge pointer and does not have a direct WebFrame pointer.
* WebCoreSupport.subproj/WebBridge.h:
* WebCoreSupport.subproj/WebBridge.m:
......@@ -3150,7 +3150,7 @@ - (WebFrame *)_descendantFrameNamed:(NSString *)name sourceFrame:(WebFrame *)sou
// for security reasons, we do not want to even make frames visible to frames that
// can't access them
if ([[frame name] isEqualToString:name] && [frame _shouldAllowAccessFrom:source])
return self;
return frame;
return nil;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment