Index: chrome/test/data/extensions/management/uninstall_extension/background.js |
diff --git a/chrome/test/data/extensions/management/uninstall_extension/background.js b/chrome/test/data/extensions/management/uninstall_extension/background.js |
index bc7360bd09caece4219c33064f870948f645ac6b..5ea92dd57847f9f8192ddc5234cc423fd54db20e 100644 |
--- a/chrome/test/data/extensions/management/uninstall_extension/background.js |
+++ b/chrome/test/data/extensions/management/uninstall_extension/background.js |
@@ -14,7 +14,7 @@ chrome.management.getAll(function(items) { |
chrome.management.uninstall(id, function() { |
// Check that the right error occured. |
var expectedError = 'Extension ' + id + ' cannot be modified by user'; |
- chrome.test.assertEq(expectedError, chrome.extension.lastError.message); |
+ chrome.test.assertEq(expectedError, chrome.runtime.lastError.message); |
chrome.test.sendMessage('ready'); |
}); |
} |