Bug 867847 - Fix busted navigator.id.get(). r=benadida
authorJed Parsons <jparsons@mozilla.com>
Wed, 01 May 2013 18:29:41 -0700
changeset 130631 c7b6f809741cfc1fcdfeb7241a217be0a9c3a529
parent 130630 3e0f1e2b853b7c84956398369bf8b9c591fad6e9
child 130632 76acf73d9f74b8a089db105a4f62b0556f05b630
push id1579
push userphilringnalda@gmail.com
push dateSat, 04 May 2013 04:38:04 +0000
treeherderfx-team@a56432a42a41 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbenadida
bugs867847
milestone23.0a1
Bug 867847 - Fix busted navigator.id.get(). r=benadida
dom/identity/nsDOMIdentity.js
--- a/dom/identity/nsDOMIdentity.js
+++ b/dom/identity/nsDOMIdentity.js
@@ -218,16 +218,17 @@ nsDOMIdentity.prototype = {
         setTimeout(function() { aCallback(null); }, 0);
       }
       return;
     }
 
     // Get an assertion by using our observer api: watch + request.
     var self = this;
     this.watch({
+      _internal: true,
       oncancel: function get_oncancel() {
         if (aCallback) {
           aCallback(null);
           aCallback = null;
         }
       },
       onlogin: function get_onlogin(assertion, internalParams) {
         if (assertion && aCallback && internalParams && !internalParams.silent) {