asCtor allows simple functions and constructors to appear after new.
But caja.def calls ctor, which used to prohibit simple functions in the
first position. (The check was removed in metaweta/attached-methods.)
This leaves the possibility that a function might be marked both as a
contructor and a simple function, which messes with the function species table:
http://code.google.com/p/google-caja/wiki/FunctionSpecies
Original issue reported on code.google.com by metaw...@gmail.com on 24 Apr 2008 at 5:17
Original issue reported on code.google.com by
metaw...@gmail.com
on 24 Apr 2008 at 5:17