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

!9595 【master】【Web子系统】【TOD】【rk3568】【必现】修改xts用例

Merge pull request !9595 from 章靖/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册