No bug - Change tabs to spaces in MozLoopPushHandler.jsm r=me DONTBUILD
authorJared Wein <jwein@mozilla.com>
Wed, 01 Oct 2014 20:02:09 -0400
changeset 218124 57b2798ccf55aca22dc98657f4e4fd726c1e9e95
parent 218123 028fa95c3c54764f03d0a64831577339fb4e8d3d
child 218125 719db0ec068ffda79700214a8ce6c9c16450da34
push id2
push usergszorc@mozilla.com
push dateWed, 12 Nov 2014 19:43:22 +0000
treeherderfig@7a5f4d72e05d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone34.0a2
No bug - Change tabs to spaces in MozLoopPushHandler.jsm r=me DONTBUILD
browser/components/loop/MozLoopPushHandler.jsm
--- a/browser/components/loop/MozLoopPushHandler.jsm
+++ b/browser/components/loop/MozLoopPushHandler.jsm
@@ -162,35 +162,35 @@ let MozLoopPushHandler = {
    * Handles the PushServer registration response.
    *
    * @param {} msg PushServer to UserAgent registration response (parsed from JSON).
    */
   _onRegister: function(msg) {
     switch (msg.status) {
       case 200:
         this._retryEnd(); // reset retry mechanism
-	this.registered = true;
+        this.registered = true;
         if (this.pushUrl !== msg.pushEndpoint) {
           this.pushUrl = msg.pushEndpoint;
           this._registerCallback(null, this.pushUrl);
         }
         break;
 
       case 500:
         // retry the registration request after a suitable delay
         this._retryOperation(() => this._registerChannel());
         break;
 
       case 409:
         this._registerCallback("error: PushServer ChannelID already in use");
-	break;
+        break;
 
       default:
         this._registerCallback("error: PushServer registration failure, status = " + msg.status);
-	break;
+        break;
     }
   },
 
   /**
    * Attempts to open a websocket.
    *
    * A new websocket interface is used each time. If an onStop callback
    * was received, calling asyncOpen() on the same interface will