content/base/public/nsIDOMFormData.idl
author Peter Van der Beken <peterv@propagandism.org>
Sat, 15 Feb 2014 22:12:34 +0100
changeset 196441 0ad53ad7c80897776821bcb60eb99340879a15a3
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 201485 c590fcb23c3c1c1bb3a41979b04fdc3031953130
permissions -rw-r--r--
Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz.

/* -*- Mode: C++; 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 "nsISupports.idl"

interface nsIVariant;

[scriptable, uuid(256c9139-5a29-41e1-8698-f9f9aae7d6cf)]
interface nsIDOMFormData : nsISupports 
{
  void append(in DOMString name, in nsIVariant value);
};

%{ C++
#define NS_FORMDATA_CID \
{ 0x6b192618, 0x26f2, 0x426e, \
  { 0xa7, 0xac, 0x1e, 0x13, 0xa6, 0xa4, 0x52, 0x2b } }

#define NS_FORMDATA_CONTRACTID "@mozilla.org/files/formdata;1"
%}