The Window.resizeBy() method resizes the current window by a specified amount.
Window.resizeBy()
external void resizeBy(int x, int y);