[Webkit-unassigned] [Bug 16815] Crash with navigator.plugins and navigator.mimeTypes after plugins.refresh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 14 01:44:54 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16815





------- Comment #4 from hausmann at kde.org  2008-01-14 01:44 PDT -------
The main reason for making plugins and other pieces depend on the page instead
of them being just global data is modularity. This is not important if WebKit
is only used in a browser application. But for example in an application that
shows controlled content in one view with additional Qt based plugins that
might access e.g. the filesystem and at the same time show a help documentation
window with HTML documentation loaded from the web, the use of plugins has to
be restricted to the application view. It must not be possible for JavaScript
executed within the documentation window to see which plugins are loaded in the
other window, which is the case right now due to the global mime/plugins list
in the JavaScript binding.

> This looks like a Qt-only patch.

Most of the patch is about fixing a WebKit security issue/crash. The addition
of the frame pointer is something one might argue about, but being able to
specify plugins on a per-page basis is a requirement for the Qt port. We also
think that this might be an important feature for any WebKit based framework.

We'll try to replace the raw frame pointer with a reference counter pointer in
the next patch revision.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list