Bug 1387650 - Associate json files with the browser on OS X. r=spohl
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Fri, 04 Aug 2017 22:58:17 -0700
changeset 642227 a8b9b3b2cd805a16dfd80950889e518bb267438e
parent 642226 bf5ee532b95d53ce36c3f58ceb8e19a55de86319
child 642228 707f372d963d91abbe3902e362133219d058309c
push id72685
push userbmo:emilio+bugs@crisal.io
push dateMon, 07 Aug 2017 22:41:31 +0000
reviewersspohl
bugs1387650
milestone57.0a1
Bug 1387650 - Associate json files with the browser on OS X. r=spohl MozReview-Commit-ID: 2ZdgqKDSvZk
browser/app/macbuild/Contents/Info.plist.in
--- a/browser/app/macbuild/Contents/Info.plist.in
+++ b/browser/app/macbuild/Contents/Info.plist.in
@@ -24,16 +24,36 @@
 				<string>HTML</string>
 			</array>
 			<key>CFBundleTypeRole</key>
 			<string>Viewer</string>
 		</dict>
 		<dict>
 			<key>CFBundleTypeExtensions</key>
 			<array>
+				<string>json</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>document.icns</string>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>application/json</string>
+			</array>
+			<key>CFBundleTypeName</key>
+			<string>JSON File</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>TEXT</string>
+			</array>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
 				<string>svg</string>
 			</array>
 			<key>CFBundleTypeIconFile</key>
 			<string>document.icns</string>
 			<key>CFBundleTypeMIMETypes</key>
 			<array>
 				<string>image/svg+xml</string>
 			</array>