[Pkg-mozext-commits] [adblock-plus] 72/87: Issue 3964 - Fix race condition, CSS property filters applying too early
David Prévot
taffit at moszumanska.debian.org
Sat Apr 30 17:59:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 305fe7b994323d55724db1928b5d6d44348b8afd
Author: Wladimir Palant <trev at adblockplus.org>
Date: Thu Apr 21 14:56:26 2016 +0200
Issue 3964 - Fix race condition, CSS property filters applying too early
---
lib/child/cssProperties.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/child/cssProperties.js b/lib/child/cssProperties.js
index 72da353..7ae9f26 100644
--- a/lib/child/cssProperties.js
+++ b/lib/child/cssProperties.js
@@ -62,7 +62,7 @@
let onReady = event =>
{
- subject.removeEventListener("DOMContentLoaded", onReady);
+ subject.removeEventListener("load", onReady);
let handler = new scope.CSSPropertyFilters(subject, selectors =>
{
if (selectors.length == 0)
@@ -81,7 +81,7 @@
senderWindow = null;
};
- subject.addEventListener("DOMContentLoaded", onReady);
+ subject.addEventListener("load", onReady);
};
Services.obs.addObserver(onContentWindow, "content-document-global-created",
--
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