From 54548528cc16ae678b825b5478cadb9a8ba269b3 Mon Sep 17 00:00:00 2001 From: "bclary%bclary.com" Date: Sun, 3 Sep 2006 00:21:27 +0000 Subject: [PATCH] JavaScript Test - update gVersion for js16, js17, no bug, not part of the build --- js/tests/js-test-driver-begin.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/js/tests/js-test-driver-begin.js b/js/tests/js-test-driver-begin.js index a944681df2ef..fac0848703df 100644 --- a/js/tests/js-test-driver-begin.js +++ b/js/tests/js-test-driver-begin.js @@ -49,11 +49,11 @@ function init() } else if(value.indexOf('1.6') != -1) { - gVersion = 150; + gVersion = 160; } else if(value.indexOf('1.7') != -1) { - gVersion = 150; + gVersion = 170; } var testpathparts = testpath.split(/\//); @@ -71,11 +71,15 @@ function init() outputscripttag(suitepath + '/shell.js', attribute, value, ise4x); outputscripttag(suitepath + '/browser.js', attribute, value, ise4x); - outputscripttag(suitepath + '/' + subsuite + '/shell.js', attribute, value, ise4x); - outputscripttag(suitepath + '/' + subsuite + '/browser.js', attribute, value, ise4x); - outputscripttag(suitepath + '/' + subsuite + '/' + test, attribute, value, ise4x); + outputscripttag(suitepath + '/' + subsuite + '/shell.js', attribute, value, + ise4x); + outputscripttag(suitepath + '/' + subsuite + '/browser.js', attribute, value, + ise4x); + outputscripttag(suitepath + '/' + subsuite + '/' + test, attribute, value, + ise4x); - document.write('' + suitepath + '/' + subsuite + '/' + test + '<\/title>'); + document.write('<title>' + suitepath + '/' + subsuite + '/' + test + + '<\/title>'); return; }