Skip to content
  • Gijs Kruitbosch's avatar
    Bug 1305339 - part 0: enable quarantine functionality when OSX doesn't do it for us, r=mstange · 2af350c6
    Gijs Kruitbosch authored
    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
    2af350c6