Comment #1 on issue 1274 by metaweta: Current "virtualize" strategy isn't safe
http://code.google.com/p/google-caja/issues/detail?id=1274
In properly defensive innocent code, they'd say something like Array.prototype.sort.call(x, comparator) instead of x.sort(comparator)Virtualization lets us avoid rewriting properly defensive innocent code (including domita!) from
Array.prototype.sort to Array.prototype.sort___ I don't think we should make the change you suggest.
