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

Unified Diff: extensions/renderer/resources/binding.js

Issue 411733002: WIP: diff which plumbs through the event URL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « extensions/renderer/event_bindings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/binding.js
diff --git a/extensions/renderer/resources/binding.js b/extensions/renderer/resources/binding.js
index 1ceb2defbfd1d5a70dd682a48fda4f30ede6ae00..86332274b8a2e93d731a0aae33aafc333a9e8e0d 100644
--- a/extensions/renderer/resources/binding.js
+++ b/extensions/renderer/resources/binding.js
@@ -432,7 +432,8 @@ Binding.prototype = {
if (!success) {
// If an API was available it should have been successfully generated.
- logging.DCHECK(!GetAvailability(schema.namespace).is_available);
+ var availability = GetAvailability(schema.namespace);
+ logging.DCHECK(!availability.is_available);
console.error('chrome.' + schema.namespace + ' is not available: ' +
availability.message);
return;
« no previous file with comments | « extensions/renderer/event_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698