Current behaviour: logs an empty window object to devtools
Expected behaviour: it should log the window object to devtools