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

Unified Diff: chrome/test/data/extensions/management/launch_app/test.js

Issue 137793011: Require user confirmation for chrome.management.uninstall except when uninstalling self. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ExtensionManagementApiBrowserTest.LaunchApp Created 6 years, 11 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
Index: chrome/test/data/extensions/management/launch_app/test.js
diff --git a/chrome/test/data/extensions/management/launch_app/test.js b/chrome/test/data/extensions/management/launch_app/test.js
index 468db74ad4687c502a9d12f28b2c7b335a567407..11b78ddbbaaeff8cd15022a873408e9f3c49ad71 100644
--- a/chrome/test/data/extensions/management/launch_app/test.js
+++ b/chrome/test/data/extensions/management/launch_app/test.js
@@ -11,7 +11,7 @@ window.onload = function() {
}
if (item.name == "simple_extension") {
// Try launching a non-app extension, which should fail.
- var expected_error = "Extension " + item.id + " is not an App";
+ var expected_error = "Extension " + item.id + " is not an App.";
chrome.management.launchApp(item.id, function() {
if (chrome.runtime.lastError &&
chrome.runtime.lastError.message == expected_error) {

Powered by Google App Engine
This is Rietveld 408576698