summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/bin/HttpServer.js2
-rw-r--r--js/test/Common/Worker.js5
2 files changed, 6 insertions, 1 deletions
diff --git a/js/bin/HttpServer.js b/js/bin/HttpServer.js
index acf9f1a7130..c434bd6935e 100644
--- a/js/bin/HttpServer.js
+++ b/js/bin/HttpServer.js
@@ -160,7 +160,7 @@ function Init()
TestData.scripts = TestData.scripts.map(function(f)
{
- return f.replace("/lib/Glacier2.js", "/lib/es5/Glacier2.js")
+ return f.replace("/lib/Glacier2.js", "/lib/es5/Glacier2.js");
});
}
else
diff --git a/js/test/Common/Worker.js b/js/test/Common/Worker.js
index 573e2e25451..d775e416b72 100644
--- a/js/test/Common/Worker.js
+++ b/js/test/Common/Worker.js
@@ -35,6 +35,10 @@ self.onmessage = function(e)
self.importScripts("/node_modules/regenerator-runtime/runtime.js");
self.importScripts("/lib/es5/Ice.js");
self.importScripts("/test/es5/Common/Controller.js");
+ test.files = test.files.map(function(f)
+ {
+ return f.replace("/lib/Glacier2.js", "/lib/es5/Glacier2.js");
+ });
}
else
{
@@ -42,6 +46,7 @@ self.onmessage = function(e)
self.importScripts("/test/Common/Controller.js");
}
self.importScripts("/test/Common/TestRunner.js");
+
for(var i = 0; i < test.files.length; ++i)
{
var f = test.files[i];