gecko/dom/interfaces/events/nsIDOMBlobEvent.idl
Randy Lin 2887f23f47 Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00

32 lines
1018 B
Plaintext

/* -*- 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 "nsIDOMEvent.idl"
interface nsIDOMBlob;
/**
* The nsIDOMBlobEvent interface is used for server-sent events
*
* For more information on this interface, please see
* https://dvcs.w3.org/hg/dap/raw-file/tip/media-stream-capture/RecordingProposal.html
*/
[scriptable, builtinclass, uuid(84293ee0-68f5-11e2-9906-cf63ba8c6e43)]
interface nsIDOMBlobEvent : nsIDOMEvent
{
/**
* Custom blob data associated with this event.
*/
readonly attribute nsIDOMBlob data;
[noscript]
void initBlobEvent(in DOMString aType,
in boolean aCanBubble,
in boolean aCancelable,
in nsIDOMBlob aData);
};
dictionary BlobEventInit : EventInit {
nsIDOMBlob data;
};