[Webkit-unassigned] [Bug 22452] New: Unchecking "Enable plugins" does not have any effect on navigator.plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 24 04:52:29 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22452

           Summary: Unchecking "Enable plugins" does not have any effect on
                    navigator.plugins
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sorccu at gmail.com


Unlike in Firefox and Opera, a plugin's entry in navigator.plugins and its
corresponding mimetype entries in navigator.mimeTypes are set even if plugins
are disabled. Internet Explorer is of no concern because of its ActiveX plugin
architecture; the aforementioned collections are always empty.

Firefox (3.1b1), Flash enabled:
---------------------------------------
navigator.plugins['Shockwave Flash'] -> Plugin
navigator.mimeTypes['application/x-shockwave-flash'] -> MimeType
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin -> Plugin

Firefox (3.1b1), Flash disabled:
---------------------------------------
navigator.plugins['Shockwave Flash'] -> undefined
navigator.mimeTypes['application/x-shockwave-flash'] -> undefined
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin -> throws
TypeError

Opera (9.62), Flash enabled:
---------------------------------------
navigator.plugins['Shockwave Flash'] -> Plugin
navigator.mimeTypes['application/x-shockwave-flash'] -> MimeType
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin -> Plugin

Opera (9.62), Flash disabled:
---------------------------------------
navigator.plugins['Shockwave Flash'] -> undefined
navigator.mimeTypes['application/x-shockwave-flash'] -> undefined
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin -> throws
TypeError

WebKit r38699, Flash enabled:
---------------------------------------
navigator.plugins['Shockwave Flash'] -> Plugin
navigator.mimeTypes['application/x-shockwave-flash'] -> MimeType
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin -> Plugin

INCONSISTENT: WebKit r38699, Flash disabled:
---------------------------------------
navigator.plugins['Shockwave Flash'] -> Plugin
navigator.mimeTypes['application/x-shockwave-flash'] -> MimeType
navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin -> null


-- 
Configure bugmail: https://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