Title: [264682] trunk/Source
Revision
264682
Author
[email protected]
Date
2020-07-21 16:45:54 -0700 (Tue, 21 Jul 2020)

Log Message

REGRESSION (WebSQL disablement): Fudget app is unresponsive on launch
https://bugs.webkit.org/show_bug.cgi?id=214620
<rdar://problem/65443085>

Reviewed by Geoffrey Garen.

Source/WebCore:

* platform/RuntimeApplicationChecks.h:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::IOSApplication::isFudget):

Source/WebKitLegacy/mac:

* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
Add Fudget to the list of apps that can use WebSQL until linked on or after iOS 14.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (264681 => 264682)


--- trunk/Source/WebCore/ChangeLog	2020-07-21 21:33:29 UTC (rev 264681)
+++ trunk/Source/WebCore/ChangeLog	2020-07-21 23:45:54 UTC (rev 264682)
@@ -1,3 +1,15 @@
+2020-07-21  Tim Horton  <[email protected]>
+
+        REGRESSION (WebSQL disablement): Fudget app is unresponsive on launch
+        https://bugs.webkit.org/show_bug.cgi?id=214620
+        <rdar://problem/65443085>
+
+        Reviewed by Geoffrey Garen.
+
+        * platform/RuntimeApplicationChecks.h:
+        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+        (WebCore::IOSApplication::isFudget):
+
 2020-07-21  Michael Catanzaro  <[email protected]>
 
         Update Chrome and Firefox versions in user agent quirks

Modified: trunk/Source/WebCore/platform/RuntimeApplicationChecks.h (264681 => 264682)


--- trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-07-21 21:33:29 UTC (rev 264681)
+++ trunk/Source/WebCore/platform/RuntimeApplicationChecks.h	2020-07-21 23:45:54 UTC (rev 264682)
@@ -88,6 +88,7 @@
 WEBCORE_EXPORT bool isMiniBrowser();
 bool isMobileStore();
 WEBCORE_EXPORT bool isJesusCalling();
+WEBCORE_EXPORT bool isFudget();
 WEBCORE_EXPORT bool isFamilyHealthApp();
 bool isSpringBoard();
 WEBCORE_EXPORT bool isWebProcess();

Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (264681 => 264682)


--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-07-21 21:33:29 UTC (rev 264681)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm	2020-07-21 23:45:54 UTC (rev 264682)
@@ -272,6 +272,12 @@
     return isJesusCalling;
 }
 
+bool IOSApplication::isFudget()
+{
+    static bool isFudget = applicationBundleIsEqualTo("com.dannyconnell.fudget"_s);
+    return isFudget;
+}
+
 bool IOSApplication::isFamilyHealthApp()
 {
     static bool isFamilyHealthApp = applicationBundleStartsWith("com.wildflowerhealth.Grow"_s) || applicationBundleStartsWith("com.wildflowerhealth.UGROW");

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (264681 => 264682)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2020-07-21 21:33:29 UTC (rev 264681)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2020-07-21 23:45:54 UTC (rev 264682)
@@ -1,3 +1,15 @@
+2020-07-21  Tim Horton  <[email protected]>
+
+        REGRESSION (WebSQL disablement): Fudget app is unresponsive on launch
+        https://bugs.webkit.org/show_bug.cgi?id=214620
+        <rdar://problem/65443085>
+
+        Reviewed by Geoffrey Garen.
+
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+        Add Fudget to the list of apps that can use WebSQL until linked on or after iOS 14.
+
 2020-07-21  Eric Carlson  <[email protected]>
 
         Use AVRoutePickerView when available for choosing AirPlay devices

Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm (264681 => 264682)


--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2020-07-21 21:33:29 UTC (rev 264681)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2020-07-21 23:45:54 UTC (rev 264682)
@@ -396,7 +396,7 @@
     bool allowsInlineMediaPlaybackAfterFullscreen = WebCore::deviceClass() != MGDeviceClassiPad;
     bool requiresPlaysInlineAttribute = !allowsInlineMediaPlayback;
     bool attachmentElementEnabled = IOSApplication::isMobileMail();
-    bool webSQLEnabled = (IOSApplication::isFamilyHealthApp() || IOSApplication::isJesusCalling()) && applicationSDKVersion() < DYLD_IOS_VERSION_14_0;
+    bool webSQLEnabled = (IOSApplication::isFamilyHealthApp() || IOSApplication::isJesusCalling() || IOSApplication::isFudget()) && applicationSDKVersion() < DYLD_IOS_VERSION_14_0;
 #endif
 
     NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to