@@ -11,12 +11,15 @@ interface nsIURI;
11
11
interface nsIPrincipal;
12
12
interface nsIContentSecurityPolicy;
13
13
interface nsIReferrerInfo;
14
+ interface nsIOpenWindowInfo;
14
15
webidl BrowsingContext;
15
16
webidl Element;
16
17
17
18
[scriptable, uuid(e774db14- 79ac- 4156 - a7a3- aa3fd0a22c10)]
18
19
interface nsIOpenURIInFrameParams : nsISupports
19
20
{
21
+ readonly attribute nsIOpenWindowInfo openWindowInfo;
22
+
20
23
attribute nsIReferrerInfo referrerInfo;
21
24
readonly attribute boolean isPrivate;
22
25
attribute nsIPrincipal triggeringPrincipal;
@@ -107,7 +110,7 @@ interface nsIBrowserDOMWindow : nsISupports
107
110
108
111
* @param aURI the URI to be opened in the window (can be null).
109
112
* @param aWhere see possible values described above.
110
- * @param aOpener window requesting the creation (can be null).
113
+ * @param aOpenWindowInfo info about the creation (can be null).
111
114
* @param aFlags flags which control the behavior of the load. The
112
115
* OPEN_EXTERNAL/ OPEN_NEW flag is only used when
113
116
* aWhere == OPEN_DEFAULTWINDOW.
@@ -117,7 +120,7 @@ interface nsIBrowserDOMWindow : nsISupports
117
120
* @return the window into which the URI would have been opened.
118
121
*/
119
122
BrowsingContext
120
- createContentWindow(in nsIURI aURI, in mozIDOMWindowProxy aOpener ,
123
+ createContentWindow(in nsIURI aURI, in nsIOpenWindowInfo aOpenWindowInfo ,
121
124
in short aWhere, in long aFlags,
122
125
in nsIPrincipal aTriggeringPrincipal,
123
126
[optional] in nsIContentSecurityPolicy aCsp);
@@ -127,14 +130,12 @@ interface nsIBrowserDOMWindow : nsISupports
127
130
* returned as Element, QI'd back to nsFrameLoaderOwner as needed.
128
131
*
129
132
* Additional Parameters:
130
- * @param aNextRemoteTabId The RemoteTab to associate the window with.
131
133
* @param aName The name to give the window opened in the new tab.
132
134
* @return The frame element for the newly opened window .
133
135
*/
134
136
Element
135
137
createContentWindowInFrame(in nsIURI aURI, in nsIOpenURIInFrameParams params,
136
138
in short aWhere, in long aFlags,
137
- in unsigned long long aNextRemoteTabId,
138
139
in AString aName);
139
140
140
141
/**
@@ -143,7 +144,7 @@ interface nsIBrowserDOMWindow : nsISupports
143
144
* @param aURI the URI to open . null is not allowed. To create the window
144
145
* without loading the URI, use createContentWindow instead.
145
146
* @param aWhere see possible values described above.
146
- * @param aOpener window requesting the open (can be null).
147
+ * @param aOpenWindowInfo info about the open (can be null).
147
148
* @param aFlags flags which control the behavior of the load. The
148
149
* OPEN_EXTERNAL/ OPEN_NEW flag is only used when
149
150
* aWhere == OPEN_DEFAULTWINDOW.
@@ -152,7 +153,7 @@ interface nsIBrowserDOMWindow : nsISupports
152
153
* @return the window into which the URI was opened.
153
154
*/
154
155
BrowsingContext
155
- openURI(in nsIURI aURI, in mozIDOMWindowProxy aOpener ,
156
+ openURI(in nsIURI aURI, in nsIOpenWindowInfo aOpenWindowInfo ,
156
157
in short aWhere, in long aFlags, in nsIPrincipal aTriggeringPrincipal,
157
158
[optional] in nsIContentSecurityPolicy aCsp);
158
159
@@ -161,7 +162,6 @@ interface nsIBrowserDOMWindow : nsISupports
161
162
* returned as Element, QI'd back to nsFrameLoaderOwner as needed.
162
163
*
163
164
* Additional Parameters:
164
- * @param aNextRemoteTabId The RemoteTab to associate the window with.
165
165
* @param aName The name to give the window opened in the new tab.
166
166
* @return The frame element for the newly opened window .
167
167
// XXXbz is this the right API?
@@ -170,7 +170,6 @@ interface nsIBrowserDOMWindow : nsISupports
170
170
Element
171
171
openURIInFrame(in nsIURI aURI, in nsIOpenURIInFrameParams params,
172
172
in short aWhere, in long aFlags,
173
- in unsigned long long aNextRemoteTabId,
174
173
in AString aName);
175
174
176
175
/**
0 commit comments