mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9 lines
284 B
JavaScript
9 lines
284 B
JavaScript
|
function test() {
|
||
|
var currentWin = content;
|
||
|
var newWin =
|
||
|
browserDOMWindow.openURI(makeURI("about:"), null,
|
||
|
Ci.nsIBrowserDOMWindow.OPEN_CURRENTWINDOW, null)
|
||
|
is(newWin, currentWin, "page loads in the current content window");
|
||
|
gBrowser.stop();
|
||
|
}
|