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

Issue 2784543003: Fixed wpt content-security-policy/style-src tests (Closed)

Created:
3 years, 8 months ago by andypaicu
Modified:
3 years, 8 months ago
Reviewers:
Mike West
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed wpt content-security-policy/style-src tests Fixed existing tests to use testharness Ported and deleted relevant tests from contentSecurityPolicy BUG=694525 Review-Url: https://codereview.chromium.org/2784543003 Cr-Commit-Position: refs/heads/master@{#460353} Committed: https://chromium.googlesource.com/chromium/src/+/011484c5417e6760493d222f678fcae0f6a94232

Patch Set 1 #

Total comments: 12

Patch Set 2 : CR changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+776 lines, -972 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +1 line, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/3_3.css View 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src.css View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.sub.css View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-inject-style.js View 1 chunk +5 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_1.html View 1 chunk +0 lines, -33 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_1.html.sub.headers View 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_2.html View 1 chunk +0 lines, -25 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_2.html.sub.headers View 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_3.html View 1 chunk +0 lines, -37 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_3.html.sub.headers View 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_4.css View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_4.html View 1 chunk +0 lines, -27 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_4-import.css View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-3_4.html.sub.headers View 1 chunk +0 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-error-event-fires.html View 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-hash-allowed.html View 1 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-hash-blocked.html View 1 1 chunk +48 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-hash-default-src-allowed.html View 1 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-imported-style-allowed.sub.html View 1 1 chunk +30 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-imported-style-blocked.html View 1 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-injected-inline-style-allowed.html View 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-injected-inline-style-blocked.html View 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-injected-stylesheet-allowed.sub.html View 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html View 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-allowed.html View 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-attribute-allowed.html View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html View 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-blocked.html View 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-nonce-allowed.html View 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html View 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-inline-style-nonce-blocked-error-event.html View 1 chunk +71 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-none-blocked.html View 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-star-allowed.html View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-stylesheet-nonce-allowed.html View 1 chunk +30 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html View 1 chunk +33 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-allowed.html View 1 chunk +0 lines, -44 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-allowed-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-basic-blocked.html View 1 chunk +0 lines, -27 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-basic-blocked-error-event.html View 1 chunk +0 lines, -65 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-basic-blocked-error-event-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-basic-blocked-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-default-src.html View 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-svg-style-basic-blocked-error-event.html View 1 chunk +0 lines, -58 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-svg-style-basic-blocked-error-event-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-style-allowed.html View 1 chunk +0 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-style-allowed-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-style-blocked.html View 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/injected-inline-style-blocked-expected.txt View 1 chunk +0 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html View 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-allowed.html View 1 chunk +0 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-allowed-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked.html View 1 chunk +0 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked-expected.txt View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html.html View 1 chunk +0 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html-expected.txt View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-blocked.html View 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-blocked-expected.txt View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-allowed.php View 1 chunk +0 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php View 1 chunk +0 lines, -36 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-multiple-allowed.php View 1 chunk +0 lines, -24 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-multiple-blocked.php View 1 chunk +0 lines, -42 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-allowed.html View 1 chunk +0 lines, -33 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-allowed-expected.txt View 1 chunk +0 lines, -17 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-basic-blocked-error-event.html View 1 chunk +0 lines, -56 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-basic-blocked-error-event-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-blocked.html View 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-blocked-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-svg-style-basic-blocked-error-event.html View 1 chunk +0 lines, -58 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/stylenonce-svg-style-basic-blocked-error-event-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/inject-style.js View 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-allowed.html View 1 chunk +0 lines, -16 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-allowed-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked.html View 1 chunk +0 lines, -16 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-blocked-expected.txt View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-src-blocked-error-event.html View 1 chunk +0 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/style-src-blocked-error-event-expected.txt View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
andypaicu
3 years, 8 months ago (2017-03-29 07:49:35 UTC) #2
Mike West
LGTM % nits. Thanks! https://codereview.chromium.org/2784543003/diff/1/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css File third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css (right): https://codereview.chromium.org/2784543003/diff/1/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css#newcode1 third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css:1: @import "http://{{domains[www1]}}:{{ports[http][0]}}/content-security-policy/style-src/style-src.css"; This needs to ...
3 years, 8 months ago (2017-03-29 08:38:02 UTC) #5
andypaicu
We should probably talk to someone about sha1 https://codereview.chromium.org/2784543003/diff/1/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css File third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css (right): https://codereview.chromium.org/2784543003/diff/1/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css#newcode1 third_party/WebKit/LayoutTests/external/wpt/content-security-policy/style-src/resources/style-src-import.css:1: @import ...
3 years, 8 months ago (2017-03-29 09:55:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784543003/20001
3 years, 8 months ago (2017-03-29 11:33:15 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 11:40:36 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/011484c5417e6760493d222f678f...

Powered by Google App Engine
This is Rietveld 408576698