Changeset 209757 in webkit
- Timestamp:
- Dec 13, 2016, 8:59:55 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r209756 r209757 1 2016-12-13 Eric Carlson <eric.carlson@apple.com> 2 3 Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag 4 https://bugs.webkit.org/show_bug.cgi?id=165251 5 6 Reviewed by Youenn Fablet. 7 8 No new tests, fixes an API test. 9 10 * page/Settings.in: Delete mediaStreamEnabled and peerConnectionEnabled, we don't need a 11 setting and a runtime feature. 12 1 13 2016-12-13 Antti Koivisto <antti@apple.com> 2 14 -
trunk/Source/WebCore/page/Settings.in
r209643 r209757 116 116 fullScreenEnabled initial=false, conditional=FULLSCREEN_API 117 117 asynchronousSpellCheckingEnabled initial=false 118 mediaStreamEnabled initial=false119 peerConnectionEnabled initial=false120 118 121 119 # This feature requires an implementation of ValidationMessageClient. -
trunk/Source/WebKit2/ChangeLog
r209753 r209757 1 2016-12-13 Eric Carlson <eric.carlson@apple.com> 2 3 Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag 4 https://bugs.webkit.org/show_bug.cgi?id=165251 5 6 Reviewed by Youenn Fablet. 7 8 * WebProcess/WebPage/WebPage.cpp: 9 (WebKit::WebPage::updatePreferences): Update the media stream and peer connection runtime 10 feature instead of the setting. 11 1 12 2016-12-13 Sergio Villar Senin <svillar@igalia.com> 2 13 -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r209683 r209757 3034 3034 3035 3035 #if ENABLE(MEDIA_STREAM) 3036 settings.setMediaStreamEnabled(store.getBoolValueForKey(WebPreferencesKey::mediaStreamEnabledKey()));3036 RuntimeEnabledFeatures::sharedFeatures().setMediaStreamEnabled(store.getBoolValueForKey(WebPreferencesKey::mediaStreamEnabledKey())); 3037 3037 #endif 3038 3038 3039 3039 #if ENABLE(WEB_RTC) 3040 settings.setPeerConnectionEnabled(store.getBoolValueForKey(WebPreferencesKey::peerConnectionEnabledKey()));3040 RuntimeEnabledFeatures::sharedFeatures().setPeerConnectionEnabled(store.getBoolValueForKey(WebPreferencesKey::peerConnectionEnabledKey())); 3041 3041 #endif 3042 3042 -
trunk/Tools/ChangeLog
r209717 r209757 1 2016-12-13 Eric Carlson <eric.carlson@apple.com> 2 3 Annotate MediaStream and WebRTC idl with EnabledAtRuntime flag 4 https://bugs.webkit.org/show_bug.cgi?id=165251 5 6 Reviewed by Youenn Fablet. 7 8 * TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp: 9 (TestWebKitAPI::TEST): Enable MediaStream, create web view from the page group upon which 10 the preferences have been set. 11 1 12 2016-12-08 Antti Koivisto <antti@apple.com> 2 13 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2/EnumerateMediaDevices.cpp
r209512 r209757 54 54 WKRetainPtr<WKPageGroupRef> pageGroup(AdoptWK, WKPageGroupCreateWithIdentifier(Util::toWK("EnumerateDevices").get())); 55 55 WKPreferencesRef preferences = WKPageGroupGetPreferences(pageGroup.get()); 56 WKPreferencesSetMediaStreamEnabled(preferences, true); 56 57 WKPreferencesSetFileAccessFromFileURLsAllowed(preferences, true); 57 58 WKPreferencesSetMediaCaptureRequiresSecureConnection(preferences, false); … … 62 63 uiClient.checkUserMediaPermissionForOrigin = checkUserMediaPermissionCallback; 63 64 64 PlatformWebView webView(context.get() );65 PlatformWebView webView(context.get(), pageGroup.get()); 65 66 WKPageSetPageUIClient(webView.page(), &uiClient.base); 66 67
Note:
See TracChangeset
for help on using the changeset viewer.