Title: [251960] trunk/Source/WebCore
- Revision
- 251960
- Author
- cfleiz...@apple.com
- Date
- 2019-11-01 17:54:04 -0700 (Fri, 01 Nov 2019)
Log Message
AX: Restrict WebSpeech voices to built-in voices only
https://bugs.webkit.org/show_bug.cgi?id=203689
Reviewed by Per Arne Vollan.
Only show built-in voices when requesting through WebKit to reduce fingerprinting surface area.
* platform/ios/PlatformSpeechSynthesizerIOS.mm:
(WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (251959 => 251960)
--- trunk/Source/WebCore/ChangeLog 2019-11-02 00:45:35 UTC (rev 251959)
+++ trunk/Source/WebCore/ChangeLog 2019-11-02 00:54:04 UTC (rev 251960)
@@ -1,3 +1,15 @@
+2019-11-01 Chris Fleizach <cfleiz...@apple.com>
+
+ AX: Restrict WebSpeech voices to built-in voices only
+ https://bugs.webkit.org/show_bug.cgi?id=203689
+
+ Reviewed by Per Arne Vollan.
+
+ Only show built-in voices when requesting through WebKit to reduce fingerprinting surface area.
+
+ * platform/ios/PlatformSpeechSynthesizerIOS.mm:
+ (WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
+
2019-11-01 Devin Rousso <drou...@apple.com>
Web Inspector: Timelines: add a timeline that shows information about any recorded CSS animation/transition
Modified: trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm (251959 => 251960)
--- trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm 2019-11-02 00:45:35 UTC (rev 251959)
+++ trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm 2019-11-02 00:54:04 UTC (rev 251960)
@@ -263,7 +263,10 @@
bool isDefault = true;
NSString *voiceURI = [voice identifier];
NSString *name = [voice name];
- m_voiceList.append(PlatformSpeechSynthesisVoice::create(voiceURI, name, language, true, isDefault));
+
+ // Only show built-in voices when requesting through WebKit to reduce fingerprinting surface area.
+ if (voice.quality == AVSpeechSynthesisVoiceQualityDefault)
+ m_voiceList.append(PlatformSpeechSynthesisVoice::create(voiceURI, name, language, true, isDefault));
}
END_BLOCK_OBJC_EXCEPTIONS
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes