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

Issue 2366353002: Allows inline style in User-Agent shadow trees under CSP (Closed)

Created:
4 years, 2 months ago by majidvp
Modified:
4 years, 2 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2840
Project:
chromium
Visibility:
Public.

Description

Allows inline style in User-Agent shadow trees under CSP When a page specifies a CSP of style-src 'self', it does not allow inline style changes. However, the node under User-Agent shadow trees should be an exception as developers are not allowed to modify the inline-style, but blink may need it. So we add shadow dom elements as an exception under CSP. BUG=648589 Review-Url: https://codereview.chromium.org/2359813002 Cr-Commit-Position: refs/heads/master@{#420456} (cherry picked from commit bf99fb1ccc22a6b037045f6174d8a113d97f1ef7) Committed: https://chromium.googlesource.com/chromium/src/+/aa31201e326904bb4fe00014391e936dfab93ecb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/touch/touch-action-range-input-csp.html View 1 chunk +95 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/RangeInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (1 generated)
majidvp
4 years, 2 months ago (2016-09-26 13:55:11 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
aa31201e326904bb4fe00014391e936dfab93ecb.

Powered by Google App Engine
This is Rietveld 408576698