Three Monkeys, Three Typewriters, Two Days

September 20, 2010

Letting users take control of garbage collection

In the spirit of the sort of controls people ask for for cookies and the like, I'd like to propose a preference for JavaScript garbage collection behavior, with four values:

  1. Always
  2. Never
  3. As needed
  4. Ask every time

The default value should probably be "As needed", though I can see someone making a case for one of the other values.

Update: To be clear, the "ask every time" pref would ask per potential garbage collection opportunity, just like the cookie pref asks per cookie and the image pref asks per image. All power to the users!

Posted by bzbarsky at September 20, 2010 3:31 PM