Bug 449371 Firefox/Thunderbird crashes at exit [@ gdk_display_x11_finalize], p=Brian...
[wine-gecko.git] / testing / mochitest / tests / test_MochiKit-JSAN.html
blob53a0e0ed04ad2a180089ac6bcb1a60aa787a6cd0
1 <html>
2 <head>
3 <script type="text/javascript" src="JSAN.js"></script>
4 </head>
5 <body>
7 <pre id="test">
8 <script type="text/javascript">
9 // TODO: Make this a harness for the other tests
10 JSAN.use('Test.More');
11 JSAN.addRepository('..');
12 var lst = [];
13 plan({"tests": 1});
14 var wc = {};
15 wc['MochiKit'] = true;
16 for (var k in window) { wc[k] = true; }
17 for (var k in window) { wc[k] = true; }
18 JSAN.use('MochiKit.MochiKit', []);
19 for (var k in window) {
20 if (!(k in wc) && !(k.charAt(0) == '[')) {
21 lst.push(k);
24 lst.sort();
25 pollution = lst.join(" ");
26 is(pollution, "compare reduce", "namespace pollution?");
27 JSAN.use('MochiKit.MochiKit');
29 </script>
30 </pre>
31 </body>
32 </html>