зеркало из https://github.com/mozilla/pjs.git
Attempt to fix btek bustage, or at least get some more information.
This commit is contained in:
Родитель
bfd2577045
Коммит
36536a65e3
|
@ -664,7 +664,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
|
||||||
PRBool inherit;
|
PRBool inherit;
|
||||||
nsresult rv = URIInheritsSecurityContext(aURI, &inherit);
|
nsresult rv = URIInheritsSecurityContext(aURI, &inherit);
|
||||||
if (NS_FAILED(rv) || inherit) {
|
if (NS_FAILED(rv) || inherit) {
|
||||||
nsCOMPtr<nsIDocument> sourceDoc = aContent->GetDocument();
|
nsCOMPtr<nsIDocument> sourceDoc = aContent->GetCurrentDoc();
|
||||||
|
|
||||||
if (!sourceDoc) {
|
if (!sourceDoc) {
|
||||||
// The source is in a 'zombie' document, or not part of a
|
// The source is in a 'zombie' document, or not part of a
|
||||||
|
|
Загрузка…
Ссылка в новой задаче