Skip to content
Permalink
Browse files
Enable video capture in WebProcess by default on MacOS
https://bugs.webkit.org/show_bug.cgi?id=217385
<rdar://problem/69999542>

Reviewed by Sam Weinig.

Source/WebKit:

Manually tested in MiniBrowser.

* Shared/WebPreferencesDefaultValues.cpp:
* Shared/WebPreferencesDefaultValues.h:

Source/WTF:

* Scripts/Preferences/WebPreferencesInternal.yaml:


Canonical link: https://commits.webkit.org/230151@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf committed Oct 6, 2020
1 parent 73ec1e4 commit ec8937014bec7598633a9690efeba637911fe9b4
Showing 5 changed files with 24 additions and 11 deletions.
@@ -1,3 +1,13 @@
2020-10-06 Youenn Fablet <youenn@apple.com>

Enable video capture in WebProcess by default on MacOS
https://bugs.webkit.org/show_bug.cgi?id=217385
<rdar://problem/69999542>

Reviewed by Sam Weinig.

* Scripts/Preferences/WebPreferencesInternal.yaml:

2020-10-06 Alex Christensen <achristensen@webkit.org>

Align URL setters with reasonably behaving other browsers
@@ -170,7 +170,7 @@ CaptureVideoInUIProcessEnabled:
exposed: [ WebKit ]
defaultValue:
WebKit:
default: WebKit::defaultCaptureVideoInUIProcessEnabled()
default: false

DOMPasteAccessRequestsEnabled:
type: bool
@@ -1,3 +1,16 @@
2020-10-06 Youenn Fablet <youenn@apple.com>

Enable video capture in WebProcess by default on MacOS
https://bugs.webkit.org/show_bug.cgi?id=217385
<rdar://problem/69999542>

Reviewed by Sam Weinig.

Manually tested in MiniBrowser.

* Shared/WebPreferencesDefaultValues.cpp:
* Shared/WebPreferencesDefaultValues.h:

2020-10-06 Simon Fraser <simon.fraser@apple.com>

Rename scheduleTimedRenderingUpdate() to scheduleRenderingUpdate() everywhere
@@ -177,15 +177,6 @@ bool defaultCaptureVideoInGPUProcessEnabled()
return false;
}

bool defaultCaptureVideoInUIProcessEnabled()
{
#if PLATFORM(MAC)
return !MacApplication::isSafari();
#endif

return false;
}

#endif // ENABLE(MEDIA_STREAM)

#if ENABLE(WEB_RTC)
@@ -69,7 +69,6 @@ bool defaultUseGPUProcessForWebGLEnabled();
bool defaultCaptureAudioInGPUProcessEnabled();
bool defaultCaptureAudioInUIProcessEnabled();
bool defaultCaptureVideoInGPUProcessEnabled();
bool defaultCaptureVideoInUIProcessEnabled();
#endif

#if ENABLE(WEB_RTC)

0 comments on commit ec89370

Please sign in to comment.