Hi guys,
I've been using the Google Visualisation API in our application and
everything has been working fine, however we made some modifications
to our framework a couple of weeks ago and then it stopped working.
This is the error that I get immediately after calling:
var query = new google.visualization.Query('urlToQuery');
query.send(myCallback);
Error:
uncaught exception: [Exception... "Component returned failure code:
0x80070057 (NS_ERROR_ILLEGAL_VALUE)
[nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80070057
(NS_ERROR_ILLEGAL_VALUE)" location: "JS frame ::
http://www.google.com/uds/api/visualization/1.0/e9f5bea2f5fcf88c5d872773ba55a57c/default,annotatedtimeline+en_US.I.js
:: anonymous :: line 239" data: no]
--
I'm pretty sure this bug is related with a missing hasOwnProperty()
check that the library has to have. We define new methods in the
Object.prototype, so when the library does something like:
for (var i in keys) {
// stuff without: if (keys.hasOwnProperty(i)) {}
}
It will fail, because of those methods that every objects have that
were inherited from the object prototype.
Do you plan to add those checks?, have you had a trouble like that
before?, what should I do?
Thank you,
Mauricio.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.