Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Issue 418783002: Revert 178571 "Teach ContentSecurityPolicy about WebURLRequest::..." (Closed)

Created:
6 years, 5 months ago by haraken
Modified:
6 years, 5 months ago
Reviewers:
Mike West
CC:
blink-reviews
Visibility:
Public.

Description

Revert 178571 "Teach ContentSecurityPolicy about WebURLRequest::..." Due to bug 396582. > Teach ContentSecurityPolicy about WebURLRequest::RequestContext. > > Rather than using `Resource::Type` to make decisions about what CSP > directive to apply to a resource request, we should be using > WebURLRequest::RequestContext. This patch teaches ContentSecurityPolicy > to correctly compare a URL against the right policy directive when given > a 'ResourceContext', and pipes the value through > 'ResourceFetcher::canRequest' to make sure its available when it needs > to be. > > BUG=390497 > > Review URL: https://codereview.chromium.org/398313002 TBR=mkwst@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178797

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -108 lines) Patch
M trunk/Source/core/fetch/CachingCorrectnessTest.cpp View 5 chunks +0 lines, -7 lines 0 comments Download
M trunk/Source/core/fetch/ResourceFetcher.h View 2 chunks +1 line, -2 lines 0 comments Download
M trunk/Source/core/fetch/ResourceFetcher.cpp View 8 chunks +48 lines, -11 lines 0 comments Download
M trunk/Source/core/frame/UseCounter.h View 1 chunk +0 lines, -2 lines 0 comments Download
M trunk/Source/core/frame/csp/ContentSecurityPolicy.h View 2 chunks +0 lines, -3 lines 0 comments Download
M trunk/Source/core/frame/csp/ContentSecurityPolicy.cpp View 1 chunk +0 lines, -72 lines 0 comments Download
M trunk/Source/core/html/parser/HTMLResourcePreloader.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M trunk/Source/core/loader/ImageLoader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M trunk/Source/core/xml/XSLTProcessorLibxslt.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M trunk/Source/core/xml/parser/XMLDocumentParser.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M trunk/Source/web/tests/WebFrameTest.cpp View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
haraken
6 years, 5 months ago (2014-07-24 01:03:34 UTC) #1
haraken
6 years, 5 months ago (2014-07-24 01:03:44 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r178797.

Powered by Google App Engine
This is Rietveld 408576698