Commit 96f6162c authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2010-03-13 Eric Roman <eroman@chromium.org>

        Reviewed by Adam Barth.

        Add a firstPartyForCookies() property to WebDocument.
        https://bugs.webkit.org/show_bug.cgi?id=35592

        * public/WebDocument.h:
        * src/WebDocument.cpp:
        (WebKit::WebDocument::firstPartyForCookies):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dd721f54
2010-03-13 Eric Roman <eroman@chromium.org>
Reviewed by Adam Barth.
Add a firstPartyForCookies() property to WebDocument.
https://bugs.webkit.org/show_bug.cgi?id=35592
* public/WebDocument.h:
* src/WebDocument.cpp:
(WebKit::WebDocument::firstPartyForCookies):
2010-03-12 Garret Kelly <gdk@chromium.org>
Unreiviewed.
......
......@@ -63,6 +63,7 @@ public:
WEBKIT_API WebFrame* frame() const;
WEBKIT_API bool isHTMLDocument() const;
WEBKIT_API WebURL baseURL() const;
WEBKIT_API WebURL firstPartyForCookies() const;
WEBKIT_API WebElement documentElement() const;
WEBKIT_API WebElement body() const;
WEBKIT_API WebElement head();
......
......@@ -67,6 +67,11 @@ WebURL WebDocument::baseURL() const
return constUnwrap<Document>()->baseURL();
}
WebURL WebDocument::firstPartyForCookies() const
{
return constUnwrap<Document>()->firstPartyForCookies();
}
WebElement WebDocument::documentElement() const
{
return WebElement(constUnwrap<Document>()->documentElement());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment