Skip to content

Commit 0f4c4be

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
Add the missing SpeechGrammarList.prototype.addFromURI method to w3c_speech.js, which is the correct function in the spec (https://w3c.github.io/speech-api/#speechgrammarlist).
PiperOrigin-RevId: 622895751
1 parent 62d99d3 commit 0f4c4be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

externs/browser/w3c_speech.js

+5
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ SpeechGrammarList.prototype.item = function(index) {};
261261
*/
262262
SpeechGrammarList.prototype.addFromUri = function(src, weight) {};
263263

264+
/**
265+
* @type {function(string, number)}
266+
*/
267+
SpeechGrammarList.prototype.addFromURI = function(src, weight) {};
268+
264269
/**
265270
* @type {function(string, number)}
266271
*/

0 commit comments

Comments
 (0)