dom/interfaces/storage/nsIDOMStorageItem.idl
author Randell Jesup <rjesup@jesup.org>
Thu, 21 Jun 2012 07:34:58 -0400
changeset 102049 305edcfd646037062d1859565dd4bbda469f8282
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 139562 aae000f9e3cb69d03450078a23a3522cff362943
permissions -rw-r--r--
Bug 749889: Webrtc import of rev 2047, with most of third_party and test/data removed rs=ted

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "domstubs.idl"

/**
 * Interface for a client side storage item. See
 * http://www.whatwg.org/specs/web-apps/current-work/#scs-client-side
 * for more information.
 *
 * A respresentation of a storage object item.
 */

[scriptable, uuid(0CC37C78-4C5F-48E1-ADFC-7480B8FE9DC4)]
interface nsIDOMStorageItem : nsISupports
{
  /**
   * Indicates whether a key is available only in a secure context.
   */
  attribute boolean secure;

  /**
   * The value associated with the item.
   */
  attribute DOMString value;
};