Re: [Interest] WebVuew::runJavaScript problems

2018-08-25 Thread Christoph Keller
op-level scope: var testResult = "incomplete"; So I should at least get "incomplete".  So what do I have to do to get testResult in iOS? *Sent:* Thursday, August 23, 2018 at 7:59 AM *From:* "Jérôme Godbout" *To:* "Jason H" *Cc:* "interestqt-project.org"

Re: [Interest] WebVuew::runJavaScript problems

2018-08-24 Thread Jason H
t-project.org Subject: Re: [Interest] WebVuew::runJavaScript problems It works on Android... Yeah, all that stuff is fine.   It's a single-page test script that as soon as it is evaluated, testResult is set to a value. I wait ~60 seconds for this simple page to load and loadProgress was 100

Re: [Interest] WebVuew::runJavaScript problems

2018-08-24 Thread Jason H
n iOS, Android is fine. This seems to be an issue with iOS WebView...       Sent: Thursday, August 23, 2018 at 6:41 PM From: "Tony Rietwyk" To: interest@qt-project.org Subject: Re: [Interest] WebVuew::runJavaScript problems Hi Jason, When are you calling runJavaScript?  How are you l

Re: [Interest] WebVuew::runJavaScript problems

2018-08-23 Thread Tony Rietwyk
uot;Jérôme Godbout" *To:* "Jason H" *Cc:* "interestqt-project.org" *Subject:* Re: [Interest] WebVuew::runJavaScript problems you can always add a request argument with current datetime to your request url, this avoid caching: https://myserver.org?date=20180823_085632 e

Re: [Interest] WebVuew::runJavaScript problems

2018-08-23 Thread Jason H
p-level scope: var testResult = "incomplete";   So I should at least get "incomplete".  So what do I have to do to get testResult in iOS?   Sent: Thursday, August 23, 2018 at 7:59 AM From: "Jérôme Godbout" To: "Jason H" Cc: "interestqt-project.org"

Re: [Interest] WebVuew::runJavaScript problems

2018-08-23 Thread Jérôme Godbout
problem where the server is updated but > I'm getting old html code. Can I invalidate the cache? > > > Sent: Wednesday, August 22, 2018 at 10:56 PM > > From: "Jason H" > > To: "interestqt-project.org" > > Subject: [Interest] WebVuew::runJavaS

Re: [Interest] WebVuew::runJavaScript problems

2018-08-22 Thread Jason H
I think I'm also seeing a caching problem where the server is updated but I'm getting old html code. Can I invalidate the cache? > Sent: Wednesday, August 22, 2018 at 10:56 PM > From: "Jason H" > To: "interestqt-project.org" > Subject: [Interest] WebV

[Interest] WebVuew::runJavaScript problems

2018-08-22 Thread Jason H
I'm trying to load and get a variable that is changed by the page. webview.runJavaScript("testResult", function(result){ console.log('webview result', result); }); The html is var testResult=""; But the output is: qml: webview result und