dom/webidl/DownloadEvent.webidl
author Alexandre Lissy <lissyx@lissyx.dyndns.org>
Thu, 21 Apr 2016 15:48:59 +0200
changeset 305068 20a6fd076505809220e031dd594e03029459a664
parent 253438 4dd71c32a6cb0e4dbf10350bf65d63bda844cb3b
permissions -rw-r--r--
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice MozReview-Commit-ID: 6EQfBM09xUE

/* -*- 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/.
 */

[Constructor(DOMString type, optional DownloadEventInit eventInitDict),
 Pref="dom.mozDownloads.enabled",
 ChromeOnly]
interface DownloadEvent : Event
{
  readonly attribute DOMDownload? download;
};

dictionary DownloadEventInit : EventInit
{
  DOMDownload? download = null;
};