Then Try:
private class MyResourceClient extends XWalkResourceClient{
public MyResourceClient(XWalkView view) {
super(view);
}
@Override
public void onReceivedSslError(XWalkView view,
ValueCallback<Boolean> callback,
SslError error) {
callback.onReceiveValue(true);
Log.d("DEBUG","onReceivedSslError");
}
From: Luis Tiago Eterovick [mailto:[email protected]]
Sent: Wednesday, April 15, 2015 8:35 AM
To: Xu, Xing
Cc: [email protected]
Subject: Re: [Crosswalk-dev] Ssl Certificate Error Alert
I just said "if i simply remove super.onReceivedSslError(view, callback,
error); it will not display the error but won't load the page either"
The page is displayed if i click OK in the error message, and isn't displayed
if i click cancel. I suppose removing that line will have the same effect as
cancelling the popup.
2015-04-14 21:17 GMT-03:00 Xu, Xing
<[email protected]<mailto:[email protected]>>:
Please try remove: super.onReceivedSslError(view, callback, error);
private class MyResourceClient extends XWalkResourceClient{
public MyResourceClient(XWalkView view) {
super(view);
}
@Override
public void onReceivedSslError(XWalkView view,
ValueCallback<Boolean> callback,
SslError error) {
Log.d("DEBUG","onReceivedSslError");
}
From: Luis Tiago Eterovick [mailto:[email protected]<mailto:[email protected]>]
Sent: Wednesday, April 15, 2015 2:42 AM
To: Xu, Xing
Cc:
[email protected]<mailto:[email protected]>
Subject: Re: [Crosswalk-dev] Ssl Certificate Error Alert
I updated the lib and the popup is not repeating anymore.
To stop showing it, i tried overriding the function as you said, but I'm still
getting the error popup and if i simply remove super.onReceivedSslError(view,
callback, error); it will not display the error but won't load the page either.
Is there a way to bypass this?
http://paste.ofcode.org/YJUsvATF7Wtas3KDFryerS
Thanks
2015-04-10 0:00 GMT-03:00 Xu, Xing
<[email protected]<mailto:[email protected]>>:
Did you mean this popup repeatedly?
If so, please try version after on Jan
27<https://github.com/crosswalk-project/crosswalk/pull/2821#event-225360186>
2015.
The repeatedly popup is fixed at
https://github.com/crosswalk-project/crosswalk/pull/2821
If you want to override this SSL Alert Dialog or get rid of it, try to
override:
XWalkResourceClient::onReceivedSslError
From: Crosswalk-dev
[mailto:[email protected]<mailto:[email protected]>]
On Behalf Of Luis Tiago Eterovick
Sent: Thursday, April 9, 2015 11:17 PM
To:
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-dev] Ssl Certificate Error Alert
How can i ignore Ssl Certificate Error Alert popups? I need to do that for a
presentation and I'm still on a test environment.
Currently using 10.39.235.16 but wouldn't mind to use any other version (even
beta) for now.
Thanks in advance
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev