Changeset 269796 in webkit
- Timestamp:
- Nov 13, 2020, 2:17:02 PM (6 years ago)
- Location:
- branches/safari-610-branch/Source
- Files:
-
- 1 added
- 7 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/PlatformHave.h (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/PAL/ChangeLog (modified) (1 diff)
-
WebCore/PAL/PAL.xcodeproj/project.pbxproj (modified) (4 diffs)
-
WebCore/PAL/pal/PlatformMac.cmake (modified) (1 diff)
-
WebCore/PAL/pal/spi/cocoa/AXSpeechManagerSPI.h (added)
-
WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610-branch/Source/WTF/ChangeLog
r269091 r269796 1 2020-11-13 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r269208. rdar://problem/71378171 4 5 AX: Incorrect list of voices being displayed on iOS 6 https://bugs.webkit.org/show_bug.cgi?id=218293 7 8 Reviewed by Per Arne Vollan. 9 10 Source/WebCore: 11 12 Limit the voices that we display in WebSpeech to only built-in system voices. This was the intention of the "compact" 13 decision, but some mobile assets have compact voices, which are not available WebContent. 14 15 * platform/ios/PlatformSpeechSynthesizerIOS.mm: 16 (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): 17 18 Source/WebCore/PAL: 19 20 * PAL.xcodeproj/project.pbxproj: 21 * pal/PlatformMac.cmake: 22 * pal/spi/cocoa/AXSpeechManagerSPI.h: Added. 23 24 Source/WTF: 25 26 * wtf/PlatformHave.h: 27 28 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269208 268f45cc-cd09-0410-ab3c-d52691b4dbfc 29 30 2020-10-30 Chris Fleizach <cfleizach@apple.com> 31 32 AX: Incorrect list of voices being displayed on iOS 33 https://bugs.webkit.org/show_bug.cgi?id=218293 34 35 Reviewed by Per Arne Vollan. 36 37 * wtf/PlatformHave.h: 38 1 39 2020-10-27 Russell Epstein <repstein@apple.com> 2 40 -
branches/safari-610-branch/Source/WTF/wtf/PlatformHave.h
r268480 r269796 706 706 #define HAVE_CATALYST_USER_INTERFACE_IDIOM_AND_SCALE_FACTOR 1 707 707 #endif 708 709 #if (PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140300 710 #if !defined(HAVE_AVSPEECHSYNTHESIS_SYSTEMVOICE) 711 #define HAVE_AVSPEECHSYNTHESIS_SYSTEMVOICE 1 712 #endif 713 #endif -
branches/safari-610-branch/Source/WebCore/ChangeLog
r269795 r269796 1 2020-11-13 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r269208. rdar://problem/71378171 4 5 AX: Incorrect list of voices being displayed on iOS 6 https://bugs.webkit.org/show_bug.cgi?id=218293 7 8 Reviewed by Per Arne Vollan. 9 10 Source/WebCore: 11 12 Limit the voices that we display in WebSpeech to only built-in system voices. This was the intention of the "compact" 13 decision, but some mobile assets have compact voices, which are not available WebContent. 14 15 * platform/ios/PlatformSpeechSynthesizerIOS.mm: 16 (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): 17 18 Source/WebCore/PAL: 19 20 * PAL.xcodeproj/project.pbxproj: 21 * pal/PlatformMac.cmake: 22 * pal/spi/cocoa/AXSpeechManagerSPI.h: Added. 23 24 Source/WTF: 25 26 * wtf/PlatformHave.h: 27 28 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269208 268f45cc-cd09-0410-ab3c-d52691b4dbfc 29 30 2020-10-30 Chris Fleizach <cfleizach@apple.com> 31 32 AX: Incorrect list of voices being displayed on iOS 33 https://bugs.webkit.org/show_bug.cgi?id=218293 34 35 Reviewed by Per Arne Vollan. 36 37 Limit the voices that we display in WebSpeech to only built-in system voices. This was the intention of the "compact" 38 decision, but some mobile assets have compact voices, which are not available WebContent. 39 40 * platform/ios/PlatformSpeechSynthesizerIOS.mm: 41 (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): 42 1 43 2020-11-13 Russell Epstein <repstein@apple.com> 2 44 -
branches/safari-610-branch/Source/WebCore/PAL/ChangeLog
r268533 r269796 1 2020-11-13 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r269208. rdar://problem/71378171 4 5 AX: Incorrect list of voices being displayed on iOS 6 https://bugs.webkit.org/show_bug.cgi?id=218293 7 8 Reviewed by Per Arne Vollan. 9 10 Source/WebCore: 11 12 Limit the voices that we display in WebSpeech to only built-in system voices. This was the intention of the "compact" 13 decision, but some mobile assets have compact voices, which are not available WebContent. 14 15 * platform/ios/PlatformSpeechSynthesizerIOS.mm: 16 (WebCore::PlatformSpeechSynthesizer::initializeVoiceList): 17 18 Source/WebCore/PAL: 19 20 * PAL.xcodeproj/project.pbxproj: 21 * pal/PlatformMac.cmake: 22 * pal/spi/cocoa/AXSpeechManagerSPI.h: Added. 23 24 Source/WTF: 25 26 * wtf/PlatformHave.h: 27 28 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269208 268f45cc-cd09-0410-ab3c-d52691b4dbfc 29 30 2020-10-30 Chris Fleizach <cfleizach@apple.com> 31 32 AX: Incorrect list of voices being displayed on iOS 33 https://bugs.webkit.org/show_bug.cgi?id=218293 34 35 Reviewed by Per Arne Vollan. 36 37 * PAL.xcodeproj/project.pbxproj: 38 * pal/PlatformMac.cmake: 39 * pal/spi/cocoa/AXSpeechManagerSPI.h: Added. 40 1 41 2020-10-15 Russell Epstein <repstein@apple.com> 2 42 -
branches/safari-610-branch/Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj
r268105 r269796 116 116 293EE4A824154F8F0047493D /* AccessibilitySupportSoftLink.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 293EE4A624154F8F0047493D /* AccessibilitySupportSoftLink.cpp */; }; 117 117 293EE4A924154F8F0047493D /* AccessibilitySupportSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 293EE4A724154F8F0047493D /* AccessibilitySupportSoftLink.h */; }; 118 29CDEBA62548D57F007C07B7 /* AXSpeechManagerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 29CDEB9E2548D055007C07B7 /* AXSpeechManagerSPI.h */; }; 118 119 2D02E93C2056FAA700A13797 /* AudioToolboxSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D02E93B2056FAA700A13797 /* AudioToolboxSPI.h */; }; 119 120 2E1342CC215AA10A007199D2 /* UIKitSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E1342CA215AA10A007199D2 /* UIKitSoftLink.h */; }; … … 305 306 293EE4A624154F8F0047493D /* AccessibilitySupportSoftLink.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilitySupportSoftLink.cpp; sourceTree = "<group>"; }; 306 307 293EE4A724154F8F0047493D /* AccessibilitySupportSoftLink.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccessibilitySupportSoftLink.h; sourceTree = "<group>"; }; 308 29CDEB9E2548D055007C07B7 /* AXSpeechManagerSPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AXSpeechManagerSPI.h; sourceTree = "<group>"; }; 307 309 2D02E93B2056FAA700A13797 /* AudioToolboxSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AudioToolboxSPI.h; sourceTree = "<group>"; }; 308 310 2E1342CA215AA10A007199D2 /* UIKitSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIKitSoftLink.h; sourceTree = "<group>"; }; … … 455 457 0C7785701F45130F00F4EBB6 /* AVFoundationSPI.h */, 456 458 0C2DA1221F3BEB4900DBC317 /* AVKitSPI.h */, 459 29CDEB9E2548D055007C07B7 /* AXSpeechManagerSPI.h */, 457 460 0C2DA1231F3BEB4900DBC317 /* CFNSURLConnectionSPI.h */, 458 461 7A36D0F8223AD9AB00B0522E /* CommonCryptoSPI.h */, … … 899 902 07611DB6243FA5BF00D80704 /* UsageTrackingSoftLink.h in Headers */, 900 903 0C2DA1591F3BEB4900DBC317 /* WebFilterEvaluatorSPI.h in Headers */, 904 29CDEBA62548D57F007C07B7 /* AXSpeechManagerSPI.h in Headers */, 901 905 A10826F91F576292004772AC /* WebPanel.h in Headers */, 902 906 ); -
branches/safari-610-branch/Source/WebCore/PAL/pal/PlatformMac.cmake
r267980 r269796 24 24 spi/cocoa/AVFoundationSPI.h 25 25 spi/cocoa/AVKitSPI.h 26 spi/cocoa/AXSpeechManagerSPI.h 26 27 spi/cocoa/AccessibilitySupportSPI.h 27 28 spi/cocoa/AccessibilitySupportSoftLink.h -
branches/safari-610-branch/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm
r251960 r269796 31 31 #import "PlatformSpeechSynthesisVoice.h" 32 32 #import <AVFoundation/AVSpeechSynthesis.h> 33 #import <pal/spi/cocoa/AXSpeechManagerSPI.h> 33 34 #import <wtf/BlockObjCExceptions.h> 34 35 #import <wtf/RetainPtr.h> … … 266 267 267 268 // Only show built-in voices when requesting through WebKit to reduce fingerprinting surface area. 269 #if HAVE(AVSPEECHSYNTHESIS_SYSTEMVOICE) 270 if (voice.isSystemVoice) 271 #else 268 272 if (voice.quality == AVSpeechSynthesisVoiceQualityDefault) 273 #endif 269 274 m_voiceList.append(PlatformSpeechSynthesisVoice::create(voiceURI, name, language, true, isDefault)); 270 275 }
Note:
See TracChangeset
for help on using the changeset viewer.