add blend mode tests
[swfdec.git] / test / trace / object-hasownproperty.as
blob5eff103bceef210212f0d8e3c968a6750b37fd46
1 // makeswf -v 7 -r 1 -o object-hasownproperty-7.swf object-hasownproperty.as
3 var o = new Object ();
4 o.hasOwnProperty = ASnative (101, 5);
6 o[0] = 0;
7 for (var i = 0; i <= 13; i++) {
8 o[1 << i] = 1 << i;
9 ASSetPropFlags (o, 1 << i, 1 << i, 0);
12 trace ("(no param): " + o.hasOwnProperty ());
13 trace ("not_found: " + o.hasOwnProperty ("not_found"));
14 trace ("0: " + o.hasOwnProperty (0));
15 for (var i = 0; i <= 13; i++) {
16 trace (1 << i + ": " + o.hasOwnProperty (1 << i));
19 loadMovie ("FSCommand:quit", "");