Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz

--HG--
extra : rebase_source : 9a3fd090299ff312050eb82ff3c515615df7b17b
This commit is contained in:
Justin Lebar 2012-10-30 15:55:05 -04:00
parent e81c256481
commit 3393b3aed4
2 changed files with 6 additions and 5 deletions

View File

@ -53,10 +53,11 @@ interface nsIDocShellTreeItem : nsIDocShellTreeNode
readonly attribute nsIDocShellTreeItem parent;
/*
This is call returns the same thing parent does however if the parent is
of a different itemType, it will instead return nullptr. This call is a
convience function for those wishing to not cross the boundaries at which
item types change.
This getter returns the same thing parent does however if the parent
is of a different itemType, or if the parent is an <iframe mozbrowser>
or <iframe mozapp>, it will instead return nullptr. This call is a
convience function for those wishing to not cross the boundaries at
which item types change.
*/
readonly attribute nsIDocShellTreeItem sameTypeParent;

View File

@ -78,7 +78,7 @@ interface nsILoadContext : nsISupports
%}
/**
* Returns true iif the load is occurring inside a browser element.
* Returns true iff the load is occurring inside a browser element.
*/
readonly attribute boolean isInBrowserElement;