-
Notifications
You must be signed in to change notification settings - Fork 78
'xmlhttprequest.responsetype json is not supported' #94
Comments
Hi! Thanks for loving qwest ;) First, for bower. PinkySwear is not published at all on it. You can only use the built versions of qwest : For your issue, can you use the non-minified file of qwest and tell me which line is crashing? |
Understood, we're now just using npm. Through the chrome debugger attached to the emulated Blackberry, it is reporting line: https://github.com/pyrsmk/qwest/blob/master/qwest.js#L248. However I suspect it to be https://github.com/pyrsmk/qwest/blob/master/qwest.js#L294, as |
That's what I expected, but that line shouldn't throw any error since it's wrapped by a It seems Blackberry doesn't support XHR2 types, but the condition shouldn't pass. The On that line, I'm verifying that XHR2 is supported by comparing Anyway! It seems you're explicitly setting the qwest's |
I'll enhance XHR2 detection based on Modernizr's tests : https://gist.github.com/paulirish/1431660#file_xhr2.js |
Curiously it doesn't seem to be 'throwing' an error, but it is definitely logged. I'm unsure as to the best approach but I guess you could try assigning the Apologies for taking a while to respond to this, changing |
It's not crashing your code even if the error is logged? That's great news! And I'm glad that setting For the issue, if I assign an unsupported value to I think I'll just put a notice on the docs for now. Thanks for reported it anyway! |
Hi:
First, thanks for creating this library, we've found it to be very useful and reliable.
We're currently encountering the error: 'xmlhttprequest.responsetype json is not supported' in Blackberry 10.2.0, this is likely due to the older version of webkit it uses.
Separately, installing via 'bower install qwest' seems to miss out the pinkyswear library, we had to use the npm variant.
Thanks for any assistance!
The text was updated successfully, but these errors were encountered: