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

Unified Diff: extensions/renderer/resources/guest_view/extension_view/extension_view_api_methods.js

Issue 2298803004: Fix for undefined reject() in extension_view_api_methods.js. (Closed)
Patch Set: Created 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/guest_view/extension_view/extension_view_api_methods.js
diff --git a/extensions/renderer/resources/guest_view/extension_view/extension_view_api_methods.js b/extensions/renderer/resources/guest_view/extension_view/extension_view_api_methods.js
index d495973072afcb279de63b168f26d8f06310c0ec..0c64e633dcc3f556d284b53cc79a587076404f02 100644
--- a/extensions/renderer/resources/guest_view/extension_view/extension_view_api_methods.js
+++ b/extensions/renderer/resources/guest_view/extension_view/extension_view_api_methods.js
@@ -32,9 +32,9 @@ ExtensionViewImpl.prototype.load = function(src) {
this.pendingLoad = null;
this.loadNextSrc();
}.bind(this), function onLoadRejected() {
+ this.pendingLoad.reject('Failed to load.');
this.pendingLoad = null;
this.loadNextSrc();
- reject('Failed to load.');
}.bind(this));
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698