tests: Add avm2/sandbox_type_local_network test
Verifies the sandbox type of a local SWF with network enabled.
This commit is contained in:
parent
4607bfd987
commit
f77dddb6f5
|
@ -0,0 +1,11 @@
|
|||
package {
|
||||
import flash.display.Sprite;
|
||||
import flash.system.Security;
|
||||
|
||||
// Compile with network enabled
|
||||
public class Test extends Sprite {
|
||||
public function Test() {
|
||||
trace("Current sandbox type: " + Security.sandboxType);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
Current sandbox type: localWithNetwork
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
num_ticks = 1
|
Loading…
Reference in New Issue