Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d02de542a0d4770a6ce19751214dce869e0ec15
      
https://github.com/WebKit/WebKit/commit/2d02de542a0d4770a6ce19751214dce869e0ec15
  Author: Youenn Fablet <[email protected]>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
    M Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp

  Log Message:
  -----------
  TestRunner addMockCameraDevice/addMockMicrophoneDevice should have its last 
parameter as optional
https://bugs.webkit.org/show_bug.cgi?id=270432
rdar://123999260

Reviewed by Eric Carlson.

captureDeviceProperties is triggering stderr TypeError console logs.
We check whether properties is undefined and if so bail out early to not 
trigger these logs.

* Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::captureDeviceProperties):

Canonical link: https://commits.webkit.org/275622@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to