Commit 2af350c6 authored by Gijs Kruitbosch's avatar Gijs Kruitbosch
Browse files

Bug 1305339 - part 0: enable quarantine functionality when OSX doesn't do it for us, r=mstange

It's widely documented on the web that Apple enforces quarantine attributes
'for us' using the list in
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist

Unfortunately, this is based on the bundle ID. Which means it won't apply to custom
builds, to Nightly, and potentially to other cases. It would also be much nicer
if we could just make these determinations ourselves. Step 1: opt-in from Info.plist

Without this, for e.g. local Nightly builds, asking for quarantine attributes
simply gets you a nil dictionary and our code bails out.

MozReview-Commit-ID: 4aLyz2901BS

--HG--
extra : rebase_source : 7aab5177276c20007036abd19efb56741d790ec2
parent 631b9cd0
......@@ -205,6 +205,8 @@
<true/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.9.0</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment