From 2002e245d67d1c9262b5ca619aa76175ac03a8b9 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Wed, 27 Jun 2007 23:40:41 +0300 Subject: [PATCH] Bug 755: Document that SpiderMonkey 1.5 RC3 no longer works. The SpiderMonkey support in ELinks now uses JS_GetReservedSlot, which was added in SpiderMonkey 1.5 RC3a, released on 2001-05-11. So ELinks no longer supports earlier versions of SpiderMonkey. However, be careful not to claim that ELinks needs "SpiderMonkey 1.5 RC3a or later", because we haven't tested 1.5 RC3a. (I guess we didn't test zlib 1.2.0.2 either... oh, well.) --- NEWS | 2 ++ configure.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 372bd6f7..d4ea5c97 100644 --- a/NEWS +++ b/NEWS @@ -40,6 +40,8 @@ Incompatibilities: and its security goals are undocumented. If you must enable ECMAScript support, it would be prudent to restrict the ELinks process with a sandbox of some kind. +* ECMAScript support no longer works with SpiderMonkey versions + earlier than JS1.5 RC3a. * Gzip decompression support now requires zlib 1.2.0.2 or later. * bugs 871, 752: The numbering of terminal.*.colors no longer depends on config options. This change makes elinks.conf portable between diff --git a/configure.in b/configure.in index e81a5706..1e3c3865 100644 --- a/configure.in +++ b/configure.in @@ -615,7 +615,7 @@ dnl =================================================================== AC_ARG_WITH(spidermonkey, [ --without-spidermonkey disable SpiderMonkey Mozilla JavaScript engine support], [if test "$withval" = no; then disable_spidermonkey=yes; fi]) -AC_MSG_CHECKING([for SpiderMonkey]) +AC_MSG_CHECKING([for SpiderMonkey (1.5 RC3a or later)]) EL_SAVE_FLAGS cf_result=no