mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
adf4ce2388
--HG-- extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
32 lines
1018 B
Plaintext
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;
|
|
};
|