Bug 867847 - Fix busted navigator.id.get(). r=benadida
authorJed Parsons <jparsons@mozilla.com>
Wed, 01 May 2013 18:29:41 -0700
changeset 141566 c7b6f809741cfc1fcdfeb7241a217be0a9c3a529
parent 141565 3e0f1e2b853b7c84956398369bf8b9c591fad6e9
child 141567 76acf73d9f74b8a089db105a4f62b0556f05b630
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbenadida
bugs867847
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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) {