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

!5600 修改错误xts用例 onHttpErrorReceive 同步3.2-beta3

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