summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tabs_module_constants.cc
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-24 21:39:35 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-24 21:39:35 +0000
commitd33a22399c8a5962393d26889990cb6105be30ce (patch)
tree4112e280adcca5ee5ca88b0a0b9cc033b346981b /chrome/browser/extensions/extension_tabs_module_constants.cc
parent38f66acdaf57a5022e8b15b16e34e76496eef166 (diff)
downloadchromium_src-d33a22399c8a5962393d26889990cb6105be30ce.zip
chromium_src-d33a22399c8a5962393d26889990cb6105be30ce.tar.gz
chromium_src-d33a22399c8a5962393d26889990cb6105be30ce.tar.bz2
Don't let extensions crash the browser or renderers from tabs API.
BUG=73784 TEST=ExtensionApiTest.TabCrashBrowser Review URL: http://codereview.chromium.org/6579013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module_constants.cc')
-rw-r--r--chrome/browser/extensions/extension_tabs_module_constants.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module_constants.cc b/chrome/browser/extensions/extension_tabs_module_constants.cc
index 74eff33..f23edae 100644
--- a/chrome/browser/extensions/extension_tabs_module_constants.cc
+++ b/chrome/browser/extensions/extension_tabs_module_constants.cc
@@ -56,6 +56,8 @@ const char kCanOnlyMoveTabsWithinNormalWindowsError[] = "Tabs can only be "
"moved to and from normal windows.";
const char kCanOnlyMoveTabsWithinSameProfileError[] = "Tabs can only be moved "
"between windows in the same profile.";
+const char kNoCrashBrowserError[] =
+ "I'm sorry. I'm afraid I can't do that.";
const char kNoCurrentWindowError[] = "No current window";
const char kNoLastFocusedWindowError[] = "No last-focused window";
const char kWindowNotFoundError[] = "No window with id: *.";