1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/base/nsIDOMModalContentWindow.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsISupports.idl" 1.10 + 1.11 +interface nsIVariant; 1.12 +interface nsIArray; 1.13 + 1.14 +[scriptable, uuid(3f4cb2d0-5f7e-44a9-9f4f-370945f8db08)] 1.15 +interface nsIDOMModalContentWindow : nsISupports 1.16 +{ 1.17 + /** 1.18 + * Readonly attribute containing an arbitrary JS value passed by the 1.19 + * code that opened the modal content window. A security check is 1.20 + * performed at access time, per spec. 1.21 + */ 1.22 + readonly attribute nsIVariant dialogArguments; 1.23 + 1.24 + /** 1.25 + * The return value that will be returned to the function that 1.26 + * opened the modal content window. 1.27 + */ 1.28 + attribute nsIVariant returnValue; 1.29 +};