There is another thread about this; copy-pasting the response I just sent on it, below.Bottom line, the problem you have is chromium disallows resizing on tabs (but allows it on popup windows). (distinction between tab and popup, is a tab docks into a window, whereas popup is its own window).
AFAIK there was a conscious effort to prevent resizing/moving on top level windows (i.e. tabs). Multiple tabs may share the same window frame. So there are abuse concerns if resizes/moves on one page can affect all the others. For example, maybe a rogue application continually moves the window around, or resizes it repeatedly. The compromise is, chromium will (barring any bugs) allow resize/close/moveTo on popup windows. There are some rough edges to be worked out, feedback/suggestions are welcome. On Thu, Sep 11, 2008 at 2:13 AM, Sunil Jayaprakash < [EMAIL PROTECTED]> wrote: > > I am having issues with window.resizeTo() javascript call in Chrome. > Here is a small snippet that doesn't work in Chrome. > > <html> > <script TYPE="text/javascript" LANGUAGE="javascript"> > window.resizeTo(100,200); > </script> > </html> > > > When this html is opened from Safari, Firefox or windows it opens up a > Window of size (100, 200). However on Chrome this does not have any > effect. > > Is this a known issue ? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/chromium-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
