Title: [170688] trunk/Source/WebKit/mac
Revision
170688
Author
[email protected]
Date
2014-07-01 18:36:40 -0700 (Tue, 01 Jul 2014)

Log Message

Remove WebChromeClient code that was only needed for Safari versions earlier than 3.1
https://bugs.webkit.org/show_bug.cgi?id=134531

Reviewed by Daniel Bates.

* WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::exceededDatabaseQuota):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (170687 => 170688)


--- trunk/Source/WebKit/mac/ChangeLog	2014-07-02 01:27:55 UTC (rev 170687)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-07-02 01:36:40 UTC (rev 170688)
@@ -1,3 +1,13 @@
+2014-07-01  Dan Bernstein  <[email protected]>
+
+        Remove WebChromeClient code that was only needed for Safari versions earlier than 3.1
+        https://bugs.webkit.org/show_bug.cgi?id=134531
+
+        Reviewed by Daniel Bates.
+
+        * WebCoreSupport/WebChromeClient.mm:
+        (WebChromeClient::exceededDatabaseQuota):
+
 2014-06-29  Yoav Weiss  <[email protected]>
 
         Add support for HTMLImageElement's sizes attribute

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm (170687 => 170688)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm	2014-07-02 01:27:55 UTC (rev 170687)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm	2014-07-02 01:36:40 UTC (rev 170688)
@@ -684,14 +684,7 @@
     BEGIN_BLOCK_OBJC_EXCEPTIONS;
 
     WebSecurityOrigin *webOrigin = [[WebSecurityOrigin alloc] _initWithWebCoreSecurityOrigin:frame->document()->securityOrigin()];
-#if !PLATFORM(IOS)
-    // FIXME: remove this workaround once shipping Safari has the necessary delegate implemented.
-    if (WKAppVersionCheckLessThan(@"com.apple.Safari", -1, 3.1)) {
-        const unsigned long long defaultQuota = 5 * 1024 * 1024; // 5 megabytes should hopefully be enough to test storage support.
-        [[webOrigin databaseQuotaManager] setQuota:defaultQuota];
-    } else
-#endif
-        CallUIDelegate(m_webView, @selector(webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:), kit(frame), webOrigin, (NSString *)databaseName);
+    CallUIDelegate(m_webView, @selector(webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:), kit(frame), webOrigin, (NSString *)databaseName);
     [webOrigin release];
 
     END_BLOCK_OBJC_EXCEPTIONS;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to