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

Unified Diff: chrome/test/data/extensions/api_test/speech_input/start_stop/test.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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/speech_input/start_stop/test.js
diff --git a/chrome/test/data/extensions/api_test/speech_input/start_stop/test.js b/chrome/test/data/extensions/api_test/speech_input/start_stop/test.js
index 364b82509fb6cefce1304d400ec56ad7053d5d61..0308f95e131b42e428dabc25a35b67bc27902809 100644
--- a/chrome/test/data/extensions/api_test/speech_input/start_stop/test.js
+++ b/chrome/test/data/extensions/api_test/speech_input/start_stop/test.js
@@ -44,7 +44,7 @@ chrome.test.runTests([
function testSpeechInputInvalidOperation() {
// Calling start once recording should generate an invalid operation error.
chrome.experimental.speechInput.stop(function() {
- chrome.test.assertEq(chrome.extension.lastError.message,
+ chrome.test.assertEq(chrome.runtime.lastError.message,
"invalidOperation");
chrome.experimental.speechInput.start({}, started);
});
@@ -53,7 +53,7 @@ chrome.test.runTests([
function started() {
chrome.test.assertNoLastError();
chrome.experimental.speechInput.start({}, function() {
- chrome.test.assertEq(chrome.extension.lastError.message,
+ chrome.test.assertEq(chrome.runtime.lastError.message,
"invalidOperation");
chrome.test.succeed();
});

Powered by Google App Engine
This is Rietveld 408576698