aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-03-28 16:05:03 -0700
committerDavid Fugate <dfugate@microsoft.com>2012-03-28 16:05:03 -0700
commit87be1bf6eca88f7d05a1dce668030622dcf4f7e7 (patch)
treee5d2181272ef37853132888a99370769083cda7d /test
parent2a112abbd5eac9cea3672cf16d97ba3ca65fb846 (diff)
https://bugs.ecmascript.org/show_bug.cgi?id=65 fixed.
Diffstat (limited to 'test')
-rw-r--r--test/harness/sth.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/test/harness/sth.js b/test/harness/sth.js
index 029a2cff0..91656937c 100644
--- a/test/harness/sth.js
+++ b/test/harness/sth.js
@@ -282,9 +282,7 @@ function TestLoader() {
tests: []
};
}
- loader.onInitialized(loader.totalTests,
- loader.version,
- loader.date);
+ loader.onInitialized(loader.totalTests);
getNextXML();
}});
}
@@ -369,9 +367,7 @@ function Controller() {
setTimeout(loader.getNextTest, 10);
};
- loader.onInitialized = function(totalTests, version, date) {
- presenter.setVersion(version);
- presenter.setDate(date);
+ loader.onInitialized = function(totalTests) {
presenter.setTotalTests(totalTests);
};
@@ -489,4 +485,11 @@ $(function () {
$('.button-reset').click(function () {
controller.reset();
});
+
+ var SUITE_DESCRIP_PATH = "json/suiteDescrip.json";
+ $.ajax({ url: SUITE_DESCRIP_PATH, dataType: 'json', success: function (data) {
+ presenter.setVersion(data.version);
+ presenter.setDate(data.date);
+ }
+ });
});