I feel like we are going to type this a lot now with the use of the WebConsole. I won't be against a new function exposed by window_manager.js. (but tha'ts probably out of the scope of this bug).