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

Unified Diff: chrome/test/data/extensions/api_test/speech_input/start_error/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_error/test.js
diff --git a/chrome/test/data/extensions/api_test/speech_input/start_error/test.js b/chrome/test/data/extensions/api_test/speech_input/start_error/test.js
index 39a8831f772d741e261e09d329b0c2f14602d45e..7105c59ebf1863867773bd0a243456ce0e1c6568 100644
--- a/chrome/test/data/extensions/api_test/speech_input/start_error/test.js
+++ b/chrome/test/data/extensions/api_test/speech_input/start_error/test.js
@@ -17,7 +17,7 @@ chrome.test.runTests([
// Start should fail because no devices are available.
function started() {
- chrome.test.assertEq(chrome.extension.lastError.message,
+ chrome.test.assertEq(chrome.runtime.lastError.message,
"noRecordingDeviceFound");
// Recording shouldn't have started.
@@ -27,7 +27,7 @@ chrome.test.runTests([
// Stopping should fail since we're back in the idle state.
chrome.experimental.speechInput.stop(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