|
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsISupports.idl" |
|
7 |
|
8 interface nsIVariant; |
|
9 interface nsIArray; |
|
10 |
|
11 [scriptable, uuid(3f4cb2d0-5f7e-44a9-9f4f-370945f8db08)] |
|
12 interface nsIDOMModalContentWindow : nsISupports |
|
13 { |
|
14 /** |
|
15 * Readonly attribute containing an arbitrary JS value passed by the |
|
16 * code that opened the modal content window. A security check is |
|
17 * performed at access time, per spec. |
|
18 */ |
|
19 readonly attribute nsIVariant dialogArguments; |
|
20 |
|
21 /** |
|
22 * The return value that will be returned to the function that |
|
23 * opened the modal content window. |
|
24 */ |
|
25 attribute nsIVariant returnValue; |
|
26 }; |