[Webkit-unassigned] [Bug 26946] New: WebKit doesn't pass of content handling of the image/gif MIME type to plug-ins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 2 21:22:57 PDT 2009


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

           Summary: WebKit doesn't pass of content handling of the
                    image/gif MIME type to plug-ins
           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: simX_other at mac.com


Created an attachment (id=32216)
 --> (https://bugs.webkit.org/attachment.cgi?id=32216)
Xcode project for a plug-in that registers for the image/gif MIME type

Summary: WebKit's plug-in architecture does not seem to work when registering
for certain MIME types, like image/gif, for example.  When registering for
these MIME types with a plug-in, content handling for those specific MIME types
never seems to be passed off to the correct plug-in.  Even if all other plugins
are disabled, Safari still seems to handle these MIME types internally.


Steps to Reproduce:

1.  Download the attachment from this bug report named
"clicktoflash+reduction.zip".

2.  Unzip the project, and build it.

3.  Move the built plug-in from the build folder to ~/Library/Internet
Plug-ins/ or /Library/Internet Plug-ins/ .

4.  Launch WebKit.

5.  Browse to hulu.com.  You will notice that an ugly green-to-red gradient
will display where the Flash content is supposed to be.  This is because the
plugin registers for the application/x-shockwave-flash MIME type.  Note that
since the gradient is displayed (code for which is in the plug-in), the plug-in
is working properly.

6.  Browse to http://jackbauersvcr.ytmnd.com/ .  Note that the animated gif for
the flashing 12:00:00 alarm clock plays.  Note that the plug-in registers for
the image/gif MIME type.  (This specific animated gif is located here:
http://content.ytmnd.com/content/a/9/e/a9e801d38144c244c7c3ff479cc68eec.gif

7.  Quit WebKit.

8.  Remove all plugins from ~/Library/Internet Plug-ins/ and /Library/Internet
Plug-ins/, *including* the "QuickTime.plugin" and "QuickTime.webplugin"
plugins, but keep the plug-in that you built from the attachment installed.

9.  Launch WebKit.  Again browse to http://jackbauersvcr.ytmnd.com/ .  Again
note that the animated gif still plays.


Expected Results: I expect plug-ins which register for the image/gif MIME type
to have content display of GIFs passed off to the plug-in.


Actual Results: WebKit still handles the content display of the image/gif MIME
type even when plug-ins register for it and even when all plug-ins are
disabled.


Regression: Unknown.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list