Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8204)

Unified Diff: chrome/test/data/extensions/api_test/tts_engine/register_engine/test.js

Issue 7282048: Update TTS extension API docs to reflect latest changes. Note that this (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/tts_engine/engine_word_callbacks/test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/tts_engine/register_engine/test.js
===================================================================
--- chrome/test/data/extensions/api_test/tts_engine/register_engine/test.js (revision 92678)
+++ chrome/test/data/extensions/api_test/tts_engine/register_engine/test.js (working copy)
@@ -20,7 +20,7 @@
chrome.tts.speak(
'native speech',
{
- 'onevent': function(event) {
+ 'onEvent': function(event) {
if (event.type == 'end') {
chrome.test.succeed();
}
@@ -48,7 +48,7 @@
chrome.tts.speak(
'extension speech',
{
- 'onevent': function(event) {
+ 'onEvent': function(event) {
if (event.type == 'end') {
chrome.test.assertEq(true, calledOurEngine);
chrome.ttsEngine.onSpeak.removeListener(speakListener);
@@ -84,7 +84,7 @@
{
'voiceName': 'George',
'enqueue': true,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
if (event.type == 'end') {
callbacks++;
}
@@ -97,7 +97,7 @@
{
'lang': 'fr-FR',
'enqueue': true,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
if (event.type == 'end') {
callbacks++;
}
@@ -113,7 +113,7 @@
{
'voiceName': 'Alice',
'enqueue': true,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
if (event.type == 'end') {
callbacks++;
}
@@ -127,7 +127,7 @@
'voiceName': 'Pat',
'gender': 'male',
'enqueue': true,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
if (event.type == 'end') {
callbacks++;
chrome.ttsEngine.onSpeak.removeListener(speakListener);
« no previous file with comments | « chrome/test/data/extensions/api_test/tts_engine/engine_word_callbacks/test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698