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