[scriptable, uuid(09a5e148-2a77-4739-9dd9-3d552f5390ee)]
interface nsIDOMChromeWindow : nsISupports


const unsigned short STATE_MAXIMIZED = 1

const unsigned short STATE_MINIMIZED = 2

const unsigned short STATE_NORMAL = 3

const unsigned short STATE_FULLSCREEN = 4


 browserDOMWindow provides access to yet another layer of
 utility functions implemented by chrome script. It will be null
 for DOMWindows not corresponding to browsers.
attribute nsIBrowserDOMWindow browserDOMWindow

readonly attribute unsigned short windowState


void getAttention()

void getAttentionWithCycleCount(in long aCycleCount)

void maximize()

void minimize()

void restore()

void setCursor(in DOMString cursor)