tests: Add avm2/sandbox_type_local_network test

Verifies the sandbox type of a local SWF with network enabled.
This commit is contained in:
Kamil Jarosz 2024-09-03 12:42:13 +02:00
parent 4607bfd987
commit f77dddb6f5
4 changed files with 13 additions and 0 deletions

View File

@ -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);
}
}
}

View File

@ -0,0 +1 @@
Current sandbox type: localWithNetwork

Binary file not shown.

View File

@ -0,0 +1 @@
num_ticks = 1