Changeset 270868 in webkit


Ignore:
Timestamp:
Dec 15, 2020 3:04:22 PM (19 months ago)
Author:
sihui_liu@apple.com
Message:

Add webkit- prefix to SpeechRecognition
https://bugs.webkit.org/show_bug.cgi?id=219869

Reviewed by Geoffrey Garen.

LayoutTests/imported/w3c:

Update test expectations as SpeechRecognition becomes not available.

  • web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt:
  • web-platform-tests/speech-api/historical-expected.txt:
  • web-platform-tests/speech-api/idlharness.window-expected.txt:

Source/WebCore:

  • Modules/speech/SpeechRecognition.idl:
  • bindings/js/WebCoreBuiltinNames.h:

Tools:

Replace SpeechRecognition with webkitSpeechRecognition in test.

  • TestWebKitAPI/Tests/WebKitCocoa/speechrecognition-user-permission-persistence.html:

LayoutTests:

Replace SpeechRecognition with webkitSpeechRecognition in tests.

  • fast/speechrecognition/ios/audio-capture-expected.txt:
  • fast/speechrecognition/ios/audio-capture.html:
  • fast/speechrecognition/ios/restart-recognition-after-stop-expected.txt:
  • fast/speechrecognition/ios/restart-recognition-after-stop.html:
  • fast/speechrecognition/ios/start-recognition-then-stop-expected.txt:
  • fast/speechrecognition/ios/start-recognition-then-stop.html:
  • fast/speechrecognition/permission-error-expected.txt:
  • fast/speechrecognition/permission-error.html:
  • fast/speechrecognition/resources/removed-iframe.html:
  • fast/speechrecognition/start-recognition-then-stop-expected.txt:
  • fast/speechrecognition/start-recognition-then-stop.html:
  • fast/speechrecognition/start-recognition-twice-exception-expected.txt:
  • fast/speechrecognition/start-recognition-twice-exception.html:
  • fast/speechrecognition/start-second-recognition-expected.txt:
  • fast/speechrecognition/start-second-recognition.html:
