Title: [292165] trunk/Source/WebKit
Revision
292165
Author
[email protected]
Date
2022-03-31 13:00:41 -0700 (Thu, 31 Mar 2022)

Log Message

Add a placeholder for some additional Captive Portal mode settings
https://bugs.webkit.org/show_bug.cgi?id=238573
<rdar://problem/91064718>

Reviewed by Wenson Hsieh.

SSIA.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::adjustSettingsForCaptivePortal): Call new placeholder helper function.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292164 => 292165)


--- trunk/Source/WebKit/ChangeLog	2022-03-31 19:52:33 UTC (rev 292164)
+++ trunk/Source/WebKit/ChangeLog	2022-03-31 20:00:41 UTC (rev 292165)
@@ -1,3 +1,16 @@
+2022-03-31  Brent Fulgham  <[email protected]>
+
+        Add a placeholder for some additional Captive Portal mode settings
+        https://bugs.webkit.org/show_bug.cgi?id=238573
+        <rdar://problem/91064718>
+
+        Reviewed by Wenson Hsieh.
+
+        SSIA.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::adjustSettingsForCaptivePortal): Call new placeholder helper function.
+
 2022-03-31  Ben Nham  <[email protected]>
 
         Remove push subscriptions when permissions are reset

Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (292164 => 292165)


--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2022-03-31 19:52:33 UTC (rev 292164)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2022-03-31 20:00:41 UTC (rev 292165)
@@ -392,6 +392,14 @@
 #include <WebCore/GraphicsContextCG.h>
 #endif
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/WebPageAdditions.cpp>
+#else
+static void adjustCoreGraphicsForCaptivePortal()
+{
+}
+#endif
+
 namespace WebKit {
 using namespace JSC;
 using namespace WebCore;
@@ -4100,6 +4108,8 @@
 
     settings.setVideoPlaybackRequiresUserGesture(true);
     settings.setAudioPlaybackRequiresUserGesture(true);
+
+    adjustCoreGraphicsForCaptivePortal();
 }
 
 void WebPage::updatePreferences(const WebPreferencesStore& store)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to