Mike, can you take a look at this CL for adding SRI to style sheets?
6 years, 2 months ago
(2014-10-02 18:06:10 UTC)
#2
Mike, can you take a look at this CL for adding SRI to style sheets?
Mike West
This looks great; it's nice to see how easy it is to add new elements ...
6 years, 2 months ago
(2014-10-02 18:52:45 UTC)
#3
This looks great; it's nice to see how easy it is to add new elements now that
you've done the grunt work for scripts. :)
Code change LGTM, tests need a bit of work. They should use testharness.js (both
because that's the direction layout tests are going, and because we'll be more
easily able to reuse them for a W3C test suite). If you convert over to that
framework and use it's asserts, I'd be happy to see you land this.
https://codereview.chromium.org/622783004/diff/1/LayoutTests/http/tests/secur...
File
LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html
(right):
https://codereview.chromium.org/622783004/diff/1/LayoutTests/http/tests/secur...
LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html:18:
if (color === "rgb(0, 128, 0)")
Please convert these to testharness.js tests, and use assert_equals here rather
than building your own pass and fail messages.
Mike West
This looks great; it's nice to see how easy it is to add new elements ...
6 years, 2 months ago
(2014-10-02 18:53:32 UTC)
#4
This looks great; it's nice to see how easy it is to add new elements now that
you've done the grunt work for scripts. :)
Code change LGTM, tests need a bit of work. They should use testharness.js (both
because that's the direction layout tests are going, and because we'll be more
easily able to reuse them for a W3C test suite). If you convert over to that
framework and use it's asserts, I'd be happy to see you land this.
I'd like someone who knows <link> tags well to take a look at this, nominating ...
6 years, 2 months ago
(2014-10-02 19:15:20 UTC)
#6
I'd like someone who knows <link> tags well to take a look at this, nominating
morrita@.
jww
Thanks, Mike. Tests updated. morrita@, looking forward to your review to see if I did ...
6 years, 2 months ago
(2014-10-02 22:12:18 UTC)
#7
Thanks, Mike. Tests updated.
morrita@, looking forward to your review to see if I did anything too crazy in
HTMLLinkElement.cpp :-)
https://codereview.chromium.org/622783004/diff/1/LayoutTests/http/tests/secur...
File
LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html
(right):
https://codereview.chromium.org/622783004/diff/1/LayoutTests/http/tests/secur...
LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html:18:
if (color === "rgb(0, 128, 0)")
On 2014/10/02 18:52:44, Mike West (OOO until 6th) wrote:
> Please convert these to testharness.js tests, and use assert_equals here
rather
> than building your own pass and fail messages.
Done.
Hajime Morrita
Sorry for overlooking this. core/ lgtm.
6 years, 2 months ago
(2014-10-07 01:32:48 UTC)
#8
Sorry for overlooking this. core/ lgtm.
jww
On 2014/10/07 01:32:48, morrita wrote: > Sorry for overlooking this. core/ lgtm. No worries, thanks!
6 years, 2 months ago
(2014-10-07 05:23:10 UTC)
#9
On 2014/10/07 01:32:48, morrita wrote:
> Sorry for overlooking this. core/ lgtm.
No worries, thanks!
jww
The CQ bit was checked by jww@chromium.org
6 years, 2 months ago
(2014-10-07 05:23:22 UTC)
#10
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/27990)
6 years, 2 months ago
(2014-10-07 06:24:24 UTC)
#13
Issue 622783004: Implementation of subresource integrity attribute for style sheets.
(Closed)
Created 6 years, 2 months ago by jww
Modified 6 years, 2 months ago
Reviewers: Mike West, Hajime Morrita
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 2