You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2012/10/27 01:53:10 UTC

svn commit: r1402724 - /incubator/flex/sdk/branches/develop/mustella/as3/src/mustella/IncludeFileLocation.as

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";
 
 		}