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.

Richard Boulton's latest activity

Monday, June 15 2009
19 Restrict methods accessible from javascript on python objects was updated in python-spidermonkey
  • Richard Boulton
    Richard Boulton commented at 2:57 AM

    Excellent - your updated patch all looks good here. Thanks for tidying up (lots!) and applying so quickly. :)

Sunday, June 14 2009
19 Restrict methods accessible from javascript on python objects was updated in python-spidermonkey
  • Richard Boulton
    Richard Boulton commented at 9:42 AM

    I assume you're referring to adding a check somewhere in context.c:get_prop() - around line 95, just before PyObject_GetItem. That's probably a good idea, yes.

    ...

Saturday, June 13 2009
19 Restrict methods accessible from javascript on python objects was updated in python-spidermonkey
  • Richard Boulton
    Richard Boulton commented at 11:14 PM

    I've put together an initial implementation of this, thanks to your hints, and it just about works, I think!

    It needs more testing, and a bit of an audit to che...

Thursday, June 11 2009
19 Restrict methods accessible from javascript on python objects was created in python-spidermonkey
  • Richard Boulton
    Richard Boulton created the ticket at 7:47 AM

    Currently, if I expose a python object to javascript, all methods and properties of that object can be called from javascript. This will often allow the javascr...