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

!9589 【4.0Beta2】【Web子系统】【TOD】【rk3568】【必现】修改xts用例

Merge pull request !9589 from 章靖/OpenHarmony-4.0-Beta2
......@@ -167,7 +167,7 @@ struct OnWindowNew {
console.log(`getOrigins call`);
length = origins.length;
console.log(`length is: ${length}`);
Utils.emitEvent(length, 7166);
Utils.emitEventTwo(1, length, 7166);
console.log(`getOrigins call end`);
})
},2000)
......
......@@ -57,7 +57,6 @@ import webViewOnAudioStateChanged from './webViewOnAudioStateChanged.test'
import webViewMediaOption from './webViewMediaOption.test'
export default function testsuite() {
webViewControllerJsunit()
webViewOnWindowNewJsunit()
webViewOnErrorReceive02Jsunit()
webViewOnErrorReceive03Jsunit()
webViewHasImageJsunit()
......@@ -99,4 +98,5 @@ export default function testsuite() {
webViewGetAccessibleGeolocation()
//webViewOnAudioStateChanged()
//webViewMediaOption()
webViewOnWindowNewJsunit()
}
\ No newline at end of file
......@@ -160,8 +160,7 @@ export default function webViewOnWindowNewJsunit() {
*/
it('testGetOriginsPromiseLoadLocalHtml01', 0, async function(done){
emitKey = 'emitGetOriginsPromiseLoadLocalHtml01';
let length = 1;
Utils.registerEvent("testGetOriginsPromiseLoadLocalHtml01", length, 7166, done);
Utils.registerLargerEvent("testGetOriginsPromiseLoadLocalHtml01", 7166, done);
sendEventByKey('onWindowNew', 10, '');
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册