I don't think so.
The window size is a set property of the project, it is the size of the canvas in the browser.
Changing its size ends up in reinitialising the canvas. I'm not sure it can be made "on the fly".
You can always use the request fullscreen action from the browser object that will go from "windowed" to a complete full screen, but you can't actualy change the resolution at that moment.