[webkit-dev] RuntimeEnabledFeatures for JSC (was RE: Getting at Settings object from WorkerContext)

Darin Adler darin at apple.com
Thu Jan 6 12:47:07 PST 2011


On Jan 6, 2011, at 12:41 PM, Joe Mason wrote:

> I took a look at CodeGeneratorJS.pm to see how hard it would be to port this over. I have no idea where to start…  The structure of CodeGeneratorJS.pm and CodeGeneratorV8.pm seem quite different. This also seems like a lot of work to do just to enable/disable one feature, but I guess if there’s no framework for enabling/disabling JS features in JSC at all then it’s necessary.

I’m sad that the V8 code generator script diverged so much from the original. It would be great if they were kept closer. I have refactored them to become more similar and even share code whenever I had to modify both, such as when making changes to [Reflect].

> Is there wide agreement that porting the RuntimeEnabledFeatures to JSC is a good idea?

I think it would probably be good. Not sure why the person who did it originally did it V8-only.

    -- Darin



More information about the webkit-dev mailing list