diff --git a/custom/idl/speech-api.idl b/custom/idl/speech-api.idl index af824da5..17305e3c 100644 --- a/custom/idl/speech-api.idl +++ b/custom/idl/speech-api.idl @@ -2,29 +2,3 @@ partial interface SpeechRecognitionEvent { readonly attribute USVString emma; readonly attribute DOMString interpretation; }; - -// https://github.com/WebAudio/web-speech-api/pull/117 - -partial interface SpeechRecognition { - attribute SpeechGrammarList grammars; -}; - -// The object representing a speech grammar -[Exposed=Window] -interface SpeechGrammar { - constructor(); - attribute DOMString src; - attribute float weight; -}; - -// The object representing a speech grammar collection -[Exposed=Window] -interface SpeechGrammarList { - constructor(); - readonly attribute unsigned long length; - getter SpeechGrammar item(unsigned long index); - undefined addFromURI(DOMString src, - optional float weight = 1.0); - undefined addFromString(DOMString string, - optional float weight = 1.0); -}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3e2a8f0a..f3ae1840 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,7 +65,7 @@ "@types/yargs": "^17.0.33", "@webref/css": "6.23.1", "@webref/elements": "^2.4.0", - "@webref/idl": "3.65.0", + "@webref/idl": "3.65.1", "c8": "10.1.3", "chai": "4.5.0", "chai-as-promised": "8.0.1", @@ -5386,9 +5386,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.65.0", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.65.0.tgz", - "integrity": "sha512-TW2xliNxoHIwnZ4KNBoTnff1kQETI2KPbCYj2nyslE9bfwZdkh1gLuzYmSlYyjt5KIhpE6Wf3M4EwbGviyMUEA==", + "version": "3.65.1", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.65.1.tgz", + "integrity": "sha512-Ky9KUy7ZVKjUUBZCxLOFNLvUwEkBF/UC/6Tcxn3LL8t5MxnVeXWf/FJly+RrgYSbmOTZIMmkItnXAsc/DaB0Kg==", "dev": true, "license": "MIT", "peerDependencies": { diff --git a/package.json b/package.json index b65b2f7c..25a6e52f 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "@types/yargs": "^17.0.33", "@webref/css": "6.23.1", "@webref/elements": "^2.4.0", - "@webref/idl": "3.65.0", + "@webref/idl": "3.65.1", "c8": "10.1.3", "chai": "4.5.0", "chai-as-promised": "8.0.1",