Bug 1459528: Remove nsXULPrototypeDocument::{Set,Get}HeaderData. r=heycam

MozReview-Commit-ID: BMZNOyBG4RC
This commit is contained in:
Emilio Cobos Álvarez 2018-05-07 04:04:32 +02:00
parent 2193a0de05
commit 6553891e16
2 changed files with 0 additions and 25 deletions

View File

@ -438,24 +438,6 @@ nsXULPrototypeDocument::GetStyleSheetReferences() const
return mStyleSheetReferences;
}
NS_IMETHODIMP
nsXULPrototypeDocument::GetHeaderData(nsAtom* aField, nsAString& aData) const
{
// XXX Not implemented
aData.Truncate();
return NS_OK;
}
NS_IMETHODIMP
nsXULPrototypeDocument::SetHeaderData(nsAtom* aField, const nsAString& aData)
{
// XXX Not implemented
return NS_OK;
}
nsIPrincipal*
nsXULPrototypeDocument::DocumentPrincipal()
{

View File

@ -82,13 +82,6 @@ public:
void AddStyleSheetReference(nsIURI* aStyleSheet);
const nsCOMArray<nsIURI>& GetStyleSheetReferences() const;
/**
* Access HTTP header data.
* @note Not implemented.
*/
NS_IMETHOD GetHeaderData(nsAtom* aField, nsAString& aData) const;
NS_IMETHOD SetHeaderData(nsAtom* aField, const nsAString& aData);
nsIPrincipal *DocumentPrincipal();
void SetDocumentPrincipal(nsIPrincipal *aPrincipal);