tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_bug540566.js (527B)


      1 /* Any copyright is dedicated to the Public Domain.
      2 * http://creativecommons.org/publicdomain/zero/1.0/
      3 */
      4 
      5 "use strict";
      6 
      7 function continue_test(status) {
      8  Assert.equal(status, Cr.NS_OK);
      9  // TODO - mayhemer: remove this tests completely
     10  // entry.deviceID;
     11  // if the above line does not crash, the test was successful
     12  do_test_finished();
     13 }
     14 
     15 function run_test() {
     16  asyncOpenCacheEntry(
     17    "http://some.key/",
     18    "disk",
     19    Ci.nsICacheStorage.OPEN_NORMALLY,
     20    null,
     21    continue_test
     22  );
     23  do_test_pending();
     24 }