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

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

Issue 4837003: Merge 65722 - Split the private webstore install API into two parts.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/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
OLDNEW
1 <script src="common.js"></script> 1 <script src="common.js"></script>
2 <script> 2 <script>
3 // This tests that an invalid id passed to beginInstall generates an error. 3 // This tests that an invalid id passed to beginInstall generates an error.
4 chrome.webstorePrivate.beginInstall("some invalid id", function() { 4 chrome.webstorePrivate.beginInstall("some invalid id", function() {
5 assertEq(chrome.extension.lastError.message, "Invalid id"); 5 assertEq(chrome.extension.lastError.message, "Invalid id");
6 succeed(); 6 succeed();
7 }); 7 });
8 </script> 8 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698