[scriptable, uuid(3414ebc7-731f-4697-9f43-aca6f5050875)]
interface nsIDOMWindowInternal : nsIDOMWindow2
Attributes
readonly attribute
boolean
closed
readonly attribute
nsIDOMWindow
content
readonly attribute
nsIControllers
controllers
readonly attribute
nsIDOMCrypto
crypto
attribute
DOMString
defaultStatus
readonly attribute
nsIDOMBarProp
directories
readonly attribute
nsIDOMElement
frameElement
attribute
boolean
fullScreen
readonly attribute
nsIDOMHistory
history
attribute
long
innerHeight
attribute
long
innerWidth
readonly attribute
unsigned long
length
readonly attribute
nsIDOMLocation
location
readonly attribute
nsIDOMBarProp
locationbar
readonly attribute
nsIDOMBarProp
menubar
readonly attribute
nsIDOMNavigator
navigator
attribute
nsIDOMWindowInternal
opener
attribute
long
outerHeight
attribute
long
outerWidth
readonly attribute
long
pageXOffset
readonly attribute
long
pageYOffset
readonly attribute
nsIDOMBarProp
personalbar
readonly attribute
nsIDOMPkcs11
pkcs11
[noscript]
readonly attribute
nsIPrompt
prompter
readonly attribute
nsIDOMScreen
screen
attribute
long
screenX
attribute
long
screenY
readonly attribute
long
scrollMaxX
readonly attribute
long
scrollMaxY
readonly attribute
nsIDOMWindowInternal
self
attribute
DOMString
status
readonly attribute
nsIDOMBarProp
statusbar
readonly attribute
nsIDOMBarProp
toolbar
readonly attribute
nsIDOMWindowInternal
window
Methods
void
alert(in DOMString text)
DOMString
atob(in DOMString aAsciiString)
void
back()
void
blur()
DOMString
btoa(in DOMString aBase64Data)
void
close()
boolean
confirm(in DOMString text)
[noscript]
boolean
find(in DOMString str, in boolean caseSensitive, in boolean backwards, in boolean wrapAround, in boolean wholeWord, in boolean searchInFrames, in boolean showDialog)
void
focus()
void
forward()
void
home()
void
moveBy(in long xDif, in long yDif)
void
moveTo(in long xPos, in long yPos)
Open a new window with this one as the parent. This method will NOT examine the JS stack for purposes of determining a caller. This window will be used for security checks during the search by name and the default character set on the newly opened window will just be the default character set of this window.
[noscript]
nsIDOMWindow
open(in DOMString url, in DOMString name, in DOMString options)
[noscript]
nsIDOMWindow
openDialog(in DOMString url, in DOMString name, in DOMString options, in nsISupports aExtraArgument)
Implements a safe message-passing system which can cross same-origin boundaries. This method, when called, causes a MessageEvent to be asynchronously dispatched at the primary document for the window upon which this method is called. (Note that the postMessage property on windows is allAccess and thus is readable cross-origin.) The dispatched event will have message as its data, the calling context's window as its source, and an origin determined by the calling context's main document URI. The targetOrigin argument specifies a URI and is used to restrict the message to be sent only when the target window has the same origin as targetOrigin (since, when the sender and the target have different origins, neither can read the location of the other). See the WHATWG HTML5 specification, section 6.4, for more details.
[binaryname(PostMessageMoz)]
void
postMessage(in DOMString message, in DOMString targetOrigin)
void
print()
DOMString
prompt(in DOMString aMessage, in DOMString aInitial, in DOMString aTitle, in unsigned long aSavePassword)
void
resizeBy(in long widthDif, in long heightDif)
void
resizeTo(in long width, in long height)
void
scroll(in long xScroll, in long yScroll)
nsIVariant
showModalDialog(in DOMString aURI, [optional] in nsIVariant aArgs, [optional] in DOMString aOptions)
void
stop()
void
updateCommands(in DOMString action)
Compare to: