Index: chrome/test/data/extensions/api_test/speech_input/recognition_error/test.js |
diff --git a/chrome/test/data/extensions/api_test/speech_input/recognition_error/test.js b/chrome/test/data/extensions/api_test/speech_input/recognition_error/test.js |
index 2b9094daafc7b3a5127e6c4e51375d7554aa450c..b4995d0350d83f54f6ebeca291415c8ab6ccd3c9 100644 |
--- a/chrome/test/data/extensions/api_test/speech_input/recognition_error/test.js |
+++ b/chrome/test/data/extensions/api_test/speech_input/recognition_error/test.js |
@@ -23,7 +23,7 @@ chrome.test.runTests([ |
// Stopping should fail since we're in the idle state again. |
chrome.experimental.speechInput.stop(function() { |
- chrome.test.assertEq(chrome.extension.lastError.message, |
+ chrome.test.assertEq(chrome.runtime.lastError.message, |
"invalidOperation"); |
chrome.test.succeed(); |
}); |