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

Unified Diff: chrome/test/data/extensions/api_test/webstore_private/no_user_gesture.html

Issue 6992047: Change the web store private install API to accept a localized extension name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased, removed test files I added in separate CL Created 9 years, 7 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/incorrect_manifest.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/no_user_gesture.html
diff --git a/chrome/test/data/extensions/api_test/webstore_private/no_user_gesture.html b/chrome/test/data/extensions/api_test/webstore_private/no_user_gesture.html
index 1091c2c48d4f9b54b9a8ba77e01c946e5a85a66d..876ff5f9f697bf9c42d80ca0c390e66aff0deee0 100644
--- a/chrome/test/data/extensions/api_test/webstore_private/no_user_gesture.html
+++ b/chrome/test/data/extensions/api_test/webstore_private/no_user_gesture.html
@@ -2,8 +2,8 @@
<script>
// We expect that this test is called outside of a user gesture, which should
// generate an error.
-chrome.webstorePrivate.beginInstallWithManifest(
- extensionId, "", getManifest(), function() {
+chrome.webstorePrivate.beginInstallWithManifest2(
+ { 'id':extensionId, 'manifest': getManifest() }, function() {
assertEq(chrome.extension.lastError.message,
"This function must be called during a user gesture");
succeed();
« no previous file with comments | « chrome/test/data/extensions/api_test/webstore_private/incorrect_manifest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698