Bug 1468912 - Follow-up: Fix comment. rs=comment-only,typo-fix DONTBUILD
authorJorg K <jorgk@jorgk.com>
Tue, 22 Jan 2019 14:23:44 +0100
changeset 34271 30006894ce432d56db2cd609a75a06247d8837ac
parent 34270 2173bcabed6dce8c8d578b6aeb4cff4b3156eb4f
child 34272 6c49bd73b927ad95b5e49a50f84a9372374a03fb
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewerscomment-only, typo-fix
bugs1468912
Bug 1468912 - Follow-up: Fix comment. rs=comment-only,typo-fix DONTBUILD
calendar/base/modules/utils/calProviderUtils.jsm
--- a/calendar/base/modules/utils/calProviderUtils.jsm
+++ b/calendar/base/modules/utils/calProviderUtils.jsm
@@ -32,17 +32,17 @@ var calprovider = {
      *                                                            string will be converted to an
      *                                                            input stream.
      * @param {String} aContentType                             Value for Content-Type header, if any
      * @param {nsIInterfaceRequestor} aNotificationCallbacks    Calendar using channel
      * @param {?nsIChannel} aExisting                           An existing channel to modify (optional)
      * @return {nsIChannel}                                     The prepared channel
      */
     prepHttpChannel: function(aUri, aUploadData, aContentType, aNotificationCallbacks, aExisting=null) {
-        // We cannot use a system principal here, since the conncetion setup would fail if
+        // We cannot use a system principal here since the connection setup will fail if
         // same-site cookie protection is enabled in TB and server-side.
         let principal = aExisting ? null
                                   : Services.scriptSecurityManager.createCodebasePrincipal(aUri, {});
         let channel = aExisting || Services.io.newChannelFromURI2(aUri,
                                                                   null,
                                                                   principal,
                                                                   null,
                                                                   Ci.nsILoadInfo.SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,