mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 458167 - Fix bad usage of "it's" in comments: patch for docshell folder. r=bsmedberg
This commit is contained in:
parent
0deabefc86
commit
2772409706
@ -159,7 +159,7 @@ nsDSURIContentListener::IsPreferred(const char* aContentType,
|
|||||||
NS_ENSURE_ARG_POINTER(aDesiredContentType);
|
NS_ENSURE_ARG_POINTER(aDesiredContentType);
|
||||||
|
|
||||||
// the docshell has no idea if it is the preferred content provider or not.
|
// the docshell has no idea if it is the preferred content provider or not.
|
||||||
// It needs to ask it's parent if it is the preferred content handler or not...
|
// It needs to ask its parent if it is the preferred content handler or not...
|
||||||
|
|
||||||
nsCOMPtr<nsIURIContentListener> parentListener;
|
nsCOMPtr<nsIURIContentListener> parentListener;
|
||||||
GetParentContentListener(getter_AddRefs(parentListener));
|
GetParentContentListener(getter_AddRefs(parentListener));
|
||||||
|
@ -6652,7 +6652,7 @@ nsDocShell::CheckLoadingPermissions()
|
|||||||
NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal, rv);
|
NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal, rv);
|
||||||
|
|
||||||
// Check if the caller is from the same origin as this docshell,
|
// Check if the caller is from the same origin as this docshell,
|
||||||
// or any of it's ancestors.
|
// or any of its ancestors.
|
||||||
nsCOMPtr<nsIDocShellTreeItem> item(this);
|
nsCOMPtr<nsIDocShellTreeItem> item(this);
|
||||||
do {
|
do {
|
||||||
nsCOMPtr<nsIScriptGlobalObject> sgo(do_GetInterface(item));
|
nsCOMPtr<nsIScriptGlobalObject> sgo(do_GetInterface(item));
|
||||||
|
Loading…
Reference in New Issue
Block a user