Wearable 2.3.2 JS XmlHttpRequest: same URL works in Web App but not in Web Widget (status 500)

Wearable 2.3.2 JS XmlHttpRequest: same URL works in Web App but not in Web Widget (status 500)

BY 25 Jan 2017 Web Application Development

Hi,

I have a Google URL that I access via JavaScript’s XmlHttpRequest object returning JSON that works fine in a Wearable 2.3.2 Application.

If I use the exact same code and URL in a Tizen 2.3.2 Web Widget on my Gear S3, I get a 500 error.

The problem happens in the Emulator and on the watch.

URL: http://www.google.com/finance/info?q=googl

It always works in the App and always fails in the Widget.

I am able to go to other URLs in the Widget without errors!

I did not see any valuable information as to why I am getting a 500 error.

As I said it should be easily reproduceable in the Emulator using Tizen Studio 1.1.

 

Is there anyone who could help me with that or knows a good way to get in touch with Tizen support so that they can help me debug this.

 

Thanks,

Oliver

 

 

 

 

 

Written by