未验证 提交 bb8b5ee2 编写于 作者: O openharmony_ci 提交者: Gitee

!5597 修改错误xts用例 onHttpErrorReceive

Merge pull request !5597 from 姚胜/master
...@@ -619,9 +619,12 @@ struct Index { ...@@ -619,9 +619,12 @@ struct Index {
break; break;
} }
case "emitOnHttpErrorReceive":{ case "emitOnHttpErrorReceive":{
this.controller.loadUrl({url:'http://example.com/path/does/not/exist/index.jsp'}) this.controller.loadUrl({url:'https://example1.com/path/does/not/exist/index.jsp'})
setTimeout(()=>{ setTimeout(()=>{
Utils.emitEvent(this.httpErrorReceive,66) this.controller.loadUrl({url:'https://example1.com/path/does/not/exist/index.jsp'})
setTimeout(()=>{
Utils.emitEvent(this.httpErrorReceive,66)
},3000)
},3000) },3000)
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册