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.js11
1 files changed, 11 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 0000000000..0bea31728a
--- /dev/null
+++ b/browser/components/shell/test/browser_633221.js
@@ -0,0 +1,11 @@
+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"
+ );
+}