Bug 1108640 - TypeError: this.mQueuedQueries.pop(...)[Symbol.iterator] is not a function. r=ssitter a=Fallen
authorPhilipp Kewisch <mozilla@kewis.ch>
Mon, 16 Feb 2015 23:22:50 +0100
changeset 21648 b12ee2866480d1b78060d06c2fb272f223922b98
parent 21647 a5bcd0b4e886fd695176f5c330701922da11a27c
child 21649 b7895b1370659516d240cf64a428dbb0c3142966
push id1305
push usermbanner@mozilla.com
push dateMon, 23 Feb 2015 19:48:12 +0000
treeherdercomm-beta@3ae4f13858fd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersssitter, Fallen
bugs1108640
Bug 1108640 - TypeError: this.mQueuedQueries.pop(...)[Symbol.iterator] is not a function. r=ssitter a=Fallen
calendar/providers/caldav/calDavCalendar.js
--- a/calendar/providers/caldav/calDavCalendar.js
+++ b/calendar/providers/caldav/calDavCalendar.js
@@ -1288,17 +1288,17 @@ calDavCalendar.prototype = {
                 this.notifyOperationComplete(aListener,
                                              Components.results.NS_OK,
                                              cIOL.GET,
                                              null,
                                              null);
             }
         } else {
             if (!this.checkedServerInfo) {
-                this.mQueuedQueries.push(arguments);
+                this.mQueuedQueries.push(Array.from(arguments));
             } else {
                 this.mOfflineStorage.getItems.apply(this.mOfflineStorage, arguments);
             }
         }
     },
 
     fillACLProperties: function caldav_fillACLProperties() {
         let orgId = this.calendarUserAddress;