From cb4b6bc0ac0bf9e371ea3106d7c2db9b08e4a6bf 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 4227f881..0c23e276 100644 --- a/NEWS +++ b/NEWS @@ -45,6 +45,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 0d7b3b32..d99ab15a 100644 --- a/configure.in +++ b/configure.in @@ -627,7 +627,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