Created attachment 78543 [details] test to demonstrate the bug To make layout tests work with V8-QtWebKit, we have to use window.layoutTestController in testcases, but it doesn't exist. $ WebKitBuild/Debug/bin/DumpRenderTree ./1.html expected result: text only output with PASS string actual result: rendertree dump with FAILED string
Guys, have you got any idea how to fix this bug? It would be great if we could run layout tests with V8-QtWebKit
We're waiting for legal review to publish a version of QtScript on Gitorious that uses V8. Once that is in place, we should use that to build QtWebKit+V8, because it contains the necessary QObject bindings behind QWebFrame::addToJavaScriptWindowObject(), so that the existing Qt DRT implementation can be used out of the box with no changes.
Ok, http://qt.gitorious.org/qt/qt-script-ng is public now. Just spoke with bbandix on IRC and once the current qtwebkit+v8 build bot is switched over to use that version of Qt, then we can re-enable the QObject bridge and revive the Qt DRT for the v8 build :)
Balázs, Gábor, Péter, is this bug still valid?
(In reply to comment #4) > Balázs, Gábor, Péter, is this bug still valid? For WebKit1 it seems to be invalid now, the test results in PASS. I tested in my own branch (unfortunately trunk v8 build is broken now), but it doesn't contain any changes for WK1, so it should work in trunk after the build has been fixed (Gabor Ballabas is going to upload the fix soon).
This should work now. Gabor, can you affirm that?
Building QtWebKit with V8 isn't supported anymore.