Bug 491577 - fix idl comment. sr=mconnor
authorMichael Kraft <morac99-firefox@yahoo.com>
Thu, 13 Aug 2009 09:52:22 +0200
changeset 31422 3511005c7340c18675b155cc5557e5f00d1e6073
parent 31421 908834ee9c289a1a2f8151b0132598310bc5b6ce
child 31423 52d5e6ab0cfea58801eb317790b19ed16b427509
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewersmconnor
bugs491577
milestone1.9.2a2pre
Bug 491577 - fix idl comment. sr=mconnor
browser/components/sessionstore/nsISessionStore.idl
--- a/browser/components/sessionstore/nsISessionStore.idl
+++ b/browser/components/sessionstore/nsISessionStore.idl
@@ -160,16 +160,19 @@ interface nsISessionStore : nsISupports
   /**
    * @param aIndex is the index of the windows to be restored (FIFO ordered).
    * @returns the nsIDOMWindow object of the reopened window
    */
   nsIDOMWindow undoCloseWindow(in unsigned long aIndex);
 
   /**
    * @param aIndex  is the index of the closed window to be removed (FIFO ordered).
+   *
+   * @throws NS_ERROR_INVALID_ARG
+   *   when aIndex does not map to a closed window
    */
   nsIDOMNode forgetClosedWindow(in unsigned long aIndex);
 
   /**
    * @param aWindow is the window to get the value for.
    * @param aKey    is the value's name.
    * 
    * @returns A string value or an empty string if none is set.