Bug 1541179 - Part 13: Update and tidy suite/app/ build files. r=frg a=frg
authorIan Neal <iann_cvs@blueyonder.co.uk>
Thu, 11 Apr 2019 20:30:44 +0200
changeset 32173 063f2d8423e2
parent 32172 3fd05f0a77b5
child 32174 daf205c1956c
push id183
push userfrgrahl@gmx.net
push dateThu, 11 Apr 2019 18:31:37 +0000
treeherdercomm-esr60@8e29ae45df19 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg, frg
bugs1541179, 1387650, 1405577, 1424709, 1305339, 1310518
Bug 1541179 - Part 13: Update and tidy suite/app/ build files. r=frg a=frg Port Bug 1387650 [Associate json files with the browser on OS X]. Port Bug 1405577 [Restore the ability to open new windows in new spaces when a window is already in fullscreen mode on macOS]. Port Bug 1424709 [Force disable the OSX system "nano allocator"]. Port Bug 1305339 and Bug 1310518 [improve downloads quarantine support and fix crashes].
suite/app/macbuild/Contents/Info.plist.in
--- a/suite/app/macbuild/Contents/Info.plist.in
+++ b/suite/app/macbuild/Contents/Info.plist.in
@@ -23,16 +23,21 @@
 	<key>CFBundleShortVersionString</key>
 	<string>@MOZ_APP_VERSION@</string>
 	<key>CFBundleGetInfoString</key>
 	<string>@MAC_APP_NAME@ @MOZ_APP_VERSION@</string>
 	<key>NSAppleScriptEnabled</key>
 	<true/>
 	<key>LSApplicationCategoryType</key>
 	<string>public.app-category.productivity</string>
+	<key>LSEnvironment</key>
+	<dict>
+		<key>MallocNanoZone</key>
+		<string>0</string>
+	</dict>
 	<key>LSMinimumSystemVersion</key>
 	<string>10.9.0</string>
 	<key>CFBundleDocumentTypes</key>
 	<array>
 			<dict>
 				<key>CFBundleTypeName</key>
 				<string>Text Document</string>
 				<key>CFBundleTypeRole</key>
@@ -65,21 +70,42 @@
 					<string>HTML</string>
 				</array>
 				<key>CFBundleTypeExtensions</key>
 				<array>
 					<string>html</string>
 					<string>htm</string>
 					<string>shtml</string>
 					<string>xml</string>
+					<string>xht</string>
 					<string>xhtml</string>
 					</array>
 				<key>CFBundleTypeIconFile</key>
 				<string>document.icns</string>
 			</dict>
+		<dict>
+			<key>CFBundleTypeName</key>
+			<string>JSON File</string>
+			<key>CFBundleTypeRole</key>
+			<string>Viewer</string>
+			<key>CFBundleTypeOSTypes</key>
+			<array>
+				<string>TEXT</string>
+			</array>
+			<key>CFBundleTypeExtensions</key>
+			<array>
+				<string>json</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>document.icns</string>
+			<key>CFBundleTypeMIMETypes</key>
+			<array>
+				<string>application/json</string>
+			</array>
+		</dict>
 			<dict>
 				<key>CFBundleTypeName</key>
 				<string>@MOZ_APP_DISPLAYNAME@ E-mail</string>
 				<key>CFBundleTypeRole</key>
 				<string>Viewer</string>
 				<key>CFBundleTypeOSTypes</key>
 				<array>
 					<string>TEXT</string>
@@ -228,18 +254,16 @@
 			<key>CFBundleURLSchemes</key>
 			<array>
 				<string>file</string>
 			</array>
 		</dict>
 	</array>
 	<key>NSSupportsAutomaticGraphicsSwitching</key>
 	<true/>
-	<key>NSDisablePersistence</key>
-	<true/>
 	<key>NSPrincipalClass</key>
 	<string>GeckoNSApplication</string>
   <key>MozillaDeveloperRepoPath</key>
   <string>@MOZ_DEVELOPER_REPO_PATH@</string>
   <key>MozillaDeveloperObjPath</key>
   <string>@MOZ_DEVELOPER_OBJ_PATH@</string>
 </dict>
 </plist>