Index: chrome/test/data/extensions/api_test/management/management_policy/allowed.js |
diff --git a/chrome/test/data/extensions/api_test/management/management_policy/allowed.js b/chrome/test/data/extensions/api_test/management/management_policy/allowed.js |
index 440a3c8bcffba2cabddccd5e770446216dc37179..cdd816882a1a1287ccaed63e96fd4569dd847480 100644 |
--- a/chrome/test/data/extensions/api_test/management/management_policy/allowed.js |
+++ b/chrome/test/data/extensions/api_test/management/management_policy/allowed.js |
@@ -64,10 +64,12 @@ var tests = [ |
chrome.test.assertEq(true, item.mayDisable); |
var id = item.id; |
- chrome.management.uninstall(id, callback(function() { |
- chrome.test.assertNoLastError(); |
- // The calling api test will verify that the item was uninstalled. |
- })); |
+ chrome.test.runWithUserGesture(function() { |
+ chrome.management.uninstall(id, callback(function() { |
+ chrome.test.assertNoLastError(); |
+ // The calling api test will verify that the item was uninstalled. |
+ })); |
+ }); |
})); |
} |
]; |