[webkit-changes] [WebKit/WebKit] fe387e: Drop unused sandbox check in SpeechRecognitionPerm...

Sihui noreply at github.com
Mon Feb 12 11:44:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fe387e4fc73d6926d599e9e47021d8ddff2e53cb
      https://github.com/WebKit/WebKit/commit/fe387e4fc73d6926d599e9e47021d8ddff2e53cb
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/SpeechRecognitionPermissionManager.cpp

  Log Message:
  -----------
  Drop unused sandbox check in SpeechRecognitionPermissionManager
https://bugs.webkit.org/show_bug.cgi?id=269201
rdar://122808418

Reviewed by Chris Dumez.

There is a typo in the compile guard ("COOCA" should be "COCOA") so the check never runs. Luckily the sandbox check is
already covered in computeMicrophoneAccess(), so we could just remove the code.

* Source/WebKit/UIProcess/SpeechRecognitionPermissionManager.cpp:
(WebKit::SpeechRecognitionPermissionManager::startProcessingRequest):

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




More information about the webkit-changes mailing list