Closed
Bug 415941
Opened 17 years ago
Closed 17 years ago
nsISessionStore documentation: clarify the meaning of "window"
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 3.1a2
People
(Reporter: zeniko, Assigned: zeniko)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
6.99 KB,
patch
|
zeniko
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•17 years ago
|
||
Attachment #331856 -
Flags: review?(dietrich)
Comment 2•17 years ago
|
||
Comment on attachment 331856 [details] [diff] [review]
API documentation update
>diff -r 588493551f72 browser/components/sessionstore/nsISessionStore.idl
>--- a/browser/components/sessionstore/nsISessionStore.idl Thu Jul 31 11:23:29 2008 -0700
>+++ b/browser/components/sessionstore/nsISessionStore.idl Thu Jul 31 13:28:03 2008 -0700
>@@ -38,17 +38,31 @@
> #include "nsISupports.idl"
>
> interface nsIDOMWindow;
> interface nsIDOMNode;
>
> /**
> * nsISessionStore keeps track of the current browsing state - i.e.
> * tab history, cookies, scroll state, form data, POSTDATA and window features
>- * - and allows to restore everything into one window.
>+ * - and allows to restore everything into one browser window.
>+ *
>+ * The nsISessionStore API operates mostly on browser windows and the tabbrowser
>+ * tabs contained in them:
>+ *
>+ * * "Browser windows" are those DOM windows having loaded
>+ * chrome://browser/content/browser.xul . From overlays you can just pass the
>+ * global |window| object to the API, though. From elsewhere you can get browser
Suggest using top here in child windows (like the sidebar).
>+ * windows through the nsIWindowMediator by looking for "navigator:browser" windows.
>+ *
>+ * * "Tabbrowser tabs" are all the children of a browser window's
>+ * |getBrowser().tabContainer| such as e.g. |getBrowser().selectedTab|.
>+ *
s/children/child windows/ ?
>+ * Note: This API will break in all sorts of way if the preference
>+ * browser.sessionstore.enabled is set to false.
> */
File the follow up bug for the improvement we disscussed.
Please change "@return A" to "@returns a" while you're at it.
Attachment #331856 -
Flags: review?(dietrich) → review+
| Assignee | ||
Comment 3•17 years ago
|
||
(In reply to comment #2)
> Suggest using top here in child windows (like the sidebar).
Fixed.
> s/children/child windows/ ?
s/children/child nodes/ -> fixed
> File the follow up bug for the improvement we disscussed.
Filed as bug 448725.
> Please change "@return A" to "@returns a" while you're at it.
Fixed.
Assignee: nobody → zeniko
Attachment #331856 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #332146 -
Flags: review+
| Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 4•17 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1a2
You need to log in
before you can comment on or make changes to this bug.
Description
•