add:   if (chan.contentType != special_type) do_throw("Type mismatch! Is <" + chan.contentType + ">, should be <" + special_type + ">") 
context:   function on_read_complete(data) {    dump("*** test_read_file.on_read_complete\n");    /* read completed successfully.  now read data directly from file,       and compare the result. */    var stream = new_file_input_stream(file, false);       var result = read_stream(stream, stream.available());    if (result != data)      do_throw("Stream contents do not match with direct read!");    run_next_test();  }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7d20ed1ad6a8ef110361df3d529a96f217b4d074/test_file_protocol.js/clean/netwerk/test/unit/test_file_protocol.js