Changing V8 JavaScript Engine with Chrome

I want to support a new API, which is usually not supported by the V8 JS Engine that ships with Chrome. Is it possible to do this by setting up V8 with Chrome.

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

I tried to find the answer on the Google forums here as well, but most of them talk about embedding V8.

+4
source share
1 answer

Just a thought ...

For example, a V8 developer might want to check out the V8 trunk along with the stable version of Chromium. This way they can customize .gclient, for example:

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

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

You could compile Chromium with your version of v8 by pointing custom_deps for v8 to it.

+5
source

Source: https://habr.com/ru/post/1369060/


All Articles