flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1402724 - /incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as
Date Fri, 26 Oct 2012 23:53:10 GMT
Author: aharui
Date: Fri Oct 26 23:53:10 2012
New Revision: 1402724

URL: http://svn.apache.org/viewvc?rev=1402724&view=rev
Log:
Allow -failures to work on AIR on Mac.  Might need fixing on Windows, but haven't tried it
yet.

Modified:
    incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as

Modified: incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as?rev=1402724&r1=1402723&r2=1402724&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as (original)
+++ incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as Fri
Oct 26 23:53:10 2012
@@ -23,6 +23,7 @@ import flash.net.URLLoader;
 import flash.net.URLRequest;
 import flash.events.Event;
 import flash.system.Capabilities;
+import flash.system.Security;
 
 [Mixin]
 /**
@@ -58,7 +59,9 @@ public class IncludeFileLocation
 			useFile = "c:/tmp/IncludeList.txt";	
 		} else { 
 
-			useFile = "/tmp/IncludeList.txt";	
+			useFile = "/tmp/IncludeList.txt";
+			if (Security.sandboxType == Security.APPLICATION)
+				useFile = "file:///tmp/IncludeList.txt";
 
 		}
 



Mime
View raw message