add test for frames and bytes properties of empty movies
[swfdec.git] / test / trace / delete-object.as
blob267a95ef6b74588233a52cbd8e9851f3dd79b198
1 // makeswf -v 7 -s 200x150 -r 1 -o delete-object.swf delete-object.as
3 trace ("Check that deleting from an object does not delete from the prototype");
5 o = { x: 1 };
6 o.__proto__ = { x: 2 };
7 trace (o.x);
8 delete o.x;
9 trace (o.x);
10 delete o.x;
11 trace (o.x);
13 loadMovie ("FSCommand:quit", "");