[tor-commits] [torbutton/master] Bug #3928: FIX TEH TWITTERNETZ!11
mikeperry at torproject.org
mikeperry at torproject.org
Fri Sep 9 17:40:06 UTC 2011
commit 3ef322d0a4c618b1613541890ed33011103732b4
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Fri Sep 9 10:34:38 2011 -0700
Bug #3928: FIX TEH TWITTERNETZ!11
The auto-scroll was broken because we were overzealously killing a scrollbar
offset, thinking it was a window offset. #sorryboutit.
---
src/chrome/content/jshooks4.js | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/chrome/content/jshooks4.js b/src/chrome/content/jshooks4.js
index 60a4e1c..f5573ac 100644
--- a/src/chrome/content/jshooks4.js
+++ b/src/chrome/content/jshooks4.js
@@ -28,12 +28,6 @@ window.__HookObjects = function() {
Object.defineProperty(window.__proto__, "screenY",
{get: function() { return 0;},
configurable: false});
- Object.defineProperty(window.__proto__, "pageXOffset",
- {get: function() { return 0;},
- configurable: false});
- Object.defineProperty(window.__proto__, "pageYOffset",
- {get: function() { return 0;},
- configurable: false});
// We can't define individual getters/setters for window.screen
// for some reason. works in html but not in these hooks.. No idea why
More information about the tor-commits
mailing list