From 99c2e698d2a3c56649e42d8d2133706cd8c9501e Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 20 May 2020 10:19:04 +0000 Subject: Issue #1538 - remove speech recognition engine This removes speech recognition, pocketsphinx, training models and the speech automated test interface. This also re-establishes proper use of MOZ_WEBSPEECH to work for the speech API (synthesis part only) that was a broken mess before, with some synth parts being always built, some parts being built only with it enabled and recognition parts being dependent on it. I'm pretty sure it'd be totally busted if you'd ever have tried building without MOZ_WEBPEECH before. Tested that synthesis still works as-intended. This resolves #1538 --- dom/webidl/SpeechRecognitionResultList.webidl | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 dom/webidl/SpeechRecognitionResultList.webidl (limited to 'dom/webidl/SpeechRecognitionResultList.webidl') diff --git a/dom/webidl/SpeechRecognitionResultList.webidl b/dom/webidl/SpeechRecognitionResultList.webidl deleted file mode 100644 index ec182c1de..000000000 --- a/dom/webidl/SpeechRecognitionResultList.webidl +++ /dev/null @@ -1,18 +0,0 @@ -/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. - * - * The origin of this IDL file is - * http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html - * - * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C - * liability, trademark and document use rules apply. - */ - -[Pref="media.webspeech.recognition.enable", - Func="SpeechRecognition::IsAuthorized"] -interface SpeechRecognitionResultList { - readonly attribute unsigned long length; - getter SpeechRecognitionResult item(unsigned long index); -}; -- cgit v1.2.3