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

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:51:55 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 1fde93f264a5fae025e3bd0affe974f79dbb0c2b
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jul 20 21:58:28 2004 +0000

            Reviewed by Chris.
    
    	<rdar://problem/3721690> REGRESSION (125.7-148u) clicking on links at macosx.apple.com/Builds does not load new page in frame
    
            * Plugins.subproj/npruntime.h:
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge canTargetLoadInFrame:]): Don't apply the restrictions to frames
    	that are in the same window (Mozilla does this too).
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7070 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index f9ad72a..0d86691 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2004-07-20  Maciej Stachowiak  <mjs at apple.com>
+
+        Reviewed by Chris.
+
+	<rdar://problem/3721690> REGRESSION (125.7-148u) clicking on links at macosx.apple.com/Builds does not load new page in frame
+	
+        * Plugins.subproj/npruntime.h:
+        * WebCoreSupport.subproj/WebBridge.m:
+        (-[WebBridge canTargetLoadInFrame:]): Don't apply the restrictions to frames
+	that are in the same window (Mozilla does this too).
+
 2004-07-20  Richard Williamson   <rjw at apple.com>
 
 		Fix for 3728558.  Fixed the key event handling in the carbon/cocoa
diff --git a/WebKit/WebCoreSupport.subproj/WebBridge.m b/WebKit/WebCoreSupport.subproj/WebBridge.m
index 6befdac..32b0b00 100644
--- a/WebKit/WebCoreSupport.subproj/WebBridge.m
+++ b/WebKit/WebCoreSupport.subproj/WebBridge.m
@@ -596,6 +596,11 @@ NSString *WebPluginContainerKey =   @"WebPluginContainer";
     // This method prevents this exploit:
     // <rdar://problem/3715785> multiple frame injection vulnerability reported by Secunia, affects almost all browsers
     
+    // don't mess with navigation purely within the same frame
+    if ([[self webFrame] webView] == [targetFrame webView]) {
+	return YES;
+    }
+
     // Normally, domain should be called on the DOMDocument since it is a DOM method, but this fix is needed for
     // Jaguar as well where the DOM API doesn't exist.
     NSString *thisDomain = [self domain];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list