On Jun 23, 2009, at 10:41 AM, Maciej Stachowiak wrote:
On Jun 22, 2009, at 11:58 PM, Adam Barth wrote:
I don't really know how to solve this problem except by writing
tests. However, tests don't really help when introducing new kinds
of objects (e.g., workers, database transactions).
Perhaps it's possible to write a test that both checks which global
object is used for every constructor, and checks that the test covers
all constructors at the same time. Maybe there is a practical way to
iterate the constructors, as long as we create an exception list of
objects that look like constructors but are not.
Tests are the bests.
-- Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev