最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Modifying V8 JavaScript Engine provided with Chrome - Stack Overflow

programmeradmin1浏览0评论

I want support for a new API that is normally not supported by V8 JS Engine provided with Chrome. Is it possible to do this by tweaking V8 provided with Chrome.

I'm open to using Spidermonkey which is provided with Firefox. I just want this API to be supported by a popular browser.

I tried looking for an answer on Google forums and here but most of them talk about embedding V8.

I want support for a new API that is normally not supported by V8 JS Engine provided with Chrome. Is it possible to do this by tweaking V8 provided with Chrome.

I'm open to using Spidermonkey which is provided with Firefox. I just want this API to be supported by a popular browser.

I tried looking for an answer on Google forums and here but most of them talk about embedding V8.

Share Improve this question asked Aug 25, 2011 at 21:49 TheZelusTheZelus 4706 silver badges19 bronze badges 1
  • You could modify v8, pile, then try embedding in webkit, which is a close relative to chrome than spidermonkey – HyderA Commented Aug 25, 2011 at 21:53
Add a ment  | 

1 Answer 1

Reset to default 8

Just a thought...

For example, a V8 developer may wish to checkout the V8 trunk alongside a stable version of Chromium. So, they might setup a .gclient file like so:

 solutions = [   
 { 
     "name"        : "chrome",
     "url"         : "http://src.chromium/svn/trunk/src/chrome@5000",
     "custom_deps" : {
       "v8" : "http://v8.googlecode./svn/trunk"
     }   
}]

http://www.chromium/developers/how-tos/chromium-modularization

You could perhaps pile Chromium with your own version of v8 by pointing the custom_deps for v8 to it.

发布评论

评论列表(0)

  1. 暂无评论