Bug 1448717 - Define missing caldav variables after loader changes. r+a=MakeMyDay
authorPhilipp Kewisch <mozilla@kewis.ch>
Thu, 15 Nov 2018 13:49:24 +0100
changeset 33500 0232450e2c9b7be855adf04bf31d2ffc2babc8cf
parent 33499 c4aca7ee59e8825d301e7e37a71609c5e6ba8f47
child 33501 3a4f876f12af08e5670df715359ab1dd3ff49da9
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
bugs1448717
Bug 1448717 - Define missing caldav variables after loader changes. r+a=MakeMyDay
calendar/providers/caldav/calDavRequestHandlers.js
--- a/calendar/providers/caldav/calDavRequestHandlers.js
+++ b/calendar/providers/caldav/calDavRequestHandlers.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 var { cal } = ChromeUtils.import("resource://calendar/modules/calUtils.jsm", null);
 var { setTimeout } = ChromeUtils.import("resource://gre/modules/Timer.jsm", null);
 ChromeUtils.import("resource://gre/modules/Preferences.jsm");
 
+var xmlHeader = '<?xml version="1.0" encoding="UTF-8"?>\n';
+var MIME_TEXT_XML = "text/xml; charset=utf-8";
 
 /**
  * This is a handler for the etag request in calDavCalendar.js' getUpdatedItem.
  * It uses the SAX parser to incrementally parse the items and compose the
  * resulting multiget.
  *
  * @param aCalendar             The (unwrapped) calendar this request belongs to
  * @param aBaseUri              The URI requested (i.e inbox or collection)