mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 17:05:46 +01:00
Work around stupid fucking crash on FF3.6. Closes issue \#127.
Update issue \#124 This is not fixed on Firefox <4.0, given that the correct fix causes crashes. --HG-- extra : rebase_source : 1cade319b1260cb1dc20330a338ce34104ffddff
This commit is contained in:
@@ -466,6 +466,14 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
return null;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns true if the current Gecko runtime is of the given version
|
||||
* or greater.
|
||||
*
|
||||
* @param {string} ver The required version.
|
||||
*/
|
||||
haveGecko: function (ver) services.get("versionCompare").compare(services.get("runtime").platformVersion, ver) >= 0,
|
||||
|
||||
/**
|
||||
* Sends a synchronous or asynchronous HTTP request to *url* and returns
|
||||
* the XMLHttpRequest object. If *callback* is specified the request is
|
||||
|
||||
Reference in New Issue
Block a user