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

Side by Side Diff: chrome/test/data/extensions/api_test/extension_gallery_install/invalid_begin.html

Issue 4727001: Split the private webstore install API into two parts.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <script src="common.js"></script>
2 <script>
3 // This tests that an invalid id passed to beginInstall generates an error, and
4 // that completeInstall raises an error in this case as well.
5 chrome.webstorePrivate.beginInstall("some invalid id", function() {
6 assertEq(chrome.extension.lastError.message, "Invalid id");
7
8 chrome.webstorePrivate.completeInstall(extension_id, function() {
Erik does not do reviews 2010/11/10 16:47:45 this seems redundant since you already have the se
asargent_no_longer_on_chrome 2010/11/10 22:58:23 Agreed - I've removed this part.
9 var expected_error = extension_id +
10 " does not match a previous call to beginInstall";
11 assertEq(chrome.extension.lastError.message, expected_error);
12 succeed();
13 });
14 });
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698