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

Unified Diff: chrome/test/data/extensions/api_test/tts/chromeos/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
Index: chrome/test/data/extensions/api_test/tts/chromeos/test.js
===================================================================
--- chrome/test/data/extensions/api_test/tts/chromeos/test.js (revision 92678)
+++ chrome/test/data/extensions/api_test/tts/chromeos/test.js (working copy)
@@ -11,7 +11,7 @@
chrome.experimental.tts.speak(
'text 1',
{
- 'onevent': function(event) {
+ 'onEvent': function(event) {
callbacks++;
chrome.test.assertEq('interrupted', event.type);
}
@@ -22,7 +22,7 @@
chrome.experimental.tts.speak(
'text 2',
{
- 'onevent': function(event) {
+ 'onEvent': function(event) {
chrome.test.assertEq('end', event.type);
callbacks++;
if (callbacks == 2) {
« no previous file with comments | « chrome/renderer/resources/extension_process_bindings.js ('k') | chrome/test/data/extensions/api_test/tts/enqueue/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698