tor-browser

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

storage-local-storage.js (650B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2      +  * License, v. 2.0. If a copy of the MPL was not distributed with this
      3      +  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 "use strict";
      6 
      7 const ContentProcessStorage = require("resource://devtools/server/actors/resources/utils/content-process-storage.js");
      8 const {
      9  LocalStorageActor,
     10 } = require("resource://devtools/server/actors/resources/storage/local-and-session-storage.js");
     11 
     12 class LocalStorageWatcher extends ContentProcessStorage {
     13  constructor() {
     14    super(LocalStorageActor, "localStorage");
     15  }
     16 }
     17 
     18 module.exports = LocalStorageWatcher;