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(); |
}); |