summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/thread_args.js
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-07-30 09:33:19 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-08-12 17:28:18 -0400
commitef9f9b461e1fb9ef92f5450ff0a4dcbed68afc42 (patch)
tree72269f0d666e7a0f93de9b72ae38bd857b45672a /jstests/noPassthrough/thread_args.js
parentb2e2c0fb3aba4228cac47aff35786dc7b386f46c (diff)
downloadmongo-ef9f9b461e1fb9ef92f5450ff0a4dcbed68afc42.tar.gz
SERVER-41177 Remove Javascript ScopedThread class
Diffstat (limited to 'jstests/noPassthrough/thread_args.js')
-rw-r--r--jstests/noPassthrough/thread_args.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/noPassthrough/thread_args.js b/jstests/noPassthrough/thread_args.js
index 03273d76af3..cb0f335c7cb 100644
--- a/jstests/noPassthrough/thread_args.js
+++ b/jstests/noPassthrough/thread_args.js
@@ -1,5 +1,5 @@
/**
- * This test makes makes sure Thread and ScopedThread work with --enableJavaScriptProtection
+ * This test makes makes sure Thread works with --enableJavaScriptProtection
*/
(function() {
'use strict';
@@ -40,7 +40,6 @@ function testThread(threadType) {
assert(thread.returnData());
}
-// Test both Thread and ScopedThread
+// Test the Thread class
testThread(Thread);
-testThread(ScopedThread);
}());