Changeset 235553 in webkit
- Timestamp:
- Aug 31, 2018 8:52:45 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r235539 r235553 1 2018-08-31 Frederic Wang <fwang@igalia.com> 2 3 REGRESSION(r235484) _WKPreferencesGetWebRTCLegacyAPIEnabled symbol not found when running Safari with external SDK build 4 https://bugs.webkit.org/show_bug.cgi?id=189188 5 6 Reviewed by Youenn Fablet. 7 8 WebRTCLegacyAPI preference has been removed in r235484. However, the API is still used by 9 Safari when running external SDK builds. Hence we restore some dummy getter/setter for now. 10 11 * UIProcess/API/C/WKPreferences.cpp: 12 (WKPreferencesSetWebRTCLegacyAPIEnabled): no-op. 13 (WKPreferencesGetWebRTCLegacyAPIEnabled): Always return false. 14 * UIProcess/API/C/WKPreferencesRef.h: 15 * UIProcess/API/Cocoa/WKPreferences.mm: 16 (-[WKPreferences _webRTCLegacyAPIEnabled]): Always return false. 17 (-[WKPreferences _setWebRTCLegacyAPIEnabled:]): no-op. 18 * UIProcess/API/Cocoa/WKPreferencesPrivate.h: 19 1 20 2018-08-31 Frederic Wang <fwang@igalia.com> 2 21 -
trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp
r235539 r235553 1429 1429 } 1430 1430 1431 void WKPreferencesSetWebRTCLegacyAPIEnabled(WKPreferencesRef, bool) 1432 { 1433 } 1434 1435 bool WKPreferencesGetWebRTCLegacyAPIEnabled(WKPreferencesRef) 1436 { 1437 return false; 1438 } 1439 1431 1440 void WKPreferencesSetWebRTCMDNSICECandidatesEnabled(WKPreferencesRef preferencesRef, bool enabled) 1432 1441 { -
trunk/Source/WebKit/UIProcess/API/C/WKPreferencesRef.h
r235484 r235553 269 269 WK_EXPORT bool WKPreferencesGetPeerConnectionEnabled(WKPreferencesRef preferencesRef); 270 270 271 // This is for backward compatibility with external SDK builds (https://webkit.org/b/189188). 272 // FIXME: Remove these API functions. 273 WK_EXPORT void WKPreferencesSetWebRTCLegacyAPIEnabled(WKPreferencesRef preferencesRef, bool enabled); 274 WK_EXPORT bool WKPreferencesGetWebRTCLegacyAPIEnabled(WKPreferencesRef preferencesRef); 275 271 276 // Defaults to false 272 277 WK_EXPORT void WKPreferencesSetWebRTCMDNSICECandidatesEnabled(WKPreferencesRef preferencesRef, bool enabled); -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
r235484 r235553 670 670 } 671 671 672 - (BOOL)_webRTCLegacyAPIEnabled 673 { 674 return NO; 675 } 676 677 - (void)_setWebRTCLegacyAPIEnabled:(BOOL)enabled 678 { 679 } 680 672 681 - (void)_setJavaScriptCanAccessClipboard:(BOOL)javaScriptCanAccessClipboard 673 682 { -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
r235484 r235553 119 119 @property (nonatomic, setter=_setEnumeratingAllNetworkInterfacesEnabled:) BOOL _enumeratingAllNetworkInterfacesEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 120 120 @property (nonatomic, setter=_setICECandidateFilteringEnabled:) BOOL _iceCandidateFilteringEnabled WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 121 @property (nonatomic, setter=_setWebRTCLegacyAPIEnabled:) BOOL _webRTCLegacyAPIEnabled WK_API_AVAILABLE(macosx(10.13), ios(11.0)); 121 122 @property (nonatomic, setter=_setInactiveMediaCaptureSteamRepromptIntervalInMinutes:) double _inactiveMediaCaptureSteamRepromptIntervalInMinutes WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); 122 123
Note: See TracChangeset
for help on using the changeset viewer.