From b8f92631e560593185fc3a3ff89b2238aef50414 Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Fri, 3 Aug 2012 13:41:35 +0100
Subject: [PATCH] Make sure navigator.id.get can be called with no options.

---
 resources/static/include_js/include.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/resources/static/include_js/include.js b/resources/static/include_js/include.js
index d02808d77..3ae88d727 100644
--- a/resources/static/include_js/include.js
+++ b/resources/static/include_js/include.js
@@ -1188,6 +1188,7 @@
       // get an assertion
       get: function(callback, passedOptions) {
         var opts = {};
+        passedOptions = passedOptions || {};
         opts.privacyPolicy =  passedOptions.privacyPolicy || undefined;
         opts.termsOfService = passedOptions.termsOfService || undefined;
         opts.privacyURL = passedOptions.privacyURL || undefined;
-- 
GitLab