Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

swapDocShells

swapDocShells( otherBrowser )
Return type: no return value
Swaps the content, history and current state of this browser with another browser. During the swap, pagehide and pageshow events are fired on both browsers. This method can be used to move browser between windows or tear off a browser into a new window.

Note: Both browsers must be either standalone browsers or embedded in a tabbrowser. You can't mix them.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, GMouron, pippijn, Marsf, MarkFinkle
 Last updated by: Sheppy,