Changeset 268762 in webkit
- Timestamp:
- Oct 20, 2020, 2:54:36 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 20 added
- 24 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.window-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/TestExpectations (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml (modified) (1 diff)
-
Source/WTF/wtf/PlatformEnable.h (modified) (1 diff)
-
Source/WebCore/CMakeLists.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/DerivedSources-input.xcfilelist (modified) (1 diff)
-
Source/WebCore/DerivedSources-output.xcfilelist (modified) (1 diff)
-
Source/WebCore/DerivedSources.make (modified) (1 diff)
-
Source/WebCore/Modules/speech/SpeechRecognition.cpp (added)
-
Source/WebCore/Modules/speech/SpeechRecognition.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognition.idl (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionAlternative.cpp (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionAlternative.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionAlternative.idl (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionErrorCode.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionErrorCode.idl (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionErrorEvent.cpp (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionErrorEvent.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionErrorEvent.idl (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionEvent.cpp (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionEvent.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionEvent.idl (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionResult.cpp (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionResult.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionResult.idl (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionResultList.cpp (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionResultList.h (added)
-
Source/WebCore/Modules/speech/SpeechRecognitionResultList.idl (added)
-
Source/WebCore/Sources.txt (modified) (2 diffs)
-
Source/WebCore/WebCore.xcodeproj/project.pbxproj (modified) (4 diffs)
-
Source/WebCore/bindings/js/WebCoreBuiltinNames.h (modified) (1 diff)
-
Source/WebCore/dom/EventNames.in (modified) (1 diff)
-
Source/WebCore/dom/EventTargetFactory.in (modified) (1 diff)
-
Source/WebKitLegacy/mac/ChangeLog (modified) (1 diff)
-
Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h (modified) (1 diff)
-
Source/WebKitLegacy/mac/WebView/WebPreferences.mm (modified) (1 diff)
-
Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/DumpRenderTree/mac/DumpRenderTree.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r268760 r268762 1 2020-10-20 Sihui Liu <sihui_liu@apple.com> 2 3 Add stubs for SpeechRecognition 4 https://bugs.webkit.org/show_bug.cgi?id=217780 5 <rdar://problem/70350727> 6 7 Reviewed by Youenn Fablet. 8 9 * platform/mac/TestExpectations: 10 1 11 2020-10-20 Ross Kirsling <ross.kirsling@sony.com> 2 12 -
trunk/LayoutTests/imported/w3c/ChangeLog
r268741 r268762 1 2020-10-20 Sihui Liu <sihui_liu@apple.com> 2 3 Add stubs for SpeechRecognition 4 https://bugs.webkit.org/show_bug.cgi?id=217780 5 <rdar://problem/70350727> 6 7 Reviewed by Youenn Fablet. 8 9 * web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt: 10 * web-platform-tests/speech-api/idlharness.window-expected.txt: 11 1 12 2020-10-20 Antti Koivisto <antti@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt
r268713 r268762 1 1 2 FAIL SpeechRecognition basics Can't find variable: SpeechRecognition2 FAIL SpeechRecognition basics undefined is not an object (evaluating 'reco.grammars.length') 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/speech-api/idlharness.window-expected.txt
r268713 r268762 12 12 PASS Window includes WindowSessionStorage: member names are unique 13 13 PASS Window includes WindowLocalStorage: member names are unique 14 FAIL SpeechRecognition interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 15 FAIL SpeechRecognition interface object length assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 16 FAIL SpeechRecognition interface object name assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 17 FAIL SpeechRecognition interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 18 FAIL 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 19 FAIL 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 20 FAIL SpeechRecognition interface: attribute grammars assert_ own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing21 FAIL SpeechRecognition interface: attribute lang assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing22 FAIL SpeechRecognition interface: attribute continuous assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 23 FAIL SpeechRecognition interface: attribute interimResults assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 24 FAIL SpeechRecognition interface: attribute maxAlternatives assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 25 FAIL SpeechRecognition interface: operation start() assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 26 FAIL SpeechRecognition interface: operation stop() assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 27 FAIL SpeechRecognition interface: operation abort() assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 28 FAIL SpeechRecognition interface: attribute onaudiostart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 29 FAIL SpeechRecognition interface: attribute onsoundstart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 30 FAIL SpeechRecognition interface: attribute onspeechstart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 31 FAIL SpeechRecognition interface: attribute onspeechend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 32 FAIL SpeechRecognition interface: attribute onsoundend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 33 FAIL SpeechRecognition interface: attribute onaudioend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 34 FAIL SpeechRecognition interface: attribute onresult assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 35 FAIL SpeechRecognition interface: attribute onnomatch assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 36 FAIL SpeechRecognition interface: attribute onerror assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 37 FAIL SpeechRecognition interface: attribute onstart assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 38 FAIL SpeechRecognition interface: attribute onend assert_own_property: self does not have own property "SpeechRecognition" expected property "SpeechRecognition" missing 39 FAIL 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" 40 FAIL Stringification of new SpeechRecognition() assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: SpeechRecognition" 41 FAIL 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"42 FAIL 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" 43 FAIL 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" 44 FAIL 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" 45 FAIL 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" 46 FAIL 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" 47 FAIL 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" 48 FAIL 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" 49 FAIL 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" 50 FAIL 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" 51 FAIL 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" 52 FAIL 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" 53 FAIL 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" 54 FAIL 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" 55 FAIL 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" 56 FAIL 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" 57 FAIL 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" 58 FAIL 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" 59 FAIL 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" 60 FAIL SpeechRecognitionErrorEvent interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 61 FAIL SpeechRecognitionErrorEvent interface object length assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 62 FAIL SpeechRecognitionErrorEvent interface object name assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 63 FAIL SpeechRecognitionErrorEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 64 FAIL SpeechRecognitionErrorEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 65 FAIL SpeechRecognitionErrorEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 66 FAIL SpeechRecognitionErrorEvent interface: attribute error assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 67 FAIL SpeechRecognitionErrorEvent interface: attribute message assert_own_property: self does not have own property "SpeechRecognitionErrorEvent" expected property "SpeechRecognitionErrorEvent" missing 68 FAIL SpeechRecognitionAlternative interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 69 FAIL SpeechRecognitionAlternative interface object length assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 70 FAIL SpeechRecognitionAlternative interface object name assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 71 FAIL SpeechRecognitionAlternative interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 72 FAIL SpeechRecognitionAlternative interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 73 FAIL SpeechRecognitionAlternative interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 74 FAIL SpeechRecognitionAlternative interface: attribute transcript assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 75 FAIL SpeechRecognitionAlternative interface: attribute confidence assert_own_property: self does not have own property "SpeechRecognitionAlternative" expected property "SpeechRecognitionAlternative" missing 76 FAIL SpeechRecognitionResult interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 77 FAIL SpeechRecognitionResult interface object length assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 78 FAIL SpeechRecognitionResult interface object name assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 79 FAIL SpeechRecognitionResult interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 80 FAIL SpeechRecognitionResult interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 81 FAIL SpeechRecognitionResult interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 82 FAIL SpeechRecognitionResult interface: attribute length assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 83 FAIL SpeechRecognitionResult interface: operation item(unsigned long) assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 84 FAIL SpeechRecognitionResult interface: attribute isFinal assert_own_property: self does not have own property "SpeechRecognitionResult" expected property "SpeechRecognitionResult" missing 85 FAIL SpeechRecognitionResultList interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 86 FAIL SpeechRecognitionResultList interface object length assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 87 FAIL SpeechRecognitionResultList interface object name assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 88 FAIL SpeechRecognitionResultList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 89 FAIL SpeechRecognitionResultList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 90 FAIL SpeechRecognitionResultList interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 91 FAIL SpeechRecognitionResultList interface: attribute length assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 92 FAIL SpeechRecognitionResultList interface: operation item(unsigned long) assert_own_property: self does not have own property "SpeechRecognitionResultList" expected property "SpeechRecognitionResultList" missing 93 FAIL SpeechRecognitionEvent interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 94 FAIL SpeechRecognitionEvent interface object length assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 95 FAIL SpeechRecognitionEvent interface object name assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 96 FAIL SpeechRecognitionEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 97 FAIL SpeechRecognitionEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 98 FAIL SpeechRecognitionEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 99 FAIL SpeechRecognitionEvent interface: attribute resultIndex assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 100 FAIL SpeechRecognitionEvent interface: attribute results assert_own_property: self does not have own property "SpeechRecognitionEvent" expected property "SpeechRecognitionEvent" missing 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 60 PASS SpeechRecognitionErrorEvent interface: existence and properties of interface object 61 PASS SpeechRecognitionErrorEvent interface object length 62 PASS SpeechRecognitionErrorEvent interface object name 63 PASS SpeechRecognitionErrorEvent interface: existence and properties of interface prototype object 64 PASS SpeechRecognitionErrorEvent interface: existence and properties of interface prototype object's "constructor" property 65 PASS SpeechRecognitionErrorEvent interface: existence and properties of interface prototype object's @@unscopables property 66 PASS SpeechRecognitionErrorEvent interface: attribute error 67 PASS SpeechRecognitionErrorEvent interface: attribute message 68 PASS SpeechRecognitionAlternative interface: existence and properties of interface object 69 PASS SpeechRecognitionAlternative interface object length 70 PASS SpeechRecognitionAlternative interface object name 71 PASS SpeechRecognitionAlternative interface: existence and properties of interface prototype object 72 PASS SpeechRecognitionAlternative interface: existence and properties of interface prototype object's "constructor" property 73 PASS SpeechRecognitionAlternative interface: existence and properties of interface prototype object's @@unscopables property 74 PASS SpeechRecognitionAlternative interface: attribute transcript 75 PASS SpeechRecognitionAlternative interface: attribute confidence 76 PASS SpeechRecognitionResult interface: existence and properties of interface object 77 PASS SpeechRecognitionResult interface object length 78 PASS SpeechRecognitionResult interface object name 79 PASS SpeechRecognitionResult interface: existence and properties of interface prototype object 80 PASS SpeechRecognitionResult interface: existence and properties of interface prototype object's "constructor" property 81 PASS SpeechRecognitionResult interface: existence and properties of interface prototype object's @@unscopables property 82 PASS SpeechRecognitionResult interface: attribute length 83 PASS SpeechRecognitionResult interface: operation item(unsigned long) 84 PASS SpeechRecognitionResult interface: attribute isFinal 85 PASS SpeechRecognitionResultList interface: existence and properties of interface object 86 PASS SpeechRecognitionResultList interface object length 87 PASS SpeechRecognitionResultList interface object name 88 PASS SpeechRecognitionResultList interface: existence and properties of interface prototype object 89 PASS SpeechRecognitionResultList interface: existence and properties of interface prototype object's "constructor" property 90 PASS SpeechRecognitionResultList interface: existence and properties of interface prototype object's @@unscopables property 91 PASS SpeechRecognitionResultList interface: attribute length 92 PASS SpeechRecognitionResultList interface: operation item(unsigned long) 93 PASS SpeechRecognitionEvent interface: existence and properties of interface object 94 PASS SpeechRecognitionEvent interface object length 95 PASS SpeechRecognitionEvent interface object name 96 PASS SpeechRecognitionEvent interface: existence and properties of interface prototype object 97 PASS SpeechRecognitionEvent interface: existence and properties of interface prototype object's "constructor" property 98 PASS SpeechRecognitionEvent interface: existence and properties of interface prototype object's @@unscopables property 99 PASS SpeechRecognitionEvent interface: attribute resultIndex 100 PASS SpeechRecognitionEvent interface: attribute results 101 101 FAIL SpeechGrammar interface: existence and properties of interface object assert_own_property: self does not have own property "SpeechGrammar" expected property "SpeechGrammar" missing 102 102 FAIL SpeechGrammar interface object length assert_own_property: self does not have own property "SpeechGrammar" expected property "SpeechGrammar" missing -
trunk/LayoutTests/platform/mac/TestExpectations
r268746 r268762 44 44 pointerevents/mouse [ Pass ] 45 45 imported/w3c/web-platform-tests/pointerevents [ Pass ] 46 47 imported/w3c/web-platform-tests/speech-api [ Pass ] 46 48 47 49 #////////////////////////////////////////////////////////////////////////////////////////// -
trunk/Source/WTF/ChangeLog
r268735 r268762 1 2020-10-20 Sihui Liu <sihui_liu@apple.com> 2 3 Add stubs for SpeechRecognition 4 https://bugs.webkit.org/show_bug.cgi?id=217780 5 <rdar://problem/70350727> 6 7 Reviewed by Youenn Fablet. 8 9 * Scripts/Preferences/WebPreferencesExperimental.yaml: 10 * wtf/PlatformEnable.h: 11 1 12 2020-10-15 Jer Noble <jer.noble@apple.com> 2 13 -
trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml
r268735 r268762 742 742 default: true 743 743 744 SpeechRecognitionEnabled: 745 type: bool 746 humanReadableName: "SpeechRecognition API" 747 humanReadableDescription: "Enable SpeechRecognition of WebSpeech API" 748 defaultValue: 749 WebKitLegacy: 750 default: false 751 WebKit: 752 default: false 753 WebCore: 754 default: false 755 744 756 # FIXME: This is enabled when ENABLE(EXPERIMENTAL_FEATURES) is true in WebKit2. Perhaps we should consider using that for WebKitLegacy as well. 745 757 SpringTimingFunctionEnabled: -
trunk/Source/WTF/wtf/PlatformEnable.h
r268599 r268762 447 447 448 448 #if !defined(ENABLE_SPEECH_SYNTHESIS) 449 #define ENABLE_SPEECH_SYNTHESIS 1 450 #endif 451 452 #if !defined(ENABLE_SPEECH_SYNTHESIS) 449 453 #define ENABLE_SPEECH_SYNTHESIS 0 450 454 #endif -
trunk/Source/WebCore/CMakeLists.txt
r268745 r268762 449 449 Modules/remoteplayback/RemotePlaybackAvailabilityCallback.idl 450 450 451 Modules/speech/SpeechRecognition.idl 452 Modules/speech/SpeechRecognitionAlternative.idl 453 Modules/speech/SpeechRecognitionErrorCode.idl 454 Modules/speech/SpeechRecognitionErrorEvent.idl 455 Modules/speech/SpeechRecognitionEvent.idl 456 Modules/speech/SpeechRecognitionResult.idl 457 Modules/speech/SpeechRecognitionResultList.idl 458 451 459 Modules/speech/DOMWindow+SpeechSynthesis.idl 452 460 Modules/speech/SpeechSynthesis.idl -
trunk/Source/WebCore/ChangeLog
r268757 r268762 1 2020-10-20 Sihui Liu <sihui_liu@apple.com> 2 3 Add stubs for SpeechRecognition 4 https://bugs.webkit.org/show_bug.cgi?id=217780 5 <rdar://problem/70350727> 6 7 Reviewed by Youenn Fablet. 8 9 Add bindings code and a feature flag for SpeechRecognition. 10 Spec: https://wicg.github.io/speech-api/#speechreco-section. 11 12 This patch includes all interfaces of SpeechRecognition, except SpeechGrammar and SpeechGrammarList. We have not 13 decided what grammar format and types we are going to support, or how we are going to support it if it is not 14 defined in exisiting speech recognition service. So let's add those interfaces after we figure this out. 15 16 No new tests. Rebaseline existins tests. 17 18 * CMakeLists.txt: 19 * DerivedSources-input.xcfilelist: 20 * DerivedSources-output.xcfilelist: 21 * DerivedSources.make: 22 * Modules/speech/SpeechRecognition.cpp: Added. 23 (WebCore::SpeechRecognition::create): 24 (WebCore::SpeechRecognition::SpeechRecognition): 25 (WebCore::SpeechRecognition::suspend): 26 (WebCore::SpeechRecognition::startRecognition): 27 (WebCore::SpeechRecognition::stopRecognition): 28 (WebCore::SpeechRecognition::abortRecognition): 29 (WebCore::SpeechRecognition::activeDOMObjectName const): 30 * Modules/speech/SpeechRecognition.h: Added. 31 (WebCore::SpeechRecognition::lang const): 32 (WebCore::SpeechRecognition::setLang): 33 (WebCore::SpeechRecognition::continuous const): 34 (WebCore::SpeechRecognition::setContinuous): 35 (WebCore::SpeechRecognition::interimResults const): 36 (WebCore::SpeechRecognition::setInterimResults): 37 (WebCore::SpeechRecognition::maxAlternatives const): 38 (WebCore::SpeechRecognition::setMaxAlternatives): 39 * Modules/speech/SpeechRecognition.idl: Added. 40 * Modules/speech/SpeechRecognitionAlternative.cpp: Added. 41 (WebCore::SpeechRecognitionAlternative::create): 42 (WebCore::SpeechRecognitionAlternative::SpeechRecognitionAlternative): 43 * Modules/speech/SpeechRecognitionAlternative.h: Added. 44 * Modules/speech/SpeechRecognitionAlternative.idl: Added. 45 * Modules/speech/SpeechRecognitionErrorCode.h: Added. 46 * Modules/speech/SpeechRecognitionErrorCode.idl: Added. 47 * Modules/speech/SpeechRecognitionErrorEvent.cpp: Added. 48 (WebCore::SpeechRecognitionErrorEvent::create): 49 (WebCore::SpeechRecognitionErrorEvent::SpeechRecognitionErrorEvent): 50 (WebCore::SpeechRecognitionErrorEvent::eventInterface const): 51 * Modules/speech/SpeechRecognitionErrorEvent.h: Added. 52 * Modules/speech/SpeechRecognitionErrorEvent.idl: Added. 53 * Modules/speech/SpeechRecognitionEvent.cpp: Added. 54 (WebCore::SpeechRecognitionEvent::create): 55 (WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent): 56 (WebCore::SpeechRecognitionEvent::eventInterface const): 57 * Modules/speech/SpeechRecognitionEvent.h: Added. 58 * Modules/speech/SpeechRecognitionEvent.idl: Added. 59 * Modules/speech/SpeechRecognitionResult.cpp: Added. 60 (WebCore::SpeechRecognitionResult::create): 61 (WebCore::SpeechRecognitionResult::SpeechRecognitionResult): 62 (WebCore::SpeechRecognitionResult::item const): 63 * Modules/speech/SpeechRecognitionResult.h: Added. 64 * Modules/speech/SpeechRecognitionResult.idl: Added. 65 * Modules/speech/SpeechRecognitionResultList.cpp: Added. 66 (WebCore::SpeechRecognitionResultList::create): 67 (WebCore::SpeechRecognitionResultList::item const): 68 (WebCore::SpeechRecognitionResultList::add): 69 (WebCore::SpeechRecognitionResultList::SpeechRecognitionResultList): 70 * Modules/speech/SpeechRecognitionResultList.h: Added. 71 * Modules/speech/SpeechRecognitionResultList.idl: Added. 72 * Sources.txt: 73 * WebCore.xcodeproj/project.pbxproj: 74 * bindings/js/WebCoreBuiltinNames.h: 75 * dom/EventNames.in: 76 * dom/EventTargetFactory.in: 77 1 78 2020-10-20 Don Olmstead <don.olmstead@sony.com> 2 79 -
trunk/Source/WebCore/DerivedSources-input.xcfilelist
r268745 r268762 290 290 $(PROJECT_DIR)/Modules/remoteplayback/RemotePlayback.idl 291 291 $(PROJECT_DIR)/Modules/remoteplayback/RemotePlaybackAvailabilityCallback.idl 292 $(PROJECT_DIR)/Modules/speech/SpeechRecognition.idl 293 $(PROJECT_DIR)/Modules/speech/SpeechRecognitionAlternative.idl 294 $(PROJECT_DIR)/Modules/speech/SpeechRecognitionErrorCode.idl 295 $(PROJECT_DIR)/Modules/speech/SpeechRecognitionErrorEvent.idl 296 $(PROJECT_DIR)/Modules/speech/SpeechRecognitionEvent.idl 297 $(PROJECT_DIR)/Modules/speech/SpeechRecognitionResult.idl 298 $(PROJECT_DIR)/Modules/speech/SpeechRecognitionResultList.idl 292 299 $(PROJECT_DIR)/Modules/speech/DOMWindow+SpeechSynthesis.idl 293 300 $(PROJECT_DIR)/Modules/speech/SpeechSynthesis.idl -
trunk/Source/WebCore/DerivedSources-output.xcfilelist
r268745 r268762 2133 2133 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSourceBufferList.cpp 2134 2134 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSourceBufferList.h 2135 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognition.cpp 2136 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognition.h 2137 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionAlternative.cpp 2138 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionAlternative.h 2139 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorCode.cpp 2140 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorCode.h 2141 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorEvent.cpp 2142 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorEvent.h 2143 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionEvent.cpp 2144 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionEvent.h 2145 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResult.cpp 2146 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResult.h 2147 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResultList.cpp 2148 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResultList.h 2135 2149 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesis.cpp 2136 2150 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesis.h -
trunk/Source/WebCore/DerivedSources.make
r268745 r268762 317 317 $(WebCore)/Modules/speech/SpeechSynthesisUtterance.idl \ 318 318 $(WebCore)/Modules/speech/SpeechSynthesisVoice.idl \ 319 $(WebCore)/Modules/speech/SpeechRecognition.idl \ 320 $(WebCore)/Modules/speech/SpeechRecognitionAlternative.idl \ 321 $(WebCore)/Modules/speech/SpeechRecognitionErrorCode.idl \ 322 $(WebCore)/Modules/speech/SpeechRecognitionErrorEvent.idl \ 323 $(WebCore)/Modules/speech/SpeechRecognitionEvent.idl \ 324 $(WebCore)/Modules/speech/SpeechRecognitionResult.idl \ 325 $(WebCore)/Modules/speech/SpeechRecognitionResultList.idl \ 319 326 $(WebCore)/Modules/streams/ByteLengthQueuingStrategy.idl \ 320 327 $(WebCore)/Modules/streams/CountQueuingStrategy.idl \ -
trunk/Source/WebCore/Sources.txt
r268735 r268762 185 185 Modules/pictureinpicture/PictureInPictureWindow.cpp 186 186 Modules/remoteplayback/RemotePlayback.cpp 187 Modules/speech/SpeechRecognition.cpp 188 Modules/speech/SpeechRecognitionAlternative.cpp 189 Modules/speech/SpeechRecognitionErrorEvent.cpp 190 Modules/speech/SpeechRecognitionEvent.cpp 191 Modules/speech/SpeechRecognitionResult.cpp 192 Modules/speech/SpeechRecognitionResultList.cpp 187 193 Modules/speech/DOMWindowSpeechSynthesis.cpp 188 194 Modules/speech/SpeechSynthesis.cpp … … 3501 3507 JSSourceBuffer.cpp 3502 3508 JSSourceBufferList.cpp 3509 JSSpeechRecognition.cpp 3510 JSSpeechRecognitionAlternative.cpp 3511 JSSpeechRecognitionErrorCode.cpp 3512 JSSpeechRecognitionErrorEvent.cpp 3513 JSSpeechRecognitionEvent.cpp 3514 JSSpeechRecognitionResult.cpp 3515 JSSpeechRecognitionResultList.cpp 3503 3516 JSSpeechSynthesis.cpp 3504 3517 JSSpeechSynthesisEvent.cpp -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r268745 r268762 2731 2731 93442C9E0D2B335C00338FF9 /* HTMLTableRowsCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 93442C9D0D2B335C00338FF9 /* HTMLTableRowsCollection.h */; }; 2732 2732 934907E4125BBBC8007F23A0 /* GraphicsContextCG.h in Headers */ = {isa = PBXBuildFile; fileRef = 934907E3125BBBC8007F23A0 /* GraphicsContextCG.h */; settings = {ATTRIBUTES = (Private, ); }; }; 2733 934950CD253943610099F171 /* SpeechRecognition.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950B1253943480099F171 /* SpeechRecognition.h */; }; 2734 934950CE253943650099F171 /* SpeechRecognitionAlternative.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950BC2539434E0099F171 /* SpeechRecognitionAlternative.h */; }; 2735 934950D02539436C0099F171 /* SpeechRecognitionErrorCode.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950AF253943470099F171 /* SpeechRecognitionErrorCode.h */; }; 2736 934950D1253943700099F171 /* SpeechRecognitionErrorEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950C3253943520099F171 /* SpeechRecognitionErrorEvent.h */; }; 2737 934950D2253943730099F171 /* SpeechRecognitionEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950C9253943550099F171 /* SpeechRecognitionEvent.h */; }; 2738 934950D42539437C0099F171 /* SpeechRecognitionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950C1253943510099F171 /* SpeechRecognitionResult.h */; }; 2739 934950D6253943810099F171 /* SpeechRecognitionResultList.h in Headers */ = {isa = PBXBuildFile; fileRef = 934950C4253943520099F171 /* SpeechRecognitionResultList.h */; }; 2733 2740 934CC10A0EDB223900A658F2 /* ScriptSourceCode.h in Headers */ = {isa = PBXBuildFile; fileRef = 934CC1090EDB223900A658F2 /* ScriptSourceCode.h */; }; 2734 2741 934F713A0D5A6F1000018D69 /* AuthenticationChallengeBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 934F71390D5A6F1000018D69 /* AuthenticationChallengeBase.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 11248 11255 93442C9F0D2B336000338FF9 /* HTMLTableRowsCollection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLTableRowsCollection.cpp; sourceTree = "<group>"; }; 11249 11256 934907E3125BBBC8007F23A0 /* GraphicsContextCG.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GraphicsContextCG.h; sourceTree = "<group>"; }; 11257 934950AD253943460099F171 /* SpeechRecognition.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognition.idl; sourceTree = "<group>"; }; 11258 934950AF253943470099F171 /* SpeechRecognitionErrorCode.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognitionErrorCode.h; sourceTree = "<group>"; }; 11259 934950B1253943480099F171 /* SpeechRecognition.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognition.h; sourceTree = "<group>"; }; 11260 934950B4253943490099F171 /* SpeechRecognitionEvent.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognitionEvent.idl; sourceTree = "<group>"; }; 11261 934950B72539434B0099F171 /* SpeechRecognitionAlternative.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SpeechRecognitionAlternative.cpp; sourceTree = "<group>"; }; 11262 934950B82539434C0099F171 /* SpeechRecognitionErrorCode.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognitionErrorCode.idl; sourceTree = "<group>"; }; 11263 934950B92539434D0099F171 /* SpeechRecognitionResult.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognitionResult.idl; sourceTree = "<group>"; }; 11264 934950BA2539434D0099F171 /* SpeechRecognitionErrorEvent.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognitionErrorEvent.idl; sourceTree = "<group>"; }; 11265 934950BB2539434E0099F171 /* SpeechRecognitionAlternative.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognitionAlternative.idl; sourceTree = "<group>"; }; 11266 934950BC2539434E0099F171 /* SpeechRecognitionAlternative.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognitionAlternative.h; sourceTree = "<group>"; }; 11267 934950BD2539434F0099F171 /* SpeechRecognitionResultList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SpeechRecognitionResultList.cpp; sourceTree = "<group>"; }; 11268 934950BF253943500099F171 /* SpeechRecognitionResult.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SpeechRecognitionResult.cpp; sourceTree = "<group>"; }; 11269 934950C0253943500099F171 /* SpeechRecognitionEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SpeechRecognitionEvent.cpp; sourceTree = "<group>"; }; 11270 934950C1253943510099F171 /* SpeechRecognitionResult.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognitionResult.h; sourceTree = "<group>"; }; 11271 934950C3253943520099F171 /* SpeechRecognitionErrorEvent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognitionErrorEvent.h; sourceTree = "<group>"; }; 11272 934950C4253943520099F171 /* SpeechRecognitionResultList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognitionResultList.h; sourceTree = "<group>"; }; 11273 934950C5253943530099F171 /* SpeechRecognitionResultList.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = SpeechRecognitionResultList.idl; sourceTree = "<group>"; }; 11274 934950C7253943540099F171 /* SpeechRecognition.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SpeechRecognition.cpp; sourceTree = "<group>"; }; 11275 934950C8253943540099F171 /* SpeechRecognitionErrorEvent.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = SpeechRecognitionErrorEvent.cpp; sourceTree = "<group>"; }; 11276 934950C9253943550099F171 /* SpeechRecognitionEvent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeechRecognitionEvent.h; sourceTree = "<group>"; }; 11250 11277 934CC1090EDB223900A658F2 /* ScriptSourceCode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptSourceCode.h; sourceTree = "<group>"; }; 11251 11278 934F71370D5A6EFF00018D69 /* AuthenticationChallengeBase.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = AuthenticationChallengeBase.cpp; sourceTree = "<group>"; }; … … 25387 25414 AA2A5AB816A485D500975A25 /* DOMWindowSpeechSynthesis.cpp */, 25388 25415 AA2A5AB916A485D500975A25 /* DOMWindowSpeechSynthesis.h */, 25416 934950C7253943540099F171 /* SpeechRecognition.cpp */, 25417 934950B1253943480099F171 /* SpeechRecognition.h */, 25418 934950AD253943460099F171 /* SpeechRecognition.idl */, 25419 934950B72539434B0099F171 /* SpeechRecognitionAlternative.cpp */, 25420 934950BC2539434E0099F171 /* SpeechRecognitionAlternative.h */, 25421 934950BB2539434E0099F171 /* SpeechRecognitionAlternative.idl */, 25422 934950AF253943470099F171 /* SpeechRecognitionErrorCode.h */, 25423 934950B82539434C0099F171 /* SpeechRecognitionErrorCode.idl */, 25424 934950C8253943540099F171 /* SpeechRecognitionErrorEvent.cpp */, 25425 934950C3253943520099F171 /* SpeechRecognitionErrorEvent.h */, 25426 934950BA2539434D0099F171 /* SpeechRecognitionErrorEvent.idl */, 25427 934950C0253943500099F171 /* SpeechRecognitionEvent.cpp */, 25428 934950C9253943550099F171 /* SpeechRecognitionEvent.h */, 25429 934950B4253943490099F171 /* SpeechRecognitionEvent.idl */, 25430 934950BF253943500099F171 /* SpeechRecognitionResult.cpp */, 25431 934950C1253943510099F171 /* SpeechRecognitionResult.h */, 25432 934950B92539434D0099F171 /* SpeechRecognitionResult.idl */, 25433 934950BD2539434F0099F171 /* SpeechRecognitionResultList.cpp */, 25434 934950C4253943520099F171 /* SpeechRecognitionResultList.h */, 25435 934950C5253943530099F171 /* SpeechRecognitionResultList.idl */, 25389 25436 AA2A5ABD16A485D500975A25 /* SpeechSynthesis.cpp */, 25390 25437 AA2A5ABE16A485D500975A25 /* SpeechSynthesis.h */, … … 34118 34165 D01A27AE10C9BFD800026A42 /* SpaceSplitString.h in Headers */, 34119 34166 626CDE0F1140424C001E5A68 /* SpatialNavigation.h in Headers */, 34167 934950CD253943610099F171 /* SpeechRecognition.h in Headers */, 34168 934950CE253943650099F171 /* SpeechRecognitionAlternative.h in Headers */, 34169 934950D02539436C0099F171 /* SpeechRecognitionErrorCode.h in Headers */, 34170 934950D1253943700099F171 /* SpeechRecognitionErrorEvent.h in Headers */, 34171 934950D2253943730099F171 /* SpeechRecognitionEvent.h in Headers */, 34172 934950D42539437C0099F171 /* SpeechRecognitionResult.h in Headers */, 34173 934950D6253943810099F171 /* SpeechRecognitionResultList.h in Headers */, 34120 34174 AA2A5AD416A4861100975A25 /* SpeechSynthesis.h in Headers */, 34121 34175 C14938072234551A000CD707 /* SpeechSynthesisClient.h in Headers */, -
trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h
r268648 r268762 239 239 macro(ServiceWorkerRegistration) \ 240 240 macro(ShadowRoot) \ 241 macro(SpeechRecognition) \ 242 macro(SpeechRecognitionAlternative) \ 243 macro(SpeechRecognitionErrorEvent) \ 244 macro(SpeechRecognitionEvent) \ 245 macro(SpeechRecognitionResult) \ 246 macro(SpeechRecognitionResultList) \ 241 247 macro(StaticRange) \ 242 248 macro(StereoPannerNode) \ -
trunk/Source/WebCore/dom/EventNames.in
r262695 r268762 63 63 RTCPeerConnectionIceEvent conditional=WEB_RTC 64 64 RTCTrackEvent conditional=WEB_RTC 65 SpeechRecognitionErrorEvent 66 SpeechRecognitionEvent 65 67 SpeechSynthesisEvent conditional=SPEECH_SYNTHESIS 66 68 WebGLContextEvent conditional=WEBGL -
trunk/Source/WebCore/dom/EventTargetFactory.in
r267885 r268762 45 45 SourceBuffer conditional=MEDIA_SOURCE 46 46 SourceBufferList conditional=MEDIA_SOURCE 47 SpeechRecognition 47 48 SpeechSynthesisUtterance conditional=SPEECH_SYNTHESIS 48 49 TextTrack conditional=VIDEO -
trunk/Source/WebKitLegacy/mac/ChangeLog
r268719 r268762 1 2020-10-20 Sihui Liu <sihui_liu@apple.com> 2 3 Add stubs for SpeechRecognition 4 https://bugs.webkit.org/show_bug.cgi?id=217780 5 <rdar://problem/70350727> 6 7 Reviewed by Youenn Fablet. 8 9 * WebView/WebPreferenceKeysPrivate.h: 10 * WebView/WebPreferences.mm: 11 (-[WebPreferences _speechRecognitionEnabled]): 12 (-[WebPreferences _setSpeechRecognitionEnabled:]): 13 * WebView/WebPreferencesPrivate.h: 14 1 15 2020-10-20 Sam Weinig <weinig@apple.com> 2 16 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h
r267988 r268762 290 290 #define WebKitCSSIndividualTransformPropertiesEnabledPreferenceKey @"WebKitCSSIndividualTransformPropertiesEnabled" 291 291 #define WebKitContactPickerAPIEnabledPreferenceKey @"WebKitContactPickerAPIEnabled" 292 #define WebKitSpeechRecognitionEnabledPreferenceKey @"WebKitSpeechRecognitionEnabled" 292 293 293 294 // The preference keys below this point are deprecated and have no effect. They should -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm
r268652 r268762 3376 3376 } 3377 3377 3378 - (BOOL)_speechRecognitionEnabled 3379 { 3380 return [self _boolValueForKey:WebKitSpeechRecognitionEnabledPreferenceKey]; 3381 } 3382 3383 - (void)_setSpeechRecognitionEnabled:(BOOL)flag 3384 { 3385 [self _setBoolValue:flag forKey:WebKitSpeechRecognitionEnabledPreferenceKey]; 3386 } 3387 3378 3388 @end 3379 3389 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
r268646 r268762 349 349 @property (nonatomic) BOOL CSSIndividualTransformPropertiesEnabled; 350 350 @property (nonatomic) BOOL contactPickerAPIEnabled; 351 @property (nonatomic, setter=_setSpeechRecognitionEnabled:) BOOL _speechRecognitionEnabled; 351 352 @end 352 353 -
trunk/Tools/ChangeLog
r268761 r268762 1 2020-10-20 Sihui Liu <sihui_liu@apple.com> 2 3 Add stubs for SpeechRecognition 4 https://bugs.webkit.org/show_bug.cgi?id=217780 5 <rdar://problem/70350727> 6 7 Reviewed by Youenn Fablet. 8 9 * DumpRenderTree/mac/DumpRenderTree.mm: 10 (enableExperimentalFeatures): 11 1 12 2020-10-20 Jonathan Bedard <jbedard@apple.com> 2 13 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r268735 r268762 843 843 [preferences setCSSOMViewSmoothScrollingEnabled:YES]; 844 844 [preferences setAudioWorkletEnabled:YES]; 845 [preferences _setSpeechRecognitionEnabled:YES]; 845 846 846 847 for (WebFeature* feature in [WebPreferences _experimentalFeatures]) {
Note:
See TracChangeset
for help on using the changeset viewer.