summaryrefslogtreecommitdiffstats
path: root/browser/components/shell/test/browser_633221.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/shell/test/browser_633221.js')
-rw-r--r--browser/components/shell/test/browser_633221.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/browser/components/shell/test/browser_633221.js b/browser/components/shell/test/browser_633221.js
new file mode 100644
index 000000000..7929e8098
--- /dev/null
+++ b/browser/components/shell/test/browser_633221.js
@@ -0,0 +1,7 @@
+Components.utils.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");
+}