Bug 1138780 - Silence the CanvasFrameAnonymousContentHelper destroy error. r=miker

This commit is contained in:
Patrick Brosset 2015-03-03 09:38:42 +01:00
parent 28e3058d43
commit b33e573397

View File

@ -467,7 +467,7 @@ CanvasFrameAnonymousContentHelper.prototype = {
try {
let doc = this.anonymousContentDocument;
doc.removeAnonymousContent(this._content);
} catch (e) {console.error(e)}
} catch (e) {}
events.off(this.tabActor, "navigate", this._onNavigate);
this.tabActor = this.nodeBuilder = this._content = null;
this.anonymousContentDocument = null;