Firefox 4.0 Issues (that is.... complete failures)

You have to expect bugs, just have to.

Error: uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: 10.10.10.10/javascript/touchui/c … i_debug.js :: <TOP_LEVEL> :: line 3617” data: no]

Fix it with
if( this._dataobj ) {

and you get.

Error: missing } after property list
Source File: 10.10.10.10/javascript/touchui/c … i_debug.js
Line: 3719, Column: 5
Source Code:
load:function(url,call){

Time to verify all {} pairs.
I know its more , but even one liners should have a { } pair.

Fun times…

Line 3722:

if (!this.data.feed)

needs a {} wrapped around the this.data.feed line

if (!this.data.feed) {

line 3737: needs a } on the following line after };

re-run : More errors.
Error: uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: 10.10.10.10/javascript/touchui/c … i_debug.js :: <TOP_LEVEL> :: line 3618” data: no]

Fixed with:

		if( this._not_render_me != undefined ) {
		  this._not_render_me = true;
		}

And again

Error: uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: 10.10.10.10/javascript/touchui/c … i_debug.js :: <TOP_LEVEL> :: line 3620” data: no]

Fixed with:
if( this._dataobj ) {
var node = dhx.toNode(config);
if( node != null ) {
this._dataobj.appendChild(node);
}
}

Are you using any special plugins|setting in FireFox ?

The code of dhtmlx touch works correctly on fresh FireFox4 installation, and doesn’t throw any of above errors

This is not true for javascript. The brackets for one line instructions are optional, and their presence or absence must not cause difference for javascript parser.
Actually, all code of dhtmlx touch processed by jsLint, so it must not have any syntax flaws.