Backed out 4 changesets (bug 1735746) for causing failures at browser_protocol_custom_sandbox.js. CLOSED TREE

Backed out changeset 703dfd92c775 (bug 1735746)
Backed out changeset 3b06ed08d93b (bug 1735746)
Backed out changeset 9968278b9efe (bug 1735746)
Backed out changeset 49f2e283115d (bug 1735746)
This commit is contained in:
Butkovits Atila
2022-04-05 16:04:29 +03:00
parent 65bf84b87a
commit 32db6f40c0
18 changed files with 14 additions and 536 deletions

View File

@@ -12974,12 +12974,9 @@ nsresult nsDocShell::OnLinkClickSync(nsIContent* aContent,
nsresult rv =
extProtService->IsExposedProtocol(scheme.get(), &isExposed);
if (NS_SUCCEEDED(rv) && !isExposed) {
return extProtService->LoadURI(
aLoadState->URI(), triggeringPrincipal, nullptr, mBrowsingContext,
/* aTriggeredExternally */
false,
/* aHasValidUserGestureActivation */
aContent->OwnerDoc()->HasValidTransientUserGestureActivation());
return extProtService->LoadURI(aLoadState->URI(), triggeringPrincipal,
nullptr, mBrowsingContext,
/* aTriggeredExternally */ false);
}
}
}