Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

22.0a2/ 20130402042004 vs 21.0a2/ 20130401042001 -- HTTP/REST call problem

6 views
Skip to first unread message

gNeandr

unread,
Apr 2, 2013, 4:29:22 PM4/2/13
to
Currently I'm developing a CalDAV feature for an addon running on FX and
TB. Up-to-today I haven't had problems with it, not on FX, not on TB.

Starting with todays TB nightly the very basic CalDAV request fails.
Before digging into it too much my question:

Is there any known problem with this TB update?

G�nter



Problem with HTTP/REST calls:
------------------------------------
Name: Thunderbird
Version: 22.0a2
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101
Thunderbird/22.0a2
Profile Directory: Open Directory

(Unknown location)
Application Build ID: 20130402042004


All version up to this OK with HTTP/REST calls:
--------------------------------------
Name: Thunderbird
Version: 21.0a2
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101
Thunderbird/21.0a2
Profile Directory: Open Directory

(Unknown location)
Application Build ID: 20130401042001

gNeandr

unread,
Apr 2, 2013, 7:16:34 PM4/2/13
to
With some tweaking I see the following comparing TB versions with the
same REST request to the same data:

_______ with TB 21.0a2 ____________
A XMLHttpRequest() for a HTTP/REST call returns 'text' and 'xml'.
During parsing the 'xml' the Debugger is stopped at:
if(oXMLParent.hasAttributes()) {

Checking with Debugger gives:
> 0001: oXMLParent.hasAttributes() $[0] = [boolean] false


_______ with TB 22.0a2 ____________
The same REST request for the same data, the same 'text' is returned but
the 'xml' parsing throws an error at the JS code:
if(oXMLParent.hasAttributes()) {

> Error: TypeError: oXMLParent.hasAttributes is not a function

Also here Debugger checking 'oXMLParent' with some parameters shows no
difference to TB 21.0a2:
> 0001: oXMLParent.attributes $[1] = [NamedNodeMap] [class:
NamedNodeMap] {0}
> 0001: oXMLParent.attributes.length $[2] = [integer] 0
>
> 0001: oXMLParent.tagName $[3] = [string] "d:href"
> 0001: oXMLParent.textContent $[4] = [string]
"/owncloud/apps/calendar/caldav.php/calendars/admin/default%20calendar/"


Any help for that?


PS Another observation .. also I know Venkman isn't very solid with TB:
I get frequently
> Error: TypeError: properties is undefined
> Source file: chrome://venkman/content/venkman-records.js
> Line: 483

That line has:
properties.AppendElement (this.atomFunction);

gNeandr

unread,
Apr 3, 2013, 11:29:06 AM4/3/13
to
There's a bug report
https://bugzilla.mozilla.org/show_bug.cgi?id=849661


What Joshua Cranmer [:jcranmer] mentioned on comment#6
> It's used in <https://developer.mozilla.org/en-US/docs/JXON>, and
> you've just broken comm-central's JXON code as a result.
is the situation with my code!



0 new messages