1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/html/nsIDOMMozBrowserFrame.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim:set tw=80 expandtab softtabstop=2 ts=2 sw=2: */ 1.6 + 1.7 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.9 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.10 + 1.11 +#include "nsISupports.idl" 1.12 + 1.13 +[scriptable, uuid(4CAFE116-581B-4194-B0DE-7F02378FC51D)] 1.14 +interface nsIDOMMozBrowserFrame : nsISupports 1.15 +{ 1.16 + /** 1.17 + * <iframe> element may have the mozbrowser attribute. 1.18 + * 1.19 + * The mozbrowser attribute has no effect unless the <iframe> element is 1.20 + * contained in a document privileged to create browser frames. 1.21 + * 1.22 + * An <iframe> element in a privileged document with the mozbrowser attribute 1.23 + * emits a variety of events when various things happen inside the frame. 1.24 + * 1.25 + * This will be documented eventually, but for more information at the moment, 1.26 + * see dom/browser-element/BrowserElement{Child,Parent}.js. 1.27 + * 1.28 + */ 1.29 + attribute boolean mozbrowser; 1.30 +};