Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [786f808e62fd0a891ece4d60bff5626e2e1364cf] by Paul Davis

Revision 786f808e62fd0a891ece4d60bff5626e2e1364cf, committed by Paul Davis · May 10th, 2009 @ 12:49 AM

Add JS_[Begin|End]Request semantics.

This should wrap entries into the JS VM in JS_BeginRequest/JS_EndRequest calls. I've added a setup.py debug flag to build spidermonkey in debug mode so that calls into the VM requiring a request fail on an assert. To build in debug mode you can do:

python setup.py --debug $(ACTION)

I basically went through and added the calls where I thought they should go and then turned on the debug build to get the ones I missed. Its quite possible I still have some edge cases missing their required calls.

[#2 state:resolved] http://github.com/davisp/python-...

9 changed files

  • M go.comm
  • M setup.py
  • M spidermonkey/context.c
  • M spidermonkey/jsarray.c
  • M spidermonkey/jsfunction.c
  • M spidermonkey/jsiterator.c
  • M spidermonkey/jsobject.c
  • M spidermonkey/pyiter.c
  • M spidermonkey/pyobject.c