mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
Bug 1138780 - Silence the CanvasFrameAnonymousContentHelper destroy error. r=miker
--HG-- extra : rebase_source : abb1bf935e9f13eaa92bd6d584cf4e6dafdf2a36
This commit is contained in:
parent
6fd3839025
commit
1911ea7c0e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user