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

Issue 2777823003: Fixed and un-skipped csp/font-src wpt tests (Closed)

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

Description

Fixed and un-skipped csp/font-src wpt tests Modified existing tests to use testharness instead. Added more tests. Moved fonts.css into content-security-policy/support BUG=694525 Review-Url: https://codereview.chromium.org/2777823003 Cr-Commit-Position: refs/heads/master@{#460333} Committed: https://chromium.googlesource.com/chromium/src/+/d392fbe7235460ea17422fa98af5084698867afe

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed incorrect tests and added a test of a font loaded by a stylesheet #

Patch Set 3 : Rebase-Update #

Total comments: 3

Patch Set 4 : CR changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -38 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-blacklisted.html View 1 chunk +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-blacklisted-ref.html View 1 chunk +0 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-match-allowed.sub.html View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-mismatch-blocked.sub.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-self-allowed.html View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-whitelisted.html View 1 chunk +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-whitelisted-ref.html View 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/fonts.css View 1 chunk +0 lines, -8 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/support/Ahem.ttf View 1 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/content-security-policy/support/fonts.css View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (26 generated)
andypaicu
font-src tests
3 years, 9 months ago (2017-03-27 09:29:36 UTC) #4
Mike West
LGTM % one test. https://codereview.chromium.org/2777823003/diff/1/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.html File third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.html (right): https://codereview.chromium.org/2777823003/diff/1/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.html#newcode18 third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.html:18: link.onload = t.step_func_done(); `onload` + ...
3 years, 9 months ago (2017-03-27 11:47:03 UTC) #7
andypaicu
Argh, I've copy pasted that test incorrectly on both the negative tests Turns out the ...
3 years, 9 months ago (2017-03-27 13:46:17 UTC) #12
Mike West
Still LGTM. CCing yoav@ for the preload question, but you don't need to wait for ...
3 years, 8 months ago (2017-03-28 10:18:38 UTC) #21
Yoav Weiss
https://codereview.chromium.org/2777823003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html File third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html (right): https://codereview.chromium.org/2777823003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html#newcode17 third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html:17: link.onload = t.unreached_func("Should not have loaded the font."); On ...
3 years, 8 months ago (2017-03-28 10:32:08 UTC) #22
Mike West
On 2017/03/28 at 10:32:08, yoav wrote: > https://codereview.chromium.org/2777823003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html > File third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html (right): > > https://codereview.chromium.org/2777823003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/font-src/font-none-blocked.sub.html#newcode17 ...
3 years, 8 months ago (2017-03-28 14:37:00 UTC) #23
Yoav Weiss
On 2017/03/28 14:37:00, Mike West wrote: > On 2017/03/28 at 10:32:08, yoav wrote: > > ...
3 years, 8 months ago (2017-03-28 15:58:43 UTC) #24
Mike West
On 2017/03/28 at 15:58:43, yoav wrote: > On 2017/03/28 14:37:00, Mike West wrote: > > ...
3 years, 8 months ago (2017-03-29 08:36:36 UTC) #28
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/2777823003/60001
3 years, 8 months ago (2017-03-29 09:29:48 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 09:36:22 UTC) #36
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d392fbe7235460ea17422fa98af5...

Powered by Google App Engine
This is Rietveld 408576698