[Webkit-unassigned] [Bug 38174] Add CallWith=DynamicFrame to CodeGenerator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 27 14:47:46 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38174





--- Comment #17 from Adam Barth <abarth at webkit.org>  2010-04-27 14:47:45 PST ---
> Can you elaborate where CallWith=DynamicFrame is going to be used?

It's for places that need to pass a Frame* to WebCore and were they need the
frame to come from the dynamic scope (instead of the lexical scope). 
LexicalFrame should be more common, but the first example I happened to see was
the DynamicFrame.

> Is this for
> places we are currently passing ScriptExecutionContext, or also for security
> checks?

No.  ScriptExecutionContext is a Document-lifetime object (actually, it often
is the document).  Frame is a Frame-lifetime object.  These objects hare highly
not interchangeable.  :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list