mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
456 B
JavaScript
14 lines
456 B
JavaScript
const Cc = Components.classes;
|
|
const Ci = Components.interfaces;
|
|
|
|
function test(){
|
|
var mainWindow = window;
|
|
is(mainWindow.location.href, "chrome://browser/content/browser.xul", "Did not get main window");
|
|
|
|
mainWindow.focus();
|
|
|
|
var browser = mainWindow.getBrowser();
|
|
isnot(browser, null, "Should have a browser");
|
|
is(browser.currentURI.spec, "about:blank", "Should be displaying the blank page");
|
|
}
|