[Pkg-mozext-commits] [adblock-plus] 43/98: Issue 4527 - Don't access potentially dead object in child/elemHide.js
David Prévot
taffit at moszumanska.debian.org
Tue Oct 24 01:30:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit d1ccbe1e6947445238e4e025b1ad306eda2115d7
Author: Wladimir Palant <trev at adblockplus.org>
Date: Fri Oct 14 10:40:37 2016 +0200
Issue 4527 - Don't access potentially dead object in child/elemHide.js
---
lib/child/elemHide.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/child/elemHide.js b/lib/child/elemHide.js
index a9e67b6..293e803 100644
--- a/lib/child/elemHide.js
+++ b/lib/child/elemHide.js
@@ -369,7 +369,7 @@ let observer = {
}
}
- let host = subject.location.hostname;
+ let host = window.location.hostname;
if (host)
{
try
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list