While trying to use timeplot in offline mode in adobe air environment it
throws RangeError: Maximum call stack size exceeded. "XmlHttp: Error
handling onReadyStateChange" while loading a text data file.
The problem occurs in Timeplot.DefaultEventSource.prototype.loadText method
when it tries to execute the following statement "var base =
this._getBaseURL(url);" which apparently is completely unnecessary as we
are not using the base variable inside this method.
In Adobe air environment if you load the file from application folder the
base URL looks like "app:/mainpage.html". The reason it goes in infinite
loop is because of the implementation of
Timeline.DefaultEventSource.prototype._getBaseURL method cannot handle the
above URL.
After removing the call to this._getBaseURL method it was able to draw the
graph.
[Submitted by Shailesh Hingole on simile.mit.edu]
Original issue reported on code.google.com by stefano.mazzocchi@gmail.com on 25 Mar 2009 at 5:47
Original issue reported on code.google.com by
stefano.mazzocchi@gmail.com
on 25 Mar 2009 at 5:47