Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz

This commit is contained in:
Franziskus Kiefer
2015-06-05 15:25:24 -07:00
parent 12cb196e3d
commit 07c4ad95f7
11 changed files with 165 additions and 21 deletions

View File

@@ -128,6 +128,15 @@ public:
}
nsDOMTokenList* RelList();
void SetReferrer(const nsAString& aValue, mozilla::ErrorResult& rv)
{
SetHTMLAttr(nsGkAtoms::referrer, aValue, rv);
}
void GetReferrer(nsAString& aReferrer)
{
GetHTMLAttr(nsGkAtoms::referrer, aReferrer);
}
// The Link::GetOrigin is OK for us
using Link::GetProtocol;