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
/
with-outobject.as
blob
2657ac501d4eba35debaeb8af76711655e435d50
1
// makeswf -v 7 -s 200x150 -r 1 -o movie2.swf movie2.as
2
3
trace
(
"Check how with behaves when called on non-object values"
);
4
5
with
(
"hi"
) {
6
trace
(
indexOf
(
"i"
));
7
};
8
with
(
undefined
) {
9
trace
(
"undefined"
);
10
};
11
trace
(
"..."
);
12
with
(
null
) {
13
trace
(
"null"
);
14
};
15
trace
(
"done"
);
16
17
loadMovie
(
"FSCommand:quit"
,
""
);