summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/thisfail.js
blob: 081d274e43c0f515a12b27c3803b553dd927f2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

var dcop = new Dcop(this);
dcop.attach();

println("this works");
var foo = dcop.registeredApplications();
println(foo);

var s = this;
//var s = foo;
//var s = dcop;
//var s = Factory;

println("1this works");
try {
println(dump(s));
}
catch(y) {
println('yyyyyy failed ' + y);
}

println("22this works"+s);
try {
dump(s);
}
catch(x) {
println('xxxxxxxx failed ' + x);
}

println("2this works");
dumpCompletion(s);
println("/2this works");

println("3this fails");
var bar = dumpCompletion(s);
println( typeof(bar) );
println("done -------------");