[Webkit-unassigned] [Bug 164102] New: [Unix] PluginProcessProxy::scanPlugin should not parse stdout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 27 19:01:04 PDT 2016


            Bug ID: 164102
           Summary: [Unix] PluginProcessProxy::scanPlugin should not parse
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Plug-ins
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org

PluginProcessProxy::scanPlugin spawns a WebKitPluginProcess and parses its stdout to populate a RawPluginMetaData object. It leads to very bad results if plugins print anything. For example, the name field for the GNOME Shell browser plugin gets set to "(WebKitPluginProcess:26462): GnomeShellBrowserPlugin-DEBUG: plugin loaded" because it prints a debug statement. The mimeDescription field gets set to "this plugin provides integration with gnome shell for live extension enabling and disabling. it can be used only by extensions.gnome.org" rather than a list of MIME types. This is too fragile.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161028/88d3b78f/attachment.html>

More information about the webkit-unassigned mailing list