Skip to content
  • mkwst@chromium.org's avatar
    Prefer 'Content-Security-Policy' to 'X-WebKit-CSP'. · 132c275c
    mkwst@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=101043
    
    Reviewed by Adam Barth.
    
    The canonical 'Content-Security-Policy' header landed in 133095, but we
    missed a few tests while updating to the new hotness. We also should
    start using the canonical header for the inspector.
    
    This patch should have no visible change; tests should continue to pass
    with the new header, just as they did with the old header.
    
    Source/WebCore:
    
    * inspector/front-end/inspector.html:
    
    LayoutTests:
    
    * http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html:
    * http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html:
    * http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html:
    * http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html:
    * http/tests/security/contentSecurityPolicy/img-blocked-no-gc-crash.html:
    * http/tests/security/isolatedWorld/bypass-main-world-csp.html:
    * inspector/console/console-eval-blocked.html:
    * inspector/debugger/debugger-pause-on-blocked-event-handler.html:
    * inspector/debugger/debugger-pause-on-blocked-script-injection.html:
    * inspector/debugger/debugger-pause-on-blocked-script-url.html:
    * inspector/debugger/eval-on-pause-blocked.html:
    * inspector/elements/resolve-node-blocked.html:
    * media/csp-blocks-video.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    132c275c