提交 3b380bca 编写于 作者: Y yqhan 提交者: hyq5234

fixed 46481c20 from https://gitee.com/hyq5234/xts_acts/pulls/4436

Override all interfaces of the worker

Describe:Modify XTS use cases of Worker module to cover all exposed
interfaces.

issue:https://gitee.com/openharmony/xts_acts/issues/I5I0CSSigned-off-by: Nyqhan <hanyuqing2@huawei.com>
上级 34845167
......@@ -249,6 +249,8 @@ describe('workerTest', function () {
}
ss.onmessage = function (e) {
res = e.data
console.info("worker:: type " + e.type)
console.info("worker:: timeStamp " + e.timeStamp)
flag = true
}
......@@ -322,6 +324,10 @@ describe('workerTest', function () {
ss.onerror = function (e) {
res = e.message
console.info("worker:: filename " + e.filename)
console.info("worker:: lineno " + e.lineno)
console.info("worker:: colno " + e.colno)
console.info("worker:: error " + e.error)
flag = true
}
ss.onexit = function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册