diff options
Diffstat (limited to 'Source/WebKit/mac/WebView/WebPreferences.mm')
| -rw-r--r-- | Source/WebKit/mac/WebView/WebPreferences.mm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/WebKit/mac/WebView/WebPreferences.mm b/Source/WebKit/mac/WebView/WebPreferences.mm index f209ed80d..8e13f19b4 100644 --- a/Source/WebKit/mac/WebView/WebPreferences.mm +++ b/Source/WebKit/mac/WebView/WebPreferences.mm @@ -398,6 +398,7 @@ public: [NSNumber numberWithBool:NO], WebKitShouldRespectImageOrientationKey, [NSNumber numberWithBool:YES], WebKitRequestAnimationFrameEnabledPreferenceKey, [NSNumber numberWithBool:NO], WebKitWantsBalancedSetDefersLoadingBehaviorKey, + [NSNumber numberWithBool:NO], WebKitDiagnosticLoggingEnabledKey, [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheTotalQuota, [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheDefaultOriginQuota, @@ -1728,6 +1729,16 @@ static NSString *classIBCreatorID = nil; return [self _floatValueForKey:WebKitIncrementalRenderingSuppressionTimeoutInSecondsKey]; } +- (BOOL)diagnosticLoggingEnabled +{ + return [self _boolValueForKey:WebKitDiagnosticLoggingEnabledKey]; +} + +- (void)setDiagnosticLoggingEnabled:(BOOL)enabled +{ + [self _setBoolValue:enabled forKey:WebKitDiagnosticLoggingEnabledKey]; +} + @end @implementation WebPreferences (WebInternal) |
