add: }, 0); 
context:                         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));                            }                        });
meta: 1565	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1565/6743821043215169d17e58181ab116e284abb9ef/__init__.js/buggy/nevow/js/Nevow/Athena/Tests/__init__.js