Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout
This commit is contained in:
@@ -978,9 +978,6 @@ nsDocShellTreeOwner::HandleEvent(Event* aEvent)
|
||||
nsAutoString url;
|
||||
if (NS_SUCCEEDED(links[0]->GetUrl(url))) {
|
||||
if (!url.IsEmpty()) {
|
||||
#ifndef ANDROID
|
||||
MOZ_ASSERT(triggeringPrincipal, "nsDocShellTreeOwner::HandleEvent: Need a valid triggeringPrincipal");
|
||||
#endif
|
||||
webnav->LoadURI(url, 0, nullptr, nullptr, nullptr,
|
||||
triggeringPrincipal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user