[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13747: Need this part too if we set the proto to null. (torbutton/trunk/src/chrome/content)



Author: mikeperry
Date: 2008-02-26 15:27:51 -0500 (Tue, 26 Feb 2008)
New Revision: 13747

Modified:
   torbutton/trunk/src/chrome/content/jshooks.js
Log:

Need this part too if we set the proto to null.



Modified: torbutton/trunk/src/chrome/content/jshooks.js
===================================================================
--- torbutton/trunk/src/chrome/content/jshooks.js	2008-02-26 20:09:23 UTC (rev 13746)
+++ torbutton/trunk/src/chrome/content/jshooks.js	2008-02-26 20:27:51 UTC (rev 13747)
@@ -9,6 +9,9 @@
       var tmp_oscpu = window.__tb_oscpu;
       var tmp_platform = window.__tb_platform;
       var tmp_productSub = window.__tb_productSub;
+      window.navigator.__defineGetter__("oscpu", function() { return tmp_oscpu;});
+      window.navigator.__defineGetter__("productSub", function() { return tmp_productSub;});
+      window.navigator.__defineGetter__("buildID", function() { return 0;});
       window.navigator.__proto__.__defineGetter__("oscpu", function() { return tmp_oscpu;});
       window.navigator.__proto__.__defineGetter__("productSub", function() { return tmp_productSub;});
       window.navigator.__proto__.__defineGetter__("buildID", function() { return 0;});