зеркало из https://github.com/mozilla/gecko-dev.git
8 строки
313 B
JavaScript
8 строки
313 B
JavaScript
ChromeUtils.import("resource:///modules/ShellService.jsm");
|
|
|
|
function test() {
|
|
ShellService.setDefaultBrowser(true, false);
|
|
ok(ShellService.isDefaultBrowser(true, false), "we got here and are the default browser");
|
|
ok(ShellService.isDefaultBrowser(true, true), "we got here and are the default browser");
|
|
}
|