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

Unified Diff: chrome/test/data/extensions/api_test/tts/optional_args/test.js

Issue 7258007: Move the tts and ttsEngine APIs out of experimental, and give (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/optional_args/test.js
===================================================================
--- chrome/test/data/extensions/api_test/tts/optional_args/test.js (revision 93167)
+++ chrome/test/data/extensions/api_test/tts/optional_args/test.js (working copy)
@@ -8,43 +8,43 @@
function testSpeakWithOptionalArgs() {
// This will fail.
try {
- chrome.experimental.tts.speak();
+ chrome.tts.speak();
chrome.test.fail();
} catch (e) {
}
// This will succeed but nothing will be spoken.
- chrome.experimental.tts.speak('');
+ chrome.tts.speak('');
// This will succeed.
- chrome.experimental.tts.speak('Alpha');
+ chrome.tts.speak('Alpha');
// This will fail.
try {
- chrome.experimental.tts.speak(null);
+ chrome.tts.speak(null);
chrome.test.fail();
} catch (e) {
}
// This will succeed.
- chrome.experimental.tts.speak('Bravo', {});
+ chrome.tts.speak('Bravo', {});
// This will succeed.
- chrome.experimental.tts.speak('Charlie', null);
+ chrome.tts.speak('Charlie', null);
// This will fail.
try {
- chrome.experimental.tts.speak('Delta', 'foo');
+ chrome.tts.speak('Delta', 'foo');
chrome.test.fail();
} catch (e) {
}
// This will succeed.
- chrome.experimental.tts.speak('Echo', {}, function() {});
+ chrome.tts.speak('Echo', {}, function() {});
// This will fail.
try {
- chrome.experimental.tts.speak('Foxtrot', {}, 'foo');
+ chrome.tts.speak('Foxtrot', {}, 'foo');
chrome.test.fail();
} catch (e) {
}

Powered by Google App Engine
This is Rietveld 408576698