Bug 19576

Summary: Firefox WMP plugin doesn't work when Javascript is off
Product: WebKit Reporter: Michael A. Puls II <shadow2531>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, ap, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   

Description Michael A. Puls II 2008-06-16 04:16:50 PDT
Win32 WebKit-r34578

Unlike the Netscape WMP 6.4 plugin from <http://www.microsoft.com/downloads/details.aspx?FamilyID=99655624-ca38-49b7-a701-93f5f0e501dd&displaylang=en>, the Firefox WMP plugin from <http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx> doesn't need Javascript to work.

For example, the following works in Firefox with Javascript turned off.

<object type="application/x-ms-wmp" width="300" height="300">
    <param name="URL" value="file.mp3">
</object>

However, in Webkit, if you turn JS off, you get a dead plugin window. This should not happen and Javascript should not be required for all types the FF WMP plugin says it supports.

One possible solution: When loading np-mswmp.dll (or whatever it might be named as), check the description and supported mime types to see that you really have the Firefox WMP plugin. If so, set a js_not_required flag or something. That way, you can still require JS for the old plugin and not require JS for the new one.
Comment 1 Ahmad Saleem 2022-06-23 12:44:57 PDT
NPAPI plugin and Webkit plugins ae not supported anymore. Can this be marked as "RESOLVED WONTFIX"? Thanks!