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

Unified Diff: chrome/browser/resources/extensions/extension_error_overlay.js

Issue 405743002: Typecheck some of ui/webui/resources/js/ with Closure compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr.isMac fix Created 6 years, 4 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 | « no previous file | chrome/browser/resources/ntp4/tile_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/extensions/extension_error_overlay.js
diff --git a/chrome/browser/resources/extensions/extension_error_overlay.js b/chrome/browser/resources/extensions/extension_error_overlay.js
index afdcf56d2e64354e7a7ec2d41800ed06c5a3b9d9..537b6892b55bb24eeae734063ce2dd8c0d0cabd8 100644
--- a/chrome/browser/resources/extensions/extension_error_overlay.js
+++ b/chrome/browser/resources/extensions/extension_error_overlay.js
@@ -77,7 +77,7 @@ cr.define('extensions', function() {
else if (chrome.developerPrivate)
chrome.developerPrivate.openDevTools(args);
else
- assert(false, 'Cannot call either openDevTools function.');
+ assertNotReached('Cannot call either openDevTools function.');
};
RuntimeErrorContent.prototype = {
@@ -335,7 +335,7 @@ cr.define('extensions', function() {
extensions.ExtensionErrorOverlay.requestFileSourceResponse(result);
});
} else {
- assert(false, 'Cannot call either requestFileSource function.');
+ assertNotReached('Cannot call either requestFileSource function.');
}
};
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/tile_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698