Title: [258629] trunk/Source/WebKit
Revision
258629
Author
[email protected]
Date
2020-03-18 07:24:19 -0700 (Wed, 18 Mar 2020)

Log Message

REGRESSION (r257472): Can't start old Safari with new WebKit (dyld: Symbol not found: _WKContextConfigurationSetShouldCaptureAudioInUIProcess)
https://bugs.webkit.org/show_bug.cgi?id=209155

Reviewed by Eric Carlson.

Add a no-op WKContextConfigurationSetShouldCaptureAudioInUIProcess to allow latest WebKit being run on older Safari.

* UIProcess/API/C/WKContextConfigurationRef.cpp:
(WKContextConfigurationSetShouldCaptureAudioInUIProcess):
* UIProcess/API/C/WKContextConfigurationRef.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (258628 => 258629)


--- trunk/Source/WebKit/ChangeLog	2020-03-18 13:59:23 UTC (rev 258628)
+++ trunk/Source/WebKit/ChangeLog	2020-03-18 14:24:19 UTC (rev 258629)
@@ -1,5 +1,18 @@
 2020-03-18  youenn fablet  <[email protected]>
 
+        REGRESSION (r257472): Can't start old Safari with new WebKit (dyld: Symbol not found: _WKContextConfigurationSetShouldCaptureAudioInUIProcess)
+        https://bugs.webkit.org/show_bug.cgi?id=209155
+
+        Reviewed by Eric Carlson.
+
+        Add a no-op WKContextConfigurationSetShouldCaptureAudioInUIProcess to allow latest WebKit being run on older Safari.
+
+        * UIProcess/API/C/WKContextConfigurationRef.cpp:
+        (WKContextConfigurationSetShouldCaptureAudioInUIProcess):
+        * UIProcess/API/C/WKContextConfigurationRef.h:
+
+2020-03-18  youenn fablet  <[email protected]>
+
         FrameLoader should own its FrameLoaderClient
         https://bugs.webkit.org/show_bug.cgi?id=208918
 

Modified: trunk/Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.cpp (258628 => 258629)


--- trunk/Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.cpp	2020-03-18 13:59:23 UTC (rev 258628)
+++ trunk/Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.cpp	2020-03-18 14:24:19 UTC (rev 258629)
@@ -214,6 +214,10 @@
 {
 }
 
+void WKContextConfigurationSetShouldCaptureAudioInUIProcess(WKContextConfigurationRef, bool)
+{
+}
+
 void WKContextConfigurationSetShouldConfigureJSCForTesting(WKContextConfigurationRef configuration, bool value)
 {
     toImpl(configuration)->setShouldConfigureJSCForTesting(value);

Modified: trunk/Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.h (258628 => 258629)


--- trunk/Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.h	2020-03-18 13:59:23 UTC (rev 258628)
+++ trunk/Source/WebKit/UIProcess/API/C/WKContextConfigurationRef.h	2020-03-18 14:24:19 UTC (rev 258629)
@@ -72,6 +72,9 @@
 WK_EXPORT WKArrayRef WKContextConfigurationCopyOverrideLanguages(WKContextConfigurationRef configuration);
 WK_EXPORT void WKContextConfigurationSetOverrideLanguages(WKContextConfigurationRef configuration, WKArrayRef overrideLanguages);
 
+// FIXME: https://bugs.webkit.org/show_bug.cgi?id=209155. Remove this function once no longer useful to run latest WebKit with older Safari.
+WK_EXPORT void WKContextConfigurationSetShouldCaptureAudioInUIProcess(WKContextConfigurationRef configuration, bool allowed);
+
 WK_EXPORT bool WKContextConfigurationProcessSwapsOnNavigation(WKContextConfigurationRef configuration);
 WK_EXPORT void WKContextConfigurationSetProcessSwapsOnNavigation(WKContextConfigurationRef configuration, bool swaps);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to