Bug 1339031 - Part 2: Remove unneeded version calls from non-standard tests. r=evilpie
--- a/js/src/tests/js1_8_5/extensions/shell.js
+++ b/js/src/tests/js1_8_5/extensions/shell.js
@@ -5,23 +5,16 @@
*/
// The Worker constructor can take a relative URL, but different test runners
// run in different enough environments that it doesn't all just automatically
// work. For the shell, we use just a filename; for the browser, see browser.js.
var workerDir = '';
-// explicitly turn on js185
-// XXX: The browser currently only supports up to version 1.8
-if (typeof version != 'undefined')
-{
- version(185);
-}
-
// Assert that cloning b does the right thing as far as we can tell.
// Caveat: getters in b must produce the same value each time they're
// called. We may call them several times.
//
// If desc is provided, then the very first thing we do to b is clone it.
// (The self-modifying object test counts on this.)
//
function clone_object_check(b, desc) {