Location:
trunk
Files:
25 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r270861 r270868  
     12020-12-15  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add webkit- prefix to SpeechRecognition
     4        https://bugs.webkit.org/show_bug.cgi?id=219869
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Replace SpeechRecognition with webkitSpeechRecognition in tests.
     9
     10        * fast/speechrecognition/ios/audio-capture-expected.txt:
     11        * fast/speechrecognition/ios/audio-capture.html:
     12        * fast/speechrecognition/ios/restart-recognition-after-stop-expected.txt:
     13        * fast/speechrecognition/ios/restart-recognition-after-stop.html:
     14        * fast/speechrecognition/ios/start-recognition-then-stop-expected.txt:
     15        * fast/speechrecognition/ios/start-recognition-then-stop.html:
     16        * fast/speechrecognition/permission-error-expected.txt:
     17        * fast/speechrecognition/permission-error.html:
     18        * fast/speechrecognition/resources/removed-iframe.html:
     19        * fast/speechrecognition/start-recognition-then-stop-expected.txt:
     20        * fast/speechrecognition/start-recognition-then-stop.html:
     21        * fast/speechrecognition/start-recognition-twice-exception-expected.txt:
     22        * fast/speechrecognition/start-recognition-twice-exception.html:
     23        * fast/speechrecognition/start-second-recognition-expected.txt:
     24        * fast/speechrecognition/start-second-recognition.html:
     25
    1262020-12-15  Commit Queue  <commit-queue@webkit.org>
    227
  • trunk/LayoutTests/fast/speechrecognition/ios/audio-capture-expected.txt

    r270574 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition(); did not throw exception.
     6PASS recognition = new webkitSpeechRecognition(); did not throw exception.
    77PASS recognition.start() did not throw exception.
    88Received start event
  • trunk/LayoutTests/fast/speechrecognition/ios/audio-capture.html

    r270574 r270868  
    1010}
    1111
    12 shouldNotThrow("recognition = new SpeechRecognition();");
     12shouldNotThrow("recognition = new webkitSpeechRecognition();");
    1313recognition.onstart = (event) => {
    1414    debug("Received start event");
  • trunk/LayoutTests/fast/speechrecognition/ios/restart-recognition-after-stop-expected.txt

    r270772 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition() did not throw exception.
     6PASS recognition = new webkitSpeechRecognition() did not throw exception.
    77PASS recognition.start() did not throw exception.
    88Received start event
  • trunk/LayoutTests/fast/speechrecognition/ios/restart-recognition-after-stop.html

    r270772 r270868  
    1111
    1212var hasStopped = false;
    13 shouldNotThrow("recognition = new SpeechRecognition()");
     13shouldNotThrow("recognition = new webkitSpeechRecognition()");
    1414recognition.continuous = true;
    1515
  • trunk/LayoutTests/fast/speechrecognition/ios/start-recognition-then-stop-expected.txt

    r270846 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition() did not throw exception.
     6PASS recognition = new webkitSpeechRecognition() did not throw exception.
    77PASS recognition.start() did not throw exception.
    88Received start event
  • trunk/LayoutTests/fast/speechrecognition/ios/start-recognition-then-stop.html

    r270846 r270868  
    1111
    1212var hasReceivedResult = false;
    13 shouldNotThrow("recognition = new SpeechRecognition()");
     13shouldNotThrow("recognition = new webkitSpeechRecognition()");
    1414recognition.continuous = true;
    1515
  • trunk/LayoutTests/fast/speechrecognition/permission-error-expected.txt

    r269810 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition() did not throw exception.
     6PASS recognition = new webkitSpeechRecognition() did not throw exception.
    77PASS recognition.start() did not throw exception.
    88PASS event.error is "not-allowed"
  • trunk/LayoutTests/fast/speechrecognition/permission-error.html

    r269810 r270868  
    1111}
    1212
    13 shouldNotThrow("recognition = new SpeechRecognition()");
     13shouldNotThrow("recognition = new webkitSpeechRecognition()");
    1414shouldNotThrow("recognition.start()");
    1515recognition.onerror = (event) => {
  • trunk/LayoutTests/fast/speechrecognition/resources/removed-iframe.html

    r269810 r270868  
    55
    66function startRecognition() {
    7     recognition = new SpeechRecognition();
     7    recognition = new webkitSpeechRecognition();
    88    parent.removeFrame();
    99    recognition.start();
  • trunk/LayoutTests/fast/speechrecognition/start-recognition-then-stop-expected.txt

    r270158 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition(); did not throw exception.
     6PASS recognition = new webkitSpeechRecognition(); did not throw exception.
    77PASS recognition.start() did not throw exception.
    88Received start event
  • trunk/LayoutTests/fast/speechrecognition/start-recognition-then-stop.html

    r270158 r270868  
    1010}
    1111
    12 shouldNotThrow("recognition = new SpeechRecognition();");
     12shouldNotThrow("recognition = new webkitSpeechRecognition();");
    1313recognition.onstart = (event) => {
    1414    debug("Received start event");
  • trunk/LayoutTests/fast/speechrecognition/start-recognition-twice-exception-expected.txt

    r269348 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition(); did not throw exception.
     6PASS recognition = new webkitSpeechRecognition(); did not throw exception.
    77PASS recognition.start() did not throw exception.
    88PASS recognition.start() threw exception InvalidStateError: Recognition is being started or already started.
  • trunk/LayoutTests/fast/speechrecognition/start-recognition-twice-exception.html

    r269348 r270868  
    66description("Verify that starting a started recognition throws exception.");
    77
    8 shouldNotThrow("recognition = new SpeechRecognition();");
     8shouldNotThrow("recognition = new webkitSpeechRecognition();");
    99shouldNotThrow("recognition.start()");
    1010shouldThrow("recognition.start()");
  • trunk/LayoutTests/fast/speechrecognition/start-second-recognition-expected.txt

    r270158 r270868  
    44
    55
    6 PASS recognition = new SpeechRecognition(); did not throw exception.
     6PASS recognition = new webkitSpeechRecognition(); did not throw exception.
    77PASS recognition.start() did not throw exception.
    8 PASS secondRecognition = new SpeechRecognition(); did not throw exception.
     8PASS secondRecognition = new webkitSpeechRecognition(); did not throw exception.
    99PASS secondRecognition.start() did not throw exception.
    1010PASS receivedStart is true
  • trunk/LayoutTests/fast/speechrecognition/start-second-recognition.html

    r270158 r270868  
    1010}
    1111
    12 shouldNotThrow("recognition = new SpeechRecognition();");
     12shouldNotThrow("recognition = new webkitSpeechRecognition();");
    1313receivedStart = false;
    1414recognition.onstart = (event) => {
     
    2525
    2626shouldNotThrow("recognition.start()");
    27 shouldNotThrow("secondRecognition = new SpeechRecognition();");
     27shouldNotThrow("secondRecognition = new webkitSpeechRecognition();");
    2828shouldNotThrow("secondRecognition.start()");
    2929
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r270837 r270868  
     12020-12-15  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add webkit- prefix to SpeechRecognition
     4        https://bugs.webkit.org/show_bug.cgi?id=219869
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Update test expectations as SpeechRecognition becomes not available.
     9
     10        * web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt:
     11        * web-platform-tests/speech-api/historical-expected.txt:
     12        * web-platform-tests/speech-api/idlharness.window-expected.txt:
     13
    1142020-12-15  Antoine Quint  <graouts@webkit.org>
    215
  • trunk/LayoutTests/imported/w3c/web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt

    r268762 r270868  
    11
    2 FAIL SpeechRecognition basics undefined is not an object (evaluating 'reco.grammars.length')
     2FAIL SpeechRecognition basics Can't find variable: SpeechRecognition
    33
  • trunk/LayoutTests/imported/w3c/web-platform-tests/speech-api/historical-expected.txt

    r268713 r270868  
    33PASS webkitSpeechGrammar interface should not exist
    44PASS webkitSpeechGrammarList interface should not exist
    5 PASS webkitSpeechRecognition interface should not exist
     5FAIL webkitSpeechRecognition interface should not exist assert_false: expected false got true
    66PASS webkitSpeechRecognitionError interface should not exist
    77PASS webkitSpeechRecognitionEvent interface should not exist
  • trunk/LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.window-expected.txt

    r268762 r270868  
    1212PASS Window includes WindowSessionStorage: member names are unique
    1313PASS Window includes WindowLocalStorage: member names are unique
    14 PASS SpeechRecognition interface: existence and properties of interface object
    15 PASS SpeechRecognition interface object length
    16 PASS SpeechRecognition interface object name
    17 PASS SpeechRecognition interface: existence and properties of interface prototype object
    18 PASS SpeechRecognition interface: existence and properties of interface prototype object's "constructor" property
    19 PASS SpeechRecognition interface: existence and properties of interface prototype object's @@unscopables property
    20 FAIL SpeechRecognition interface: attribute grammars assert_true: The prototype object must have a property "grammars" expected true got false
    21 PASS SpeechRecognition interface: attribute lang
    22 PASS SpeechRecognition interface: attribute continuous
    23 PASS SpeechRecognition interface: attribute interimResults
    24 PASS SpeechRecognition interface: attribute maxAlternatives
    25 PASS SpeechRecognition interface: operation start()
    26 PASS SpeechRecognition interface: operation stop()
    27 PASS SpeechRecognition interface: operation abort()
    28 PASS SpeechRecognition interface: attribute onaudiostart
    29 PASS SpeechRecognition interface: attribute onsoundstart
    30 PASS SpeechRecognition interface: attribute onspeechstart
    31 PASS SpeechRecognition interface: attribute onspeechend
    32 PASS SpeechRecognition interface: attribute onsoundend
    33 PASS SpeechRecognition interface: attribute onaudioend
    34 PASS SpeechRecognition interface: attribute onresult
    35 PASS SpeechRecognition interface: attribute onnomatch
    36 PASS SpeechRecognition interface: attribute onerror
    37 PASS SpeechRecognition interface: attribute onstart
    38 PASS SpeechRecognition interface: attribute onend
    39 PASS SpeechRecognition must be primary interface of new SpeechRecognition()
    40 PASS Stringification of new SpeechRecognition()
    41 FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "grammars" with the proper type assert_inherits: property "grammars" not found in prototype chain
    42 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "lang" with the proper type
    43 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "continuous" with the proper type
    44 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "interimResults" with the proper type
    45 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "maxAlternatives" with the proper type
    46 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "start()" with the proper type
    47 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "stop()" with the proper type
    48 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "abort()" with the proper type
    49 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onaudiostart" with the proper type
    50 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onsoundstart" with the proper type
    51 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onspeechstart" with the proper type
    52 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onspeechend" with the proper type
    53 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onsoundend" with the proper type
    54 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onaudioend" with the proper type
    55 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onresult" with the proper type
    56 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onnomatch" with the proper type
    57 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onerror" with the proper type
    58 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onstart" with the proper type
    59 PASS SpeechRecognition interface: new SpeechRecognition() must inherit property "onend" with the proper type
     14FAIL SpeechRecognition interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     15FAIL SpeechRecognition interface object length assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     16FAIL SpeechRecognition interface object name assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     17FAIL SpeechRecognition interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     18FAIL SpeechRecognition interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     19FAIL SpeechRecognition interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     20FAIL SpeechRecognition interface: attribute grammars assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     21FAIL SpeechRecognition interface: attribute lang assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     22FAIL SpeechRecognition interface: attribute continuous assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     23FAIL SpeechRecognition interface: attribute interimResults assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     24FAIL SpeechRecognition interface: attribute maxAlternatives assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     25FAIL SpeechRecognition interface: operation start() assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     26FAIL SpeechRecognition interface: operation stop() assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     27FAIL SpeechRecognition interface: operation abort() assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     28FAIL SpeechRecognition interface: attribute onaudiostart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     29FAIL SpeechRecognition interface: attribute onsoundstart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     30FAIL SpeechRecognition interface: attribute onspeechstart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     31FAIL SpeechRecognition interface: attribute onspeechend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     32FAIL SpeechRecognition interface: attribute onsoundend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     33FAIL SpeechRecognition interface: attribute onaudioend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     34FAIL SpeechRecognition interface: attribute onresult assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     35FAIL SpeechRecognition interface: attribute onnomatch assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     36FAIL SpeechRecognition interface: attribute onerror assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     37FAIL SpeechRecognition interface: attribute onstart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     38FAIL SpeechRecognition interface: attribute onend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing
     39FAIL SpeechRecognition must be primary interface of new SpeechRecognition() assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     40FAIL Stringification of new SpeechRecognition() assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     41FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "grammars" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     42FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "lang" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     43FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "continuous" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     44FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "interimResults" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     45FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "maxAlternatives" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     46FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "start()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     47FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "stop()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     48FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "abort()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     49FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onaudiostart" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     50FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onsoundstart" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     51FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onspeechstart" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     52FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onspeechend" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     53FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onsoundend" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     54FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onaudioend" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     55FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onresult" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     56FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onnomatch" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     57FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onerror" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     58FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onstart" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
     59FAIL SpeechRecognition interface: new SpeechRecognition() must inherit property "onend" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition"
    6060PASS SpeechRecognitionErrorEvent interface: existence and properties of interface object
    6161PASS SpeechRecognitionErrorEvent interface object length
  • trunk/Source/WebCore/ChangeLog

    r270850 r270868  
     12020-12-15  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add webkit- prefix to SpeechRecognition
     4        https://bugs.webkit.org/show_bug.cgi?id=219869
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * Modules/speech/SpeechRecognition.idl:
     9        * bindings/js/WebCoreBuiltinNames.h:
     10
    1112020-12-15  Simon Fraser  <simon.fraser@apple.com>
    212
  • trunk/Source/WebCore/Modules/speech/SpeechRecognition.idl

    r268762 r270868  
    2727    ActiveDOMObject,
    2828    EnabledBySetting=SpeechRecognition,
     29    InterfaceName=webkitSpeechRecognition,
    2930    Exposed=Window
    3031] interface SpeechRecognition : EventTarget {
  • trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h

    r270842 r270868  
    470470    macro(webkitOfflineAudioContext) \
    471471    macro(webkitOscillatorNode) \
     472    macro(webkitSpeechRecognition) \
    472473    macro(whenSignalAborted) \
    473474    macro(window) \
  • trunk/Tools/ChangeLog

    r270858 r270868  
     12020-12-15  Sihui Liu  <sihui_liu@apple.com>
     2
     3        Add webkit- prefix to SpeechRecognition
     4        https://bugs.webkit.org/show_bug.cgi?id=219869
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Replace SpeechRecognition with webkitSpeechRecognition in test.
     9
     10        * TestWebKitAPI/Tests/WebKitCocoa/speechrecognition-user-permission-persistence.html:
     11
    1122020-12-15  Jonathan Bedard  <jbedard@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/speechrecognition-user-permission-persistence.html

    r269810 r270868  
    77    stop();
    88
    9     speechRecognition = new SpeechRecognition();
     9    speechRecognition = new webkitSpeechRecognition();
    1010    speechRecognition.onerror = (event) => {
    1111        window.webkit.messageHandlers.testHandler.postMessage("Error: " + event.error + " - " +  event.message);
Note: See TracChangeset for help on using the changeset viewer.