[Pkg-mozext-commits] [SCM] torbutton Debian packaging branch, master, updated. debian/1.4.1-1
Mike Perry
mikeperry-git at fscked.org
Wed Aug 31 07:26:51 UTC 2011
The following commit has been merged in the master branch:
commit 4a2b483e59424ba8697d39738c014ce27b80e16f
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Fri Aug 19 21:50:16 2011 -0700
Bug 3580: Fix part of the hotmail breakage.
We were blocking some of their javascript, which they apparently load in
object tags?
diff --git a/src/components/cssblocker.js b/src/components/cssblocker.js
index ad2b1ac..bf9ccde 100644
--- a/src/components/cssblocker.js
+++ b/src/components/cssblocker.js
@@ -312,6 +312,11 @@ ContentPolicy.prototype = {
wind = node;
}
+ /*
+ * This clause does in fact occurr. It causes us to break hotmail
+ * by blocking some of their javascript..
+ *
+ * https://trac.torproject.org/projects/tor/ticket/3580
if (contentType == 5) { // Object
// Never seems to happen.. But it would be nice if we
// could handle it either here or shouldProcess, instead of in
@@ -322,6 +327,7 @@ ContentPolicy.prototype = {
return block;
}
}
+ */
if (!wind || !wind.top.location || !wind.top.location.href) {
this.logger.safe_log(4, "Skipping no location: ",
--
torbutton Debian packaging
More information about the Pkg-mozext-commits
mailing list