summaryrefslogtreecommitdiff
path: root/cli/tests/subdir
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/subdir')
-rw-r--r--cli/tests/subdir/nested_worker.js1
-rw-r--r--cli/tests/subdir/test_worker.js3
-rw-r--r--cli/tests/subdir/test_worker.ts1
-rw-r--r--cli/tests/subdir/test_worker_basic.js2
4 files changed, 0 insertions, 7 deletions
diff --git a/cli/tests/subdir/nested_worker.js b/cli/tests/subdir/nested_worker.js
index b0acd70d7..a4eed723a 100644
--- a/cli/tests/subdir/nested_worker.js
+++ b/cli/tests/subdir/nested_worker.js
@@ -9,7 +9,6 @@ jsWorker.onerror = _e => {
};
jsWorker.onmessage = e => {
- console.log("js worker on message");
postMessage({ type: "msg", text: e });
close();
};
diff --git a/cli/tests/subdir/test_worker.js b/cli/tests/subdir/test_worker.js
index 70e1d8b73..9c1e555b5 100644
--- a/cli/tests/subdir/test_worker.js
+++ b/cli/tests/subdir/test_worker.js
@@ -5,8 +5,6 @@ if (self.name !== "jsWorker") {
}
onmessage = function(e) {
- console.log(e.data);
-
if (thrown === false) {
thrown = true;
throw new SyntaxError("[test error]");
@@ -17,6 +15,5 @@ onmessage = function(e) {
};
onerror = function() {
- console.log("called onerror in worker");
return false;
};
diff --git a/cli/tests/subdir/test_worker.ts b/cli/tests/subdir/test_worker.ts
index 2ea8f9214..1f924c073 100644
--- a/cli/tests/subdir/test_worker.ts
+++ b/cli/tests/subdir/test_worker.ts
@@ -3,7 +3,6 @@ if (self.name !== "tsWorker") {
}
onmessage = function(e): void {
- console.log(e.data);
postMessage(e.data);
close();
};
diff --git a/cli/tests/subdir/test_worker_basic.js b/cli/tests/subdir/test_worker_basic.js
index db00b6d0c..aef1658c0 100644
--- a/cli/tests/subdir/test_worker_basic.js
+++ b/cli/tests/subdir/test_worker_basic.js
@@ -6,12 +6,10 @@ if (self.name !== "jsWorker") {
}
onmessage = function(e) {
- console.log("jsWorker onmessage", e.data);
postMessage(e.data);
close();
};
onerror = function() {
- console.log("called onerror in worker");
return false;
};