rem: setTimeout(function() { D.addCallback( function() { var dialogs = getDialogs();  if(dialogs.length == 1) { document.body.removeChild(dialogs[0]); waitD.callback(null); } else { waitD.errback( new Error("expected 1 dialog, got " + dialogs.length)); } }); }, 0); 
add: function(widget) { self.failUnless(widget instanceof Nevow.Athena.Tests.Resources.ImportWidget); }); 
context:                 setTimeout(function() {                    D.addCallback(                        function() {                            var dialogs = getDialogs();                            if(dialogs.length == 1) {                                document.body.removeChild(dialogs[0]);                                waitD.callback(null);                            } else {                                waitD.errback(                                    new Error("expected 1 dialog, got " + dialogs.length));                            }                        });                    }, 0);
meta: 1565	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1565/7d20a6d4c1e6c9272e368342a916a0fd0f343527/__init__.js/buggy/nevow/js/Nevow/Athena/Tests/__init__.js