XUL:Attribute:browser.type
From MDC
- type
- Type: one of the values below
- The type of browser, which can be used to set the access of the document loaded inside the browser. If this is not set, the loaded document has the same access as the window containing the
browser.
-
content: A browser for content. The content that is loaded inside the browser is not allowed to access the chrome above it. -
content-primary: The primary browser for content. The content that is loaded inside the browser is not allowed to access the chrome above it. For instance, in a web browser, this would be the element that displays the web page. The window for the primary content can be retrieved more conveniently using window.content. -
content-targetable: One browser among many for content. The content that is loaded inside the browser is not allowed to access the chrome above it. This is the preferred value for anybrowserelement in an application that will use multiple browsers of equal privileges and is unselected at the moment.
[edit] See also
More information in the XUL tutorial and iframe