Test for
bug 47422
: window constructor shouldn't be directly callable.