diff --git a/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets index e3714dc505b438565fc4b453e6b656113a945b4c..1e7b2c329a106733bdc6115b409150935199cee5 100644 --- a/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets @@ -619,9 +619,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; }