Ian Oeschger wrote:
> ...Feedback and help like what window.directories and window.controllers
> are, for example, and how they work. I've got a lot of blanks in the
> documentation, and I think most of them are in the window object reference.
>
> -i.
>
Here's some material to fill the blanks:
* window.directories is the same as window.personalbar
* window._content is the same as window.content, and returns a reference
to the primary "window". Generally used in a browser window to get hold
of the main browser frame. (not sure this is the right explanation)
* window.controllers returns the XUL controllers of the chrome window
* window.prompter returns a reference to the prompter object of the
window. Not very interesting.
* window.pkcs11 returns the pkcs11 object of the browser, a security
feature.
* window.sidebar returns a reference to the window object of the sidebar
* window.routeEvents() not implemented
* window.disableInternalCapture() and window.enableInternalCapture() :
not implemented
* window.forward() : moves forward one in the window history (see
window.back())
* window.getSelection() returns the current selection (generally text)
* window.print() prints the current document
* window.prompt() brings up a prompt dialog
* window.resizeBy(): resizes the window by the arguments
* window.resizeTo() resizes the window to the arguments
* window.setCursor() changes the cursor for the current window. It will
be locked until it's set back to auto
* window.sizeToContent() sizes the window according to its content
* window.updateCommands() updates the commands of the current chrome window.
That's it for now, will do some more when I get some sleep (3AM, duh)
-Fabian.