[webkit-changes] [WebKit/WebKit] 7d0464: Align with Chrome on SpeechRecognition policy hand...

youennf noreply at github.com
Thu Nov 9 00:58:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d0464cc2e949ffdee3232aff7f358d3996d06f1
      https://github.com/WebKit/WebKit/commit/7d0464cc2e949ffdee3232aff7f358d3996d06f1
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    A LayoutTests/http/tests/media/media-stream/resources/speechRecognition-iframe.html
    A LayoutTests/http/tests/media/media-stream/speech-recognition-iframe-allow-attribute-expected.txt
    A LayoutTests/http/tests/media/media-stream/speech-recognition-iframe-allow-attribute.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/Modules/speech/SpeechRecognition.cpp

  Log Message:
  -----------
  Align with Chrome on SpeechRecognition policy handling
https://bugs.webkit.org/show_bug.cgi?id=264338
rdar://117598690

Reviewed by Jean-Yves Avenard.

To improve interop, we apply microphone feature policy to SpeechRecognition.
Covered by newly added test.

* LayoutTests/http/tests/media/media-stream/resources/speechRecognition-iframe.html: Added.
* LayoutTests/http/tests/media/media-stream/speech-recognition-iframe-allow-attribute-expected.txt: Added.
* LayoutTests/http/tests/media/media-stream/speech-recognition-iframe-allow-attribute.html: Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/Modules/speech/SpeechRecognition.cpp:
(WebCore::SpeechRecognition::startRecognition):

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




More information about the webkit-changes mailing list