• mitz@apple.com's avatar
    WebCore: · b7f8848d
    mitz@apple.com authored
            Reviewed by John Sullivan.
    
            - WebCore part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie
    
            * dom/Document.cpp:
            (WebCore::Document::cookie): Added checking if cookies are disabled.
            (WebCore::Document::setCookie): Ditto.
            * page/Navigator.cpp:
            (WebCore::Navigator::cookieEnabled): Ditto.
            * page/Page.cpp:
            (WebCore::Page::Page): Initialize m_cookieEnabled to true.
            * page/Page.h:
            (WebCore::Page::cookieEnabled): Added.
            (WebCore::Page::setCookieEnabled): Added.
    
    WebKit/mac:
    
            Reviewed by John Sullivan.
    
            - WebKit/mac part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie
    
            * WebView/WebView.mm:
            (-[WebView _cookieEnabled]):
            (-[WebView _setCookieEnabled:]):
            * WebView/WebViewPrivate.h:
    
    WebKit/win:
    
            Reviewed by John Sullivan.
    
            - WebKit/win part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie
    
            * Interfaces/IWebViewPrivate.idl:
            * WebView.cpp:
            (WebView::setCookieEnabled):
            (WebView::cookieEnabled):
            * WebView.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b7f8848d
ChangeLog 378 KB