If i am right than every object is under window.
i wrote this code
for(i in window)
it returns me every defined object
but there is some object which is created by constructor and they are not returned
if("WebSocket" in window)
how can i get these
what else could be missing