We need a small test for this in app_window_test.js