Merge inbound to mozilla-central. a=merge

This commit is contained in:
Csoregi Natalia
2018-05-30 12:25:03 +03:00
360 changed files with 2069 additions and 1650 deletions

View File

@@ -81,7 +81,6 @@
#include "nsIDocShellTreeOwner.h"
#include "nsIDocument.h"
#include "nsIDocumentLoaderFactory.h"
#include "nsIDOMNode.h"
#include "nsIDOMStorage.h"
#include "nsIDOMWindow.h"
#include "nsIEditingSession.h"
@@ -13385,10 +13384,9 @@ nsDocShell::OnLinkClick(nsIContent* aContent,
nsCOMPtr<nsIWebBrowserChrome3> browserChrome3 = do_GetInterface(mTreeOwner);
bool noOpenerImplied = false;
if (browserChrome3) {
nsCOMPtr<nsIDOMNode> linkNode = do_QueryInterface(aContent);
nsAutoString oldTarget(aTargetSpec);
rv = browserChrome3->OnBeforeLinkTraversal(oldTarget, aURI,
linkNode, mIsAppTab, target);
aContent, mIsAppTab, target);
if (!oldTarget.Equals(target)) {
noOpenerImplied = true;
}