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

sullivan sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:31:36 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit bdea0b28c77851f889a001477b5dde69f49a3420
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Mar 31 19:59:05 2004 +0000

    WebKit:
    
            Reviewed by Darin.
    
            * WebView.subproj/WebPreferences.m:
            (-[WebPreferences historyIsFrozen]):
            always return NO on Panther and older, so you can't get into a state
            where the WebKit pref is invisibly set and affecting Safari.
    
    WebBrowser:
    
            More stealth mode. Don't save standard form data or names/passwords when
            in stealth mode.
    
            Reviewed by Darin.
    
            * FormCompletionController.m:
            (+[FormCompletionController shouldSaveFormData]):
            new method, checks both the misc form data preference and the stealth mode preference.
            (+[FormCompletionController shouldSaveUsernamesAndPasswords]):
            ditto but for usernames/passwords instead of misc form data
            (+[FormCompletionController _frame:sourceFrame:willSubmitLoginForm:withValues:formInfo:submissionListener:]):
            use shouldSaveUsernamesAndPasswords
            (+[FormCompletionController _frame:sourceFrame:willSubmitRegularForm:withValues:]):
            use shouldSaveFormData
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6284 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index d86602f..bf2a9bb 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2004-03-31  John Sullivan  <sullivan at apple.com>
+
+        Reviewed by Darin.
+
+        * WebView.subproj/WebPreferences.m:
+        (-[WebPreferences historyIsFrozen]):
+        always return NO on Panther and older, so you can't get into a state
+        where the WebKit pref is invisibly set and affecting Safari.
+
 2004-03-31  Darin Adler  <darin at apple.com>
 
         * WebView.subproj/WebHTMLView.m: Whitespace tweaks.
diff --git a/WebKit/WebView.subproj/WebPreferences.m b/WebKit/WebView.subproj/WebPreferences.m
index 249903a..41f8616 100644
--- a/WebKit/WebView.subproj/WebPreferences.m
+++ b/WebKit/WebView.subproj/WebPreferences.m
@@ -52,6 +52,10 @@ NSString *WebPreferencesChangedNotification = @"WebPreferencesChangedNotificatio
 
 #define KEY(x) [(_private->identifier?_private->identifier:@"") stringByAppendingString:x]
 
+#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_3
+#define OMIT_TIGER_FEATURES
+#endif
+
 enum { WebPreferencesVersion = 1 };
 
 @interface WebPreferencesPrivate : NSObject
@@ -617,7 +621,11 @@ NS_ENDHANDLER
 
 - (BOOL)historyIsFrozen
 {
+#ifdef OMIT_TIGER_FEATURES
+    return NO;
+#else
     return [[NSUserDefaults standardUserDefaults] boolForKey:WebKitHistoryIsFrozenPreferenceKey];
+#endif
 }
 
 static NSMutableDictionary *webPreferencesInstances = nil;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list