Before the change, the events came like this : 
```js
{type: "loadstart", url: "https://ourdomain.com/"}
```
```js
{type: "loadstop", url: "https://ourdomain.com/"}
```

After : 
```js
{type: "loadstart", url: "https://ourdomain.com/"}
```
```js
{type: "loaderror", url: "https://ourdomain.com/";, code: 0, sslerror: 3, 
message: "The certificate authority is not trusted"}
```
```js
{type: "loadstop", url: "https://ourdomain.com/"}
```

The ```handler.cancel();``` is just here to ensure that the connection will not 
be processed (the default behaviour is to cancel it anyway so the 'super' call 
is probably already doing it).

I am not sure about what should the ```loaderror``` should have as message, I 
just copied description from the constants here : 
https://developer.android.com/reference/android/net/http/SslError 


[ Full content available at: 
https://github.com/apache/cordova-plugin-inappbrowser/pull/293 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to