GitHub user CYJB opened a pull request: https://github.com/apache/incubator-weex/pull/896
[WEEX-131][ios]URL property in error event of web component may not be the real URL, fix it. [WEEX-131][ios]URL property in error event of web component may not be the real URL, fix it. In error callback, webview.request may return the previous loaded web page URL, use error.userInfo to get the real error URL. And http://www.error.com exists now, change it to another URL. You can merge this pull request into a Git repository by running: $ git pull https://github.com/CYJB/incubator-weex WEEX-131 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/896.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #896 ---- commit 4176f99881180914c0f3a793570cc7300c8e48c3 Author: CYJB <f8c...@126.com> Date: 2017-11-21T11:02:49Z [WEEX-131][ios]URL property in error event of web component may not be the real URL, fix it. In error callback, webview.request may return the previous loaded web page URL, use error.userInfo to get the real error URL. And http://www.error.com exists now, change it to another URL. ---- ---