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

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

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