Index: chrome/test/data/extensions/api_test/page_capture/test.js |
diff --git a/chrome/test/data/extensions/api_test/page_capture/test.js b/chrome/test/data/extensions/api_test/page_capture/test.js |
index dec134278771b6f3257b62235c516c1c1746d480..205530a0af51bbdacc98cefae41081e0133acaa8 100644 |
--- a/chrome/test/data/extensions/api_test/page_capture/test.js |
+++ b/chrome/test/data/extensions/api_test/page_capture/test.js |
@@ -31,7 +31,7 @@ chrome.test.getConfig(function(config) { |
waitForCurrentTabLoaded(function() { |
chrome.pageCapture.saveAsMHTML({ "tabId": tab.id }, |
function(data) { |
- assertEq(undefined, chrome.extension.lastError); |
+ assertEq(undefined, chrome.runtime.lastError); |
assertTrue(data != null); |
// It should contain few KBs of data. |
assertTrue(data.size > 100); |