Bug 1339031 - Part 2: Remove unneeded version calls from non-standard tests. r=evilpie draft
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 13 Feb 2017 03:03:15 -0800
changeset 485858 2188dacfc757e568275f2b4f3dd4c97816a9eadc
parent 485857 799593e081c30a44a3a0b8bf0f50e64e1c0711c2
child 485859 76b7e89dd3e555f0c38f87c62bf112c5835ba6d3
push id45870
push userbmo:kechen@mozilla.com
push dateFri, 17 Feb 2017 09:36:54 +0000
reviewersevilpie
bugs1339031
milestone54.0a1
Bug 1339031 - Part 2: Remove unneeded version calls from non-standard tests. r=evilpie
js/src/tests/js1_8_5/extensions/shell.js
--- 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) {