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 231654 8b4d28f1b8744cfe04e8f3df1b660383b43039e1
parent 231653 6cdd768e634fc34c0a0fe3d1623b4e8129e10536
child 231655 a6d944b90a6e6b11484dcf7ab8714ea4f0121cac
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone35.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
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