rem:   true || do_check_eq(data.length, aDl.amountTransferred); true || do_check_eq(data.length, aDl.size); 
add:  do_check_eq(data.length, aDl.amountTransferred); do_check_eq(data.length, aDl.size); 
context:     onDownloadStateChange: function(a, aDl) {      if (aDl.state == nsIDM.DOWNLOAD_DOWNLOADING && !didPause) {        /**         * (1) queued -> downloading = pause the download         */        dm.pauseDownload(aDl.id);      } else if (aDl.state == nsIDM.DOWNLOAD_PAUSED) {        /**         * (2) downloading -> paused = remove the file         */        didPause = true;        // Test bug 395537 by removing the file before we actually resume        aDl.targetFile.remove(false);      } else if (aDl.state == nsIDM.DOWNLOAD_FINISHED) {        /**         * (4) downloading (resumed) -> finished = check tests         */        // did we pause at all?        do_check_true(didPause);        // did we real-resume and not fake-resume?        do_check_true(didResumeDownload);        // extra real-resume check for the server        do_check_true(didResumeServer);        // did we download the whole file?        do_check_eq(data.length, aDl.targetFile.fileSize);        // extra sanity checks on size        // XXX remove short-circuit after bug 394548 is fixed        true || do_check_eq(data.length, aDl.amountTransferred);        true || do_check_eq(data.length, aDl.size);        httpserv.stop();        // we're done with the test!        do_test_finished();      }    },
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/504caa03e5c4295b1a17e61a1a9d75765688b100/test_resume.js/clean/toolkit/components/downloads/test/unit/test_resume.js