[webkit-dev] Netscape API plugins for WebKit on Linux

Song Yuan song at yuan.se
Mon Oct 8 06:11:49 PDT 2007

Thanks a lot for the detailed answer. I can see that to implement the
synchronous invocations of plugin from JavaScript in the webpage by Qt
is kind of separate from the original process. Nevertheless, you guys
working on Qt or Gtk port for WebKit have the back from us in Linux

On 10/8/07, Lars Knoll <lars at trolltech.com> wrote:
> On Monday 08 October 2007, Song Yuan wrote:
> > Hi,
> >
> > I successfully built WebKit based on Qt port on Ubuntu. The "browser"
> > in Qt window works really fine. But when I tried the test cases in
> > "/LayoutTests/plugins" that uses Netscape API, none of them works as
> > expected. I'm wondering how the progress is on WebKit/Qt port right
> > now, especially regarding plugins that use Netscape API.
> Netscape plugins do currently not work with the Qt port. This is something
> that is on our Todo list however.
> The main issue here is that it's not straightforward to do NS plugins on
> Linux. We basically have to do them out of process due to library dependency
> issues. But that is non-trivial due to the fact that NS plugins expose a
> synchronous scripting bridge between the web page and the plugin.
> > Two questions about it though:
> >
> > 1) The source code corresponding to the plugins used in test web pages
> > in "/LayoutTests/plugins" like the one with MIME type of
> > "application/x-webkit-test-netscape" seems to be located at
> > "/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj", which is
> > organized as Xcode project. Does Qt port on Linux share the same
> > source code for plugin here?
> No, the Qt version of DumpRenderTree doesn't currently share any source code
> with the one for OS X.
> > 2) In WebKit on Mac, source code of plugin is built with "Info.plist"
> > in the same package ("Cocoa Bundle" template) to be deployed in
> > "/Library/Internet Plug-Ins/" directory. As to WebKit on Linux, which
> > is the directory to deploy plugin? Is the source code built into
> > shared object, just like what Firefox on Linux did?
> We currently add a small Qt based test plugin to DRT. This is linked
> statically into DRT. Apart from that QtWebKit searches for plugins in
> Hope that answers your questions,
> Lars
> >
> > Thanks in advance!
> >
> > /Song
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo/webkit-dev

Best regards,

Song Yuan

song at yuan.se
Dobelnsgatan 2C:039
Uppsala, SE-752 37
+46 (0)73 9566 817

More information about the webkit-dev mailing list