New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 600723 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Apr 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Support automatic opening of Apple Wallet (pkpass) files on Mac

Reported by giovanni...@gmail.com, Apr 5 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17

Steps to reproduce the problem:
1. Go to http://staging-passbook.greenapes.net/create/reward/850137292659715881?staging
2. Chrome downloads the file
3. Open the file

What is the expected behavior?
Chrome should automatically open .pkpass files, like Safari does. They are Apple Wallet files, and the default file handler of the operating system shows a top-level window asking the user to add it to the iCloud Wallet (and thus synchronize with the iPhone).

If you try the same link on Safari, you can see the expected behavior.

What went wrong?
Chrome downloaded the file instead of opening it. This is an unexpected results for users, as Wallet cards are not exposed as "files" in most (all?) user interface paths on iOS and OSX. Users are not even aware they are "files" behind the scenes, they usually just click on links (or buttons) and get shown the Apple Wallet screen to confirm adding them.

In fact, Safari doesn't even add the file to the Downloads folder, as users are not supposed to manage them manually. It is probably downloaded in a temporary directory and opened from there.

Did this work before? Yes Chrome 23

Chrome version: 49.0.2623.110  Channel: stable
OS Version: OS X 10.11.4
Flash Version: 

I searched the tracker to see if the behavior was disabled after Chrome 23 because of security concerns. I can't think of any, but obviously you know better.

The expected Content-Type for Apple Wallet files is application/vnd.apple.pkpass. Safari on iOS doesn't open the files if they're not being served with this specific Content-Type.

The issue was already reported ( issue #344851 ) but was automatically closed after a year of non interaction.
 
Labels: Needs-Feedback
Have you try clicking the arrow on the file item on the downloads bar and selecting "Always open file of this type"?

Doing that should open the file automatically. I'm able to get this to work on M49+
Confirmed that it works. I'm concerned about the default behavior though.
Project Member

Comment 3 by sheriffbot@chromium.org, Apr 6 2016

Labels: -Needs-Feedback Needs-Review
Owner: spqc...@chromium.org
Thank you for providing more feedback. Adding requester "spqchan@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://sites.google.com/a/chromium.org/dev/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -UI UI>Browser>Downloads
Labels: -Pri-2 Pri-3
Status: WontFix (was: Unconfirmed)
This is going to be a WontFix if the current 'open' and 'always open' behaviors work. It would be nice to have an "open only" behavior where there's no user accessible file left on disk afterwards. But that's a much bigger and more general change than what's suggested here.

Sign in to add a comment