tor-browser

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

storage_key_empty_string.window.js (286B)


      1 ["localStorage", "sessionStorage"].forEach(function(name) {
      2    test(function () {
      3      var storage = window[name];
      4      storage.clear();
      5 
      6      storage.setItem("", "empty string");
      7      assert_equals(storage.getItem(""), "empty string");
      8 
      9  }, name + ".key with empty string");
     10 });