2011-02-05 Jochen Eisinger <jochen@chromium.org>
authorjochen@chromium.org <jochen@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Feb 2011 11:52:15 +0000 (11:52 +0000)
committerjochen@chromium.org <jochen@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Feb 2011 11:52:15 +0000 (11:52 +0000)
commitef6811ecd583d8cc1dedaec8123aee6788fe89f4
tree4c16d9bef430f4cc434c20427ee77ff0c7e4f239
parentee3356d9629ec172691764093401868029a6ce10
2011-02-05  Jochen Eisinger  <jochen@chromium.org>

        Reviewed by Adam Barth.

        Add ContentSecurityPolicy object to Document and pass the X-WebKit-CSP header from the MainResourceLoader.
        https://bugs.webkit.org/show_bug.cgi?id=53685

        * WebCore.xcodeproj/project.pbxproj:
        * dom/Document.h:
        (WebCore::Document::contentSecurityPolicy):
        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::didReceiveResponse):
        * page/ContentSecurityPolicy.cpp:
        (WebCore::ContentSecurityPolicy::didReceiveHeader):
        * page/ContentSecurityPolicy.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/dom/Document.h
Source/WebCore/loader/MainResourceLoader.cpp
Source/WebCore/page/ContentSecurityPolicy.cpp
Source/WebCore/page/ContentSecurityPolicy.h