[webkit-dev] adding script type to webcore

Dan Bernstein mitz at apple.com
Sat Oct 17 14:07:54 PDT 2009


On Oct 17, 2009, at 1:47 PM, Alexander Cohen wrote:

> Hello,
>
> Forgive me if this is a very vague question, but where should i  
> start in webkit to view how it implements the script tag and how it  
> starts evaluating JS. I'm looking into adding a new script type and  
> having it evaluated and run.

You can start by looking at the implementation of the ScriptElement  
class, which handles script evaluation for HTML <script> and SVG  
<script>.


More information about the webkit-dev mailing list