Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a3291b3c8e00e25a469c1ef91e03f9637961b5ca
      
https://github.com/WebKit/WebKit/commit/a3291b3c8e00e25a469c1ef91e03f9637961b5ca
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-10-10 (Sat, 10 Oct 2026)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/interfaces/speech-api.idl
    M 
LayoutTests/imported/w3c/web-platform-tests/speech-api/SpeechRecognition-non-secure-context.http-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.https.window-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.https.window.html
    A 
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.https.window.js
    R 
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.window-expected.txt
    R 
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.window.html
    R 
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.window.js
    M LayoutTests/imported/w3c/web-platform-tests/speech-api/w3c-import.log
    M LayoutTests/platform/ios/TestExpectations
    M Source/WebCore/Modules/speech/SpeechRecognitionResultList.idl

  Log Message:
  -----------
  SpeechRecognitionResultList should only be exposed in secure contexts
https://bugs.webkit.org/show_bug.cgi?id=327008
rdar://189631080

Reviewed by Ryosuke Niwa.

The Web Speech API makes all its speech recognition interfaces [SecureContext].
SpeechRecognitionResultList was the only one WebKit still exposed in non-secure
contexts, which speech-api/SpeechRecognition-non-secure-context.http.html, added
in 323118@main, showed.

This also imports speech-api/idlharness.https.window.js and
interfaces/speech-api.idl from upstream WPT at bf7d032062. WebKit still had the
earlier idlharness.window.js, which runs over HTTP and so failed for every
interface that requires a secure context.

The https version also passes on iOS, so its failure expectation is removed.

Test: imported/w3c/web-platform-tests/speech-api/idlharness.https.window.html
Canonical link: https://commits.webkit.org/323326@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to