summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalman <kalman@chromium.org>2015-04-03 15:50:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-03 22:53:24 +0000
commitd774155ed89969a8181932f9f2db8ebc179f5b5e (patch)
treecf69c48ecc3fa65c64efc995c742d064eb4b1520
parentd5139059122edc3c22dfa0e60ad2e4d3167e27fc (diff)
downloadchromium_src-d774155ed89969a8181932f9f2db8ebc179f5b5e.zip
chromium_src-d774155ed89969a8181932f9f2db8ebc179f5b5e.tar.gz
chromium_src-d774155ed89969a8181932f9f2db8ebc179f5b5e.tar.bz2
Disable dev channel crashes for Extension JS exceptions.
This is a temporary patch so that the next dev release branch won't have high crash rates due to this bug. The crash is explicitly disabled on stable and beta branches anyway. Once dev next branches, this will be reverted as we return to trying to fix it. BUG=471599 R=yoz@chromium.org Review URL: https://codereview.chromium.org/1059383002 Cr-Commit-Position: refs/heads/master@{#323841}
-rw-r--r--chrome/common/extensions/chrome_extensions_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/chrome_extensions_client.cc b/chrome/common/extensions/chrome_extensions_client.cc
index d106822..bb2f0da 100644
--- a/chrome/common/extensions/chrome_extensions_client.cc
+++ b/chrome/common/extensions/chrome_extensions_client.cc
@@ -305,8 +305,8 @@ void ChromeExtensionsClient::RegisterAPISchemaResources(
}
bool ChromeExtensionsClient::ShouldSuppressFatalErrors() const {
- // Suppress fatal errors only on beta and stable channels.
- return GetCurrentChannel() > chrome::VersionInfo::CHANNEL_DEV;
+ // Suppress fatal on all release branches.
+ return GetCurrentChannel() > chrome::VersionInfo::CHANNEL_CANARY;
}
std::string ChromeExtensionsClient::GetWebstoreBaseURL() const {