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

Unified Diff: chrome/test/data/extensions/api_test/tts/queue_interrupt/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/queue_interrupt/test.js
===================================================================
--- chrome/test/data/extensions/api_test/tts/queue_interrupt/test.js (revision 92678)
+++ chrome/test/data/extensions/api_test/tts/queue_interrupt/test.js (working copy)
@@ -16,7 +16,7 @@
'text 1',
{
'enqueue': true,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
chrome.test.assertEq('interrupted', event.type);
callbacks++;
}
@@ -29,7 +29,7 @@
'text 2',
{
'enqueue': true,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
chrome.test.assertEq('cancelled', event.type);
callbacks++;
}
@@ -41,7 +41,7 @@
'text 3',
{
'enqueue': false,
- 'onevent': function(event) {
+ 'onEvent': function(event) {
chrome.test.assertEq('end', event.type);
callbacks++;
if (callbacks == 6) {

Powered by Google App Engine
This is Rietveld 408576698