зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1418076 part 2. Get rid of nsIDOMHTMLDocument's cookie attribute. r=mystor
MozReview-Commit-ID: JLW7dFPbY3m
This commit is contained in:
Родитель
3c11d297e3
Коммит
9350bc9e65
|
@ -1178,14 +1178,6 @@ nsHTMLDocument::Scripts()
|
|||
return mScripts;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::GetCookie(nsAString& aCookie)
|
||||
{
|
||||
ErrorResult rv;
|
||||
GetCookie(aCookie, rv);
|
||||
return rv.StealNSResult();
|
||||
}
|
||||
|
||||
already_AddRefed<nsIChannel>
|
||||
nsHTMLDocument::CreateDummyChannelForCookies(nsIURI* aCodebaseURI)
|
||||
{
|
||||
|
@ -1267,14 +1259,6 @@ nsHTMLDocument::GetCookie(nsAString& aCookie, ErrorResult& rv)
|
|||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::SetCookie(const nsAString& aCookie)
|
||||
{
|
||||
ErrorResult rv;
|
||||
SetCookie(aCookie, rv);
|
||||
return rv.StealNSResult();
|
||||
}
|
||||
|
||||
void
|
||||
nsHTMLDocument::SetCookie(const nsAString& aCookie, ErrorResult& rv)
|
||||
{
|
||||
|
|
|
@ -16,8 +16,6 @@ interface nsISelection;
|
|||
[uuid(cd31e61f-cfc2-4b91-9385-17b6a2d0633d)]
|
||||
interface nsIDOMHTMLDocument : nsIDOMDocument
|
||||
{
|
||||
attribute DOMString cookie;
|
||||
|
||||
readonly attribute nsISupports head;
|
||||
|
||||
// If aContentType is not something supported by nsHTMLDocument and
|
||||
|
|
Загрузка…
Ссылка в новой задаче