repo.or.cz
/
swfdec.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add test for frames and bytes properties of empty movies
[swfdec.git]
/
test
/
trace
/
delete-object.as
blob
267a95ef6b74588233a52cbd8e9851f3dd79b198
1
// makeswf -v 7 -s 200x150 -r 1 -o delete-object.swf delete-object.as
2
3
trace
(
"Check that deleting from an object does not delete from the prototype"
);
4
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
);
12
13
loadMovie
(
"FSCommand:quit"
,
""
);