mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
f31cf6f9fe
Implement new heartbeat code to catch runaway execution of document ECMAScript code. The old code uses JS_SetBranchCallback which is deprecated in new versions of SpiderMonkey. The new code uses setitimer(2) and the JS_SetOperationCallback and JS_TriggerOperationCallback interfaces, introduced in SpiderMonkey 1.8.1. Compatibility with both the old JS_SetBranchCallback and the new interfaces is maintained.
10 lines
257 B
Makefile
10 lines
257 B
Makefile
top_builddir=../../..
|
|
include $(top_builddir)/Makefile.config
|
|
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|
|
|
OBJS-$(CONFIG_ECMASCRIPT_SMJS_HEARTBEAT) += heartbeat.o
|
|
|
|
OBJS = document.o form.o location.o navigator.o unibar.o window.o
|
|
|
|
include $(top_srcdir)/Makefile.lib
|