John Barnette
Account owner
John Barnette's latest activity
Wednesday, April 02 2008
-
John Barnette created the ticket at 11:04 AMMake this work:
module Foo class Bar end end context[:Foo] = Foo assert_instance_of(Foo::Bar, context.evaluate("Foo.Bar.new()")
-
- State changed from new to open
- Title changed from Proxies procs aren't getting cleaned up to Proxied procs aren't getting cleaned up
-
John Barnette created the ticket at 2:01 AMThe JSClass for JSObjects representing JSFunctions (js_FunctionClass) just uses JS_FinalizeStub, which means we aren't cleaning Ruby procs out of @gcthings or ...
-
John Barnette created the ticket at 2:01 AMThere's some annoying copy/paste between js_proxy and js_function_proxy. See if there's a way to share it without sucking.
-
- State changed from new to resolved
Fixed, but there are problems with finalization. I'll make some new tickets.
Tuesday, April 01 2008
-
- State changed from new to resolved
Not quite. It at least needs to be Foo.new(), which is reasonable.
-
John Barnette created the ticket at 4:35 PMNot sure whether these should be supported by the current JSProxy stuff, or whether there's a better way to back a JSArray with a native impl.
-
John Barnette created the ticket at 4:34 PMThey're probably covered just fine by the existing JSProxy stuff, since method_missing is pretty helpful about looking for [] and key?.
-
John Barnette created the ticket at 4:32 PMMake this work:
ctx[:alert] = lambda { |m| puts m } ctx.evaluate("alert('hai!')")The sticky wicket here is that the ContextPrivate slot can't be used to s...