[webkit-changes] [WebKit/WebKit] 2d02de: TestRunner addMockCameraDevice/addMockMicrophoneDe...

youennf noreply at github.com
Mon Mar 4 07:54:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d02de542a0d4770a6ce19751214dce869e0ec15
      https://github.com/WebKit/WebKit/commit/2d02de542a0d4770a6ce19751214dce869e0ec15
  Author: Youenn Fablet <youenn at apple.com>
  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


More information about the webkit-changes mailing list