Changeset 270117 in webkit
- Timestamp:
- Nov 20, 2020 8:09:56 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r270108 r270117 1 2020-11-20 Youenn Fablet <youenn@apple.com> 2 3 Make webrtc/captureCanvas-webrtc-software-h264-*.html tests use codecs in WebProcess 4 https://bugs.webkit.org/show_bug.cgi?id=219147 5 6 Reviewed by Eric Carlson. 7 8 * webrtc/captureCanvas-webrtc-software-h264-baseline.html: 9 * webrtc/captureCanvas-webrtc-software-h264-high.html: 10 1 11 2020-11-20 Alan Bujtas <zalan@apple.com> 2 12 -
trunk/LayoutTests/webrtc/captureCanvas-webrtc-software-h264-baseline.html
r266832 r270117 11 11 <script src="captureCanvas-webrtc-software-h264.js"></script> 12 12 <script> 13 if (window.internals) { 14 internals.setH264HardwareEncoderAllowed(false); 15 internals.settings.setWebRTCPlatformCodecsInGPUProcessEnabled(false); 16 } 17 13 18 promise_test((test) => { 14 if (window.internals)15 internals.setH264HardwareEncoderAllowed(false);16 19 return doTest(test, (sdp) => setH264BaselineCodec(sdp)); 17 20 }, "captureStream with webrtc - h264 baseline"); -
trunk/LayoutTests/webrtc/captureCanvas-webrtc-software-h264-high.html
r266832 r270117 11 11 <script src="captureCanvas-webrtc-software-h264.js"></script> 12 12 <script> 13 if (window.internals) { 14 internals.setH264HardwareEncoderAllowed(false); 15 internals.settings.setWebRTCPlatformCodecsInGPUProcessEnabled(false); 16 } 17 13 18 promise_test((test) => { 14 if (window.internals)15 internals.setH264HardwareEncoderAllowed(false);16 19 return doTest(test, (sdp) => setH264HighCodec(sdp)); 17 20 }, "captureStream with webrtc - h264 high profile"); -
trunk/Source/WebCore/ChangeLog
r270116 r270117 1 2020-11-20 Youenn Fablet <youenn@apple.com> 2 3 Make webrtc/captureCanvas-webrtc-software-h264-*.html tests use codecs in WebProcess 4 https://bugs.webkit.org/show_bug.cgi?id=219147 5 6 Reviewed by Eric Carlson. 7 8 Expose internals setting to disable WebRTC codecs in GPU process. 9 Covered by existing tests. 10 11 * testing/InternalSettings.cpp: 12 (WebCore::InternalSettings::setWebRTCPlatformCodecsInGPUProcessEnabled): 13 * testing/InternalSettings.h: 14 * testing/InternalSettings.idl: 15 1 16 2020-11-20 Sergio Villar Senin <svillar@igalia.com> 2 17 -
trunk/Source/WebCore/testing/InternalSettings.cpp
r269888 r270117 448 448 } 449 449 450 ExceptionOr<void> InternalSettings::setWebRTCPlatformCodecsInGPUProcessEnabled(bool enabled) 451 { 452 if (!m_page) 453 return Exception { InvalidAccessError }; 454 #if ENABLE(WEB_RTC) 455 RuntimeEnabledFeatures::sharedFeatures().setWebRTCPlatformCodecsInGPUProcessEnabled(enabled); 456 #else 457 UNUSED_PARAM(enabled); 458 #endif 459 return { }; 460 } 461 450 462 ExceptionOr<void> InternalSettings::setCustomPasteboardDataEnabled(bool enabled) 451 463 { -
trunk/Source/WebCore/testing/InternalSettings.h
r269888 r270117 93 93 ExceptionOr<void> setFetchAPIKeepAliveEnabled(bool); 94 94 ExceptionOr<void> setCustomPasteboardDataEnabled(bool); 95 ExceptionOr<void> setWebRTCPlatformCodecsInGPUProcessEnabled(bool); 95 96 96 97 // DeprecatedGlobalSettings. -
trunk/Source/WebCore/testing/InternalSettings.idl
r269888 r270117 69 69 [MayThrowException] undefined setFetchAPIKeepAliveEnabled(boolean enabled); 70 70 [MayThrowException] undefined setCustomPasteboardDataEnabled(boolean enabled); 71 [MayThrowException] undefined setWebRTCPlatformCodecsInGPUProcessEnabled(boolean enabled); 71 72 72 73 // DeprecatedGlobalSettings.
Note: See TracChangeset
for help on using the changeset viewer.