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

Unified Diff: chrome/test/data/extensions/management/launch_app/test.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/management/launch_app/test.js
diff --git a/chrome/test/data/extensions/management/launch_app/test.js b/chrome/test/data/extensions/management/launch_app/test.js
index 3f42c1650b19c3840bb84c2f3e319c1685e310fc..468db74ad4687c502a9d12f28b2c7b335a567407 100644
--- a/chrome/test/data/extensions/management/launch_app/test.js
+++ b/chrome/test/data/extensions/management/launch_app/test.js
@@ -13,8 +13,8 @@ window.onload = function() {
// Try launching a non-app extension, which should fail.
var expected_error = "Extension " + item.id + " is not an App";
chrome.management.launchApp(item.id, function() {
- if (chrome.extension.lastError &&
- chrome.extension.lastError.message == expected_error) {
+ if (chrome.runtime.lastError &&
+ chrome.runtime.lastError.message == expected_error) {
chrome.test.sendMessage("got_expected_error");
}
});

Powered by Google App Engine
This is Rietveld 408576698