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

--HG--
extra : rebase_source : abb1bf935e9f13eaa92bd6d584cf4e6dafdf2a36
This commit is contained in:
Patrick Brosset 2015-03-03 09:38:42 +01:00
parent 6fd3839025
commit 1911ea7c0e

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;