[Webkit-unassigned] [Bug 16814] Give plugin a chance to handle ActiveX objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 27 17:24:30 PDT 2008


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





------- Comment #9 from rjiang at gmail.com  2008-08-27 17:24 PDT -------

Thanks for looking at this issue. The patch ready to go. If you don't make any
#defs, it should behave pretty much the same as before, except:

--CLSIDs are now case-insensitive
--Unmapped ActiveX Object will have service type "application/x-oleobject".

If you define DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2, for Windows Media
player object it will not try to map it to "application/x-mplayer2" plugin.
Thus if you have a plugin that can handle ActiveX Object, that plugin will be
created and initialize wmp control instead.

e.g.: 

<object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mmsplayer"
width="310" height="65"> 
  <PARAM NAME="FileName" VALUE="abc.mp3"> 
  <PARAM NAME="autoStart" VALUE="-1">
</object>

With the definition of DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2, this object
won't be rendered by plugin type "application/x-mplayer2". Instead, it will be
rendered by plugin type "application/x-oleobject". 

(In reply to comment #8)
> Is this patch ready to go?  I was going to add a test reduction/layout test for
> this, but I wasn't sure how to do that with the #ifndefs.
> 


-- 
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