svoid startChromeAppWithWindowBounds(S url, Rect bounds) { if (bounds == null) ret with startChromeApp(url); File f = createTempFileWithExtension(".html"); saveTextFile(f, hjavascript( javascript_setWindowBounds(bounds) + "\n" + "window.location=" + jsQuote(url) + ";")); startChromeApp(f); }