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"
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
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
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
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"
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
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
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