Skip to content
Snippets Groups Projects
  1. May 03, 2011
  2. May 02, 2011
  3. May 03, 2011
  4. May 02, 2011
  5. Apr 29, 2011
  6. Apr 27, 2011
  7. Apr 28, 2011
  8. Apr 27, 2011
    • Paul Biggar's avatar
      Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett) · 003f619b
      Paul Biggar authored
      In SM, classes are lazily resolved. If we detect that a class about to be used
      has not yet been resolved, then we resolve it. However, the way that we decided
      that they were resolved was broken. If the global object had a String property,
      then it had been resolved. So what happened when we deleted the String
      property? Well, it got resolved again.
      
      Instead of using the String property of the global object, we now use the
      contructor slot on the global object. This works fine for String, but some
      classes don't have a constructor, like Math and JSON. For those classes, we set
      the constructor slot to True. In either case, we can now tell that a class is
      resolved if the constructor slot in not Undefined.
      003f619b
  9. Apr 21, 2011
  10. Apr 20, 2011
  11. Apr 28, 2011
  12. Apr 20, 2011
  13. Apr 14, 2011
  14. Apr 28, 2011
  15. May 02, 2011
Loading