Title: [227438] trunk/Source/WebKit
- Revision
- 227438
- Author
- [email protected]
- Date
- 2018-01-23 13:32:39 -0800 (Tue, 23 Jan 2018)
Log Message
Remove compile guard around beacon API
https://bugs.webkit.org/show_bug.cgi?id=182002
Reviewed by Sam Weinig.
It's enabled everywhere now.
* Shared/WebPreferences.yaml:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetBeaconAPIEnabled):
(WKPreferencesGetBeaconAPIEnabled):
* config.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (227437 => 227438)
--- trunk/Source/WebKit/ChangeLog 2018-01-23 21:06:39 UTC (rev 227437)
+++ trunk/Source/WebKit/ChangeLog 2018-01-23 21:32:39 UTC (rev 227438)
@@ -1,5 +1,20 @@
2018-01-23 Alex Christensen <[email protected]>
+ Remove compile guard around beacon API
+ https://bugs.webkit.org/show_bug.cgi?id=182002
+
+ Reviewed by Sam Weinig.
+
+ It's enabled everywhere now.
+
+ * Shared/WebPreferences.yaml:
+ * UIProcess/API/C/WKPreferences.cpp:
+ (WKPreferencesSetBeaconAPIEnabled):
+ (WKPreferencesGetBeaconAPIEnabled):
+ * config.h:
+
+2018-01-23 Alex Christensen <[email protected]>
+
Remove unused QTKit preference
https://bugs.webkit.org/show_bug.cgi?id=181968
Modified: trunk/Source/WebKit/Shared/WebPreferences.yaml (227437 => 227438)
--- trunk/Source/WebKit/Shared/WebPreferences.yaml 2018-01-23 21:06:39 UTC (rev 227437)
+++ trunk/Source/WebKit/Shared/WebPreferences.yaml 2018-01-23 21:32:39 UTC (rev 227438)
@@ -733,7 +733,6 @@
defaultValue: true
humanReadableName: "Beacon API"
humanReadableDescription: "Beacon API"
- condition: ENABLE(BEACON_API)
LegacyEncryptedMediaAPIEnabled:
type: bool
Modified: trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp (227437 => 227438)
--- trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp 2018-01-23 21:06:39 UTC (rev 227437)
+++ trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp 2018-01-23 21:32:39 UTC (rev 227438)
@@ -826,18 +826,12 @@
void WKPreferencesSetBeaconAPIEnabled(WKPreferencesRef preferencesRef, bool flag)
{
-#if ENABLE(BEACON_API)
toImpl(preferencesRef)->setBeaconAPIEnabled(flag);
-#endif
}
bool WKPreferencesGetBeaconAPIEnabled(WKPreferencesRef preferencesRef)
{
-#if ENABLE(BEACON_API)
return toImpl(preferencesRef)->beaconAPIEnabled();
-#else
- return false;
-#endif
}
void WKPreferencesSetDirectoryUploadEnabled(WKPreferencesRef preferencesRef, bool flag)
Modified: trunk/Source/WebKit/config.h (227437 => 227438)
--- trunk/Source/WebKit/config.h 2018-01-23 21:06:39 UTC (rev 227437)
+++ trunk/Source/WebKit/config.h 2018-01-23 21:32:39 UTC (rev 227438)
@@ -78,16 +78,10 @@
#endif
#endif
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || PLATFORM(IOS) || PLATFORM(APPLETV) || PLATFORM(WATCHOS) || USE(SOUP)
-#ifndef ENABLE_BEACON_API
-#define ENABLE_BEACON_API 1
-#endif
-
-// FIXME: We should work towards not using CredentialStorage in WebKit2 to not have problems with digest authentication.
+// FIXME: We should work towards not using CredentialStorage in WebKit to not have problems with digest authentication.
#ifndef USE_CREDENTIAL_STORAGE_WITH_NETWORK_SESSION
#define USE_CREDENTIAL_STORAGE_WITH_NETWORK_SESSION 1
#endif
-#endif
#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
#ifndef ENABLE_SERVER_PRECONNECT
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes