Index: chrome/test/data/extensions/uitest/window_open/newtab.js |
diff --git a/chrome/test/data/extensions/uitest/window_open/newtab.js b/chrome/test/data/extensions/uitest/window_open/newtab.js |
index 7718f042fe9b9f74319b5e9a052b5bae3e4a2da0..7721a9714e66aa2d519461c7d0215492c560c5dd 100644 |
--- a/chrome/test/data/extensions/uitest/window_open/newtab.js |
+++ b/chrome/test/data/extensions/uitest/window_open/newtab.js |
@@ -6,7 +6,7 @@ function testExtensionApi() { |
try { |
chrome.tabs.getAllInWindow(null, function() { |
window.domAutomationController.send( |
- !chrome.extension.lastError); |
+ !chrome.runtime.lastError); |
}); |
} catch (e) { |
window.domAutomationController.send(false); |