Bug 1591174 - Fix some references to nsIDOMWindow. r=bzbarsky

nsIDOMWindow is now an empty interface. There are two references to
nsIDOMWindow::openDialog in comments which needed to be updated. There
were also a few forward declarations of nsIDOMWindow that were unused.

Differential Revision: https://phabricator.services.mozilla.com/D51738

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew McCreight 2019-11-05 04:52:53 +00:00
parent ee044d40a7
commit 634c8dd169
7 changed files with 2 additions and 11 deletions

View File

@ -500,7 +500,7 @@ partial interface Window {
/** /**
* This is the scriptable version of * This is the scriptable version of
* nsIDOMWindow::openDialog() that takes 3 optional * nsPIDOMWindow::OpenDialog() that takes 3 optional
* arguments, plus any additional arguments are passed on as * arguments, plus any additional arguments are passed on as
* arguments on the dialog's window object (window.arguments). * arguments on the dialog's window object (window.arguments).
*/ */

View File

@ -12,8 +12,6 @@
#include "nsIPrintSettings.idl" #include "nsIPrintSettings.idl"
#include "nsIObserver.idl" #include "nsIObserver.idl"
interface nsIDOMWindow;
[scriptable, uuid(72006d06-a2a5-4250-ae92-04b2f0e2ab8d)] [scriptable, uuid(72006d06-a2a5-4250-ae92-04b2f0e2ab8d)]
interface nsIPrintingPromptService : nsISupports interface nsIPrintingPromptService : nsISupports
{ {

View File

@ -9,7 +9,6 @@
interface nsIInterfaceRequestor; interface nsIInterfaceRequestor;
interface nsIWebBrowserChrome; interface nsIWebBrowserChrome;
interface nsIURIContentListener; interface nsIURIContentListener;
interface nsIDOMWindow;
interface mozIDOMWindowProxy; interface mozIDOMWindowProxy;
interface nsIWeakReference; interface nsIWeakReference;
@ -72,8 +71,6 @@ interface nsIWebBrowser : nsISupports
/** /**
* The top-level DOM window. The embedder may walk the entire * The top-level DOM window. The embedder may walk the entire
* DOM starting from this value. * DOM starting from this value.
*
* @see nsIDOMWindow
*/ */
readonly attribute mozIDOMWindowProxy contentDOMWindow; readonly attribute mozIDOMWindowProxy contentDOMWindow;

View File

@ -6,7 +6,6 @@
interface nsIFile; interface nsIFile;
interface nsIURI; interface nsIURI;
interface nsIDOMWindow;
/** /**
* Represents the command line used to invoke a XUL application. This may be the * Represents the command line used to invoke a XUL application. This may be the

View File

@ -16,7 +16,6 @@ class nsDocShellLoadState;
webidl BrowsingContext; webidl BrowsingContext;
interface mozIDOMWindowProxy; interface mozIDOMWindowProxy;
interface nsIDOMWindow;
interface nsISimpleEnumerator; interface nsISimpleEnumerator;
interface nsIWebBrowserChrome; interface nsIWebBrowserChrome;
interface nsIDocShellTreeItem; interface nsIDocShellTreeItem;
@ -56,7 +55,7 @@ interface nsPIWindowWatcher : nsISupports
aUrl in it (if aUrl is not null) and return it. aUrl in it (if aUrl is not null) and return it.
@param aFeatures window features from JS window.open. can be null. @param aFeatures window features from JS window.open. can be null.
@param aCalledFromScript true if we were called from script. @param aCalledFromScript true if we were called from script.
@param aDialog use dialog defaults (see nsIDOMWindow::openDialog) @param aDialog use dialog defaults (see nsGlobalWindowOuter::OpenInternal)
@param aNavigate true if we should navigate the new window to the @param aNavigate true if we should navigate the new window to the
specified URL. specified URL.
@param aArgs Window argument @param aArgs Window argument

View File

@ -5,7 +5,6 @@
#include "nsISupports.idl" #include "nsISupports.idl"
interface nsIDOMWindow;
interface nsIRequest; interface nsIRequest;
interface nsIRequestObserver; interface nsIRequestObserver;
interface nsISimpleEnumerator; interface nsISimpleEnumerator;

View File

@ -7,7 +7,6 @@
#include "nsISupports.idl" #include "nsISupports.idl"
interface nsIURI; interface nsIURI;
interface nsIDOMWindow;
interface nsIDOMGeoPosition; interface nsIDOMGeoPosition;
interface nsIGeolocationPrompt; interface nsIGeolocationPrompt;