#2 ✓resolved
Paul J. Davis

Add request enter/suspend/exit

Reported by Paul J. Davis | March 25th, 2009 @ 06:59 PM

I'm not currently using the request semantics that I'm supposed to be. I need to go through and add the appropriate calls when I dip in and out of the JS VM.

Comments and changes to this ticket

  • Paul J. Davis

    Paul J. Davis May 10th, 2009 @ 12:52 AM

    • State changed from “new” to “resolved”

    (from [786f808e62fd0a891ece4d60bff5626e2e1364cf]) 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-...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Python/JavaScript bridge module, making use of Mozilla's spidermonkey JavaScript implementation. Allows implementation of JavaScript classes, objects and functions in Python, and evaluation and calling of JavaScript scripts and functions respectively. Borrows heavily from Claes Jacobssen's Javascript Perl module, in turn based on Mozilla's 'PerlConnect' Perl binding.

People watching this ticket

Tags

Referenced by

Pages