<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>25540</bug_id>
          
          <creation_ts>2009-05-04 01:21:08 -0700</creation_ts>
          <short_desc>Allow plug-ins to pass off content display to other plugins that handle same mime type</short_desc>
          <delta_ts>2022-02-12 22:43:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simone Manganelli">simX_other</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119795</commentid>
    <comment_count>0</comment_count>
    <who name="Simone Manganelli">simX_other</who>
    <bug_when>2009-05-04 01:21:08 -0700</bug_when>
    <thetext>Summary: Plug-ins register for mime types that they are able to display.  However, if there are two plug-ins that register for the same mime type, WebKit decides which of the two plug-ins gets to handle that mime type based on some unspecified order.  It would be nice if there were an official way to allow plugins to refuse to display content, forcing WebKit to pass off display of that content to the next plug-in that can handle that mime type.


Steps to Reproduce:

1.  Install two plug-ins that register for the same mime type.  (For example, Flash and ClickToFlash.)

2.  Note that once the content is loaded into one of the plug-ins, there is no way to force it to load in the other plug-in when using the same mime type.  The plug-in must change the mime type of the content in order to get it to load in a different plugin.


Expected Results: I expect for there to be a way for plug-ins to pass off content to other plug-ins which handle the same mime type.  One way to do this would be for WebKit to detect whether +plugInViewWithArguments: returns nil.  If it does, WebKit should check for another plug-in that loads the same mime type, and use *that* plug-in to display the content.


Actual Results: Only one installed plug-in can ever load content of a given mime type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119833</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-05-04 08:34:55 -0700</bug_when>
    <thetext>&lt;rdar://problem/6852577&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152614</commentid>
    <comment_count>2</comment_count>
    <who name="Simone Manganelli">simX_other</who>
    <bug_when>2009-10-06 00:30:44 -0700</bug_when>
    <thetext>Don&apos;t want to be pushy (I imagine this is pretty low priority), but any possibility of action on this bug?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>