Summary: | [Qt] Make it possible to build WebKit2 with V8 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Hausmann <hausmann> |
Component: | New Bugs | Assignee: | Simon Hausmann <hausmann> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ap, kbalazs, ossy, pvarga, sam |
Priority: | P2 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 83322, 84457, 87872 | ||
Bug Blocks: | 76773 |
Description
Simon Hausmann
2012-01-20 23:39:50 PST
What about the v8 bindings? Aren't they sufficient for WTR? (In reply to comment #1) > What about the v8 bindings? Aren't they sufficient for WTR? WTR currently uses a generator that produces binding code from IDL files that uses the public JSC C API. There's "glue" code in WTR itself that combines the generated code with the actual implementations of the IDL functions and the passing of messages to the UI process, which uses the JSC C API. It would be good to re-use all of that code without introducing what is essentially a second V8 based bundle for WTR. OTOH perhaps it is not so much effort to provide a second V8 based bundle, perhaps it is less of an effort. (In reply to comment #2) > (In reply to comment #1) > > What about the v8 bindings? Aren't they sufficient for WTR? > > WTR currently uses a generator that produces binding code from IDL files that uses the public JSC C API. There's "glue" code in WTR itself that combines the generated code with the actual implementations of the IDL functions and the passing of messages to the UI process, which uses the JSC C API. It would be good to re-use all of that code without introducing what is essentially a second V8 based bundle for WTR. > > OTOH perhaps it is not so much effort to provide a second V8 based bundle, perhaps it is less of an effort. I think the core of WebKit2 and WTR is two different story. WebKit2 use some internals of JSC such as WebCore. I think there is no good way to abstract these into a wrapper level but we would have to use bindings as in WebCore. For WTR it could be possible to wrap v8 with a JSC-like API. I created a sub-bug for introducing v8 into the core of WebKit2: #84457. This project has not been accepted per webkit-dev discussion. Shouldn't the bug be marked WONTFIX? WONTFIX per complete lack of buy-in on webkit-dev. |