On 10/12/2011 05:34 PM, JaeBok Lee wrote:
I think you can find the answer in JSEventListener::handleEvent method.
JSDOMGlobalObject* globalObject =
toJSDOMGlobalObject(scriptExecutionContext, m_isolatedWorld.get());
...
ExecState* exec = globalObject->globalExec();
Thanks - that got me unstuck. I didn't actually do it this way, but
looking at JSEventListener got me heading in the right direction.
(It turns out a JSEventListener is only created in places where I have
a DOM node, so I already have the ExecState I can stash.)
--
--Per Bothner
[email protected] [email protected] http://per.bothner.com/
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help