From 1911ea7c0eafee60aa8f448369ef9aea2a00e092 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Tue, 3 Mar 2015 09:38:42 +0100 Subject: [PATCH] Bug 1138780 - Silence the CanvasFrameAnonymousContentHelper destroy error. r=miker --HG-- extra : rebase_source : abb1bf935e9f13eaa92bd6d584cf4e6dafdf2a36 --- toolkit/devtools/server/actors/highlighter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/devtools/server/actors/highlighter.js b/toolkit/devtools/server/actors/highlighter.js index b58f3b161564..57e3a6cb49fb 100644 --- a/toolkit/devtools/server/actors/highlighter.js +++ b/toolkit/devtools/server/actors/highlighter.js @@ -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;