| Index: lib/requestNotifier.js |
| =================================================================== |
| --- a/lib/requestNotifier.js |
| +++ b/lib/requestNotifier.js |
| @@ -29,10 +29,9 @@ |
| let windowSelection = new WeakMap(); |
| let setEntry, hasEntry, getEntry; |
| -if (false) |
| +// Last issue(Bug 982561) preventing us from using WeakMap fixed for FF version 32 |
| +if (Services.vc.compare(Utils.platformVersion, "32.0a1") >= 0) |
| { |
| - // This branch can be enabled again once all of bug 673468, bug 819131 and |
| - // bug 982561 are fixed and we can use weak maps. |
| setEntry = function(map, key, value) map.set(key, value); |
| hasEntry = function(map, key) map.has(key); |
| getEntry = function(map, key) map.get(key); |