From 3b380bcafdc53b4eb42f303b4002be2d7675880f Mon Sep 17 00:00:00 2001 From: yqhan Date: Wed, 20 Jul 2022 17:26:47 +0800 Subject: [PATCH] fixed 46481c2 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/I5I0CS Signed-off-by: yqhan --- .../worker_lib_standard/src/main/js/test/Worker.test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js b/compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js index 78fdec7d1..02c39192c 100644 --- a/compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js +++ b/compileruntime/worker_lib_standard/src/main/js/test/Worker.test.js @@ -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 () { -- GitLab