Bug 1465638 - Do not send capabilities in FxA device registration. r?rfk draft
authorEdouard Oger <eoger@fastmail.com>
Thu, 31 May 2018 11:38:06 -0400
changeset 802165 1b3f127a313b8abe1814929b4c89de185970a345
parent 802102 763f30c3421233a45ef9e67a695c5c241a2c8a3a
push id111844
push userbmo:eoger@fastmail.com
push dateThu, 31 May 2018 15:38:31 +0000
reviewersrfk
bugs1465638
milestone62.0a1
Bug 1465638 - Do not send capabilities in FxA device registration. r?rfk MozReview-Commit-ID: Cf5yk7nSDQE
services/fxaccounts/FxAccountsClient.jsm
--- a/services/fxaccounts/FxAccountsClient.jsm
+++ b/services/fxaccounts/FxAccountsClient.jsm
@@ -404,17 +404,16 @@ this.FxAccountsClient.prototype = {
 
     if (options.pushCallback) {
       body.pushCallback = options.pushCallback;
     }
     if (options.pushPublicKey && options.pushAuthKey) {
       body.pushPublicKey = options.pushPublicKey;
       body.pushAuthKey = options.pushAuthKey;
     }
-    body.capabilities = options.capabilities;
 
     return this._request(path, "POST", creds, body);
   },
 
   /**
    * Sends a message to other devices. Must conform with the push payload schema:
    * https://github.com/mozilla/fxa-auth-server/blob/master/docs/pushpayloads.schema.json
    *