check_async_open_throws(NS_ERROR_ALREADY_OPENED); 
check_async_open_throws([NS_ERROR_IN_PROGRESS, NS_ERROR_ALREADY_OPENED]); 
function test_channel(createChanClosure) {  // First, synchronous reopening test  chan = createChanClosure();  var inputStream = chan.open();  check_open_throws(NS_ERROR_IN_PROGRESS);  check_async_open_throws(NS_ERROR_ALREADY_OPENED);    // Then, asynchronous one  chan = createChanClosure();  chan.asyncOpen(listener, null);  check_open_throws(NS_ERROR_IN_PROGRESS);  check_async_open_throws(NS_ERROR_IN_PROGRESS);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/be65c586ffe805a839b3b94cef8c794cf62cd1cb/test_reopen.js/buggy/netwerk/test/unit/test_reopen.js