Title: [292921] trunk/Source/WebKit
Revision
292921
Author
[email protected]
Date
2022-04-15 13:59:03 -0700 (Fri, 15 Apr 2022)

Log Message

REGRESSION (r291843): Broken Netflix and Amazon video playback
https://bugs.webkit.org/show_bug.cgi?id=239397
<rdar://91313460>

Unreviewed revert of r291843.


* WebProcess/WebPage/WebPage.cpp:
(WebKit::adjustSettingsForCaptivePortal):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292920 => 292921)


--- trunk/Source/WebKit/ChangeLog	2022-04-15 19:54:36 UTC (rev 292920)
+++ trunk/Source/WebKit/ChangeLog	2022-04-15 20:59:03 UTC (rev 292921)
@@ -1,3 +1,14 @@
+2022-04-15  Brent Fulgham  <[email protected]>
+
+        REGRESSION (r291843): Broken Netflix and Amazon video playback
+        https://bugs.webkit.org/show_bug.cgi?id=239397
+        <rdar://91313460>
+
+        Unreviewed revert of r291843.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::adjustSettingsForCaptivePortal):
+
 2022-04-15  Tim Horton  <[email protected]>
 
         Make it possible to adjust the final trait collection applied by LocalCurrentTraitCollection

Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (292920 => 292921)


--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2022-04-15 19:54:36 UTC (rev 292920)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2022-04-15 20:59:03 UTC (rev 292921)
@@ -4128,9 +4128,6 @@
     settings.setAllowedMediaAudioCodecIDs(store.getStringValueForKey(WebPreferencesKey::mediaAudioCodecIDsAllowedInCaptivePortalModeKey()));
     settings.setAllowedMediaCaptionFormatTypes(store.getStringValueForKey(WebPreferencesKey::mediaCaptionFormatTypesAllowedInCaptivePortalModeKey()));
 
-    settings.setVideoPlaybackRequiresUserGesture(true);
-    settings.setAudioPlaybackRequiresUserGesture(true);
-
     adjustCoreGraphicsForCaptivePortal();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to