Index: chrome/test/data/extensions/api_test/webrequest/permissionless/rules.js |
diff --git a/chrome/test/data/extensions/api_test/webrequest/permissionless/rules.js b/chrome/test/data/extensions/api_test/webrequest/permissionless/rules.js |
index b830a601f432f19549a9aa9750c71a79faef1070..32b0ff81062b53e3d09275b170da3767cf2fcb55 100644 |
--- a/chrome/test/data/extensions/api_test/webrequest/permissionless/rules.js |
+++ b/chrome/test/data/extensions/api_test/webrequest/permissionless/rules.js |
@@ -42,8 +42,8 @@ function addRules(testServerPort) { |
actions: [new chrome.declarativeWebRequest.CancelRequest()] |
}], |
function(rules) { |
- if (chrome.extension.lastError) |
- chrome.test.fail(chrome.extension.lastError); |
+ if (chrome.runtime.lastError) |
+ chrome.test.fail(chrome.runtime.lastError); |
chrome.test.sendMessage("rules all registered"); |
} |
); |