Backing out to fix orange.
This commit is contained in:
@@ -772,11 +772,7 @@ nsWebShell::OnLinkClick(nsIContent* aContent,
|
||||
if (mFiredUnloadEvent) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aContent->HasFlag(NODE_IS_EDITABLE)) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
nsCOMPtr<nsIRunnable> ev =
|
||||
new OnLinkClickEvent(this, aContent, aURI, aTargetSpec,
|
||||
aPostDataStream, aHeadersDataStream);
|
||||
@@ -804,10 +800,6 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aContent->HasFlag(NODE_IS_EDITABLE)) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
{
|
||||
// defer to an external protocol handler if necessary...
|
||||
nsCOMPtr<nsIExternalProtocolService> extProtService = do_GetService(NS_EXTERNALPROTOCOLSERVICE_CONTRACTID);
|
||||
@@ -903,10 +895,6 @@ nsWebShell::OnOverLink(nsIContent* aContent,
|
||||
nsIURI* aURI,
|
||||
const PRUnichar* aTargetSpec)
|
||||
{
|
||||
if (aContent->HasFlag(NODE_IS_EDITABLE)) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIWebBrowserChrome2> browserChrome2 = do_GetInterface(mTreeOwner);
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user