Bug 18913 - WebKit does not expose that Picasa is installed
Summary: WebKit does not expose that Picasa is installed
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: GoogleBug, InRadar
Depends on:
Blocks:
 
Reported: 2008-05-06 13:50 PDT by Eric Seidel (no email)
Modified: 2008-05-07 13:04 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-05-06 13:50:21 PDT
WebKit does not expose that Picasa is installed

0. Make sure picasa is installed
1. Go to any random picasa album:
http://picasaweb.google.com/alovic06/IMAGENESEVENTOHOMENAJEAKINGKONG#
2.  Notice how in FF/IE between "Share" and "Print" there is a "Download" pop-down which allows you to download the album to your copy of picasa.  In Safari there is no such link.

The page seems to be doing this:
<script type="text/javascript">
var _picasaInstalled = !!(navigator.mimeTypes['application/x-picasa-detect'] ||
navigator.mimeTypes['application/x-picasa']);
</script>
<!--[if gte Picasa 2.0]>
<script type="text/javascript">
_picasaInstalled = true;
</script>
<![endif]-->

One guess is that FF might be including mime types from registry key HKCR\MIME\Database\Content Type and that WebKit is not.  Not sure.
Comment 1 Mark Rowe (bdash) 2008-05-06 23:25:01 PDT
<rdar://problem/5916269>
Comment 2 Darin Fisher (:fishd, Google) 2008-05-07 12:43:31 PDT
It looks like FF will return a MimeType object when queried for 'x-picasa-detect', but if you enumerate navigator.mimeTypes, this value won't appear in the result set.
Comment 3 Eric Seidel (no email) 2008-05-07 13:04:41 PDT
Picasa has decided to change their behavior in a future version.