diff --git a/toolkit/devtools/server/actors/highlighter.js b/toolkit/devtools/server/actors/highlighter.js index b58f3b16156..57e3a6cb49f 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;