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

Unified Diff: chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js

Issue 10911158: Pass on download or installation errors from WebstoreInstaller to the CompleteInstall function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and rename error204->empty Created 8 years, 3 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
« no previous file with comments | « chrome/test/data/extensions/api_test/webstore_private/empty.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js
diff --git a/chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js b/chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js
index a08a689c9b4cf04ca1eedfa0abf2882b83ca3b20..29d3900edd7580281c2e1453f7883c1ae8fec264 100644
--- a/chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js
+++ b/chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js
@@ -16,9 +16,8 @@ chrome.webstorePrivate.beginInstallWithManifest3(
function(result) {
assertNoLastError();
assertEq("", result);
+
+ var expectedError = "Manifest file is invalid.";
chrome.webstorePrivate.completeInstall(extensionId,
- function(){
- assertNoLastError();
- succeed();
- });
+ callbackFail(expectedError));
});
« no previous file with comments | « chrome/test/data/extensions/api_test/webstore_private/empty.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698