Fix typo in default bookmarks error handler
authorGavin Sharp <gavin@gavinsharp.com>
Tue, 20 Oct 2009 20:16:34 -0400
changeset 65688 f8487fa6503f0391511ba908414cf98c7f8d65c8
parent 65687 26bc29c7224a44fa9bc3a7ec273ac5fa7cb6227f
child 65689 eef2ad531207be3740e42840a4dbda56e6f0e75c
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Fix typo in default bookmarks error handler
mobile/components/BrowserStartup.js
--- a/mobile/components/BrowserStartup.js
+++ b/mobile/components/BrowserStartup.js
@@ -88,17 +88,17 @@ BrowserStartup.prototype = {
           let converter = Cc["@mozilla.org/intl/scriptableunicodeconverter"].
                           createInstance(Ci.nsIScriptableUnicodeConverter);
           let jsonStr = "";
           try {
             converter.charset = "UTF-8";
             jsonStr = converter.convertFromByteArray(aResult, aResult.length);
 
             PlacesUtils.restoreBookmarksFromJSONString(jsonStr, true);
-          } catch (ex) {
+          } catch (err) {
             Cu.reportError("Failed to parse default bookmarks from bookmarks.json: " + err);
           }
         }
       };
 
       let ioSvc = Cc["@mozilla.org/network/io-service;1"].
                   getService(Ci.nsIIOService);
       let uri = ioSvc.newURI("chrome://browser/locale/bookmarks.json", null, null);