Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4740)

Unified Diff: chrome/test/data/extensions/api_test/webrequest/permissionless/rules.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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");
}
);

Powered by Google App Engine
This is Rietveld 408576698