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

!4436 Modify the worker use case to override all interfaces of the worker

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