Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures

This commit is contained in:
Carsten "Tomcat" Book
2017-04-25 10:46:31 +02:00
parent 7fcf616cf5
commit c9c22f180a
12 changed files with 31 additions and 55 deletions

View File

@@ -9,7 +9,6 @@
#include "nsWebBrowser.h"
// Helper Classes
#include "nsContentUtils.h"
#include "nsStyleCoord.h"
#include "nsSize.h"
#include "mozilla/ReflowInput.h"
@@ -1005,8 +1004,7 @@ nsDocShellTreeOwner::HandleEvent(nsIDOMEvent* aEvent)
nsAutoString url;
if (NS_SUCCEEDED(links[0]->GetUrl(url))) {
if (!url.IsEmpty()) {
webnav->LoadURI(url.get(), 0, nullptr, nullptr, nullptr,
nsContentUtils::GetSystemPrincipal());
webnav->LoadURI(url.get(), 0, nullptr, nullptr, nullptr);
}
}