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

Issue 718633002: Deflake http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html (Closed)

Created:
6 years, 1 month ago by dcheng
Modified:
6 years ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Deflake http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html Several things make this test flaky: 1) Console output depends on whether the parser has finished or not. To make the console output deterministic, wait until the document has loaded before triggering CSS loads with subresource integrity checks. 2) Stylesheet loads might not complete in order. Stylesheet loading is now serialized. In addition, Blink now fires an 'error' event at the link element if the load is blocked due to failing the subresource integrity check. BUG=421298 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187315

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Rebase #

Patch Set 4 : Really rebase #

Patch Set 5 : Fix our use of w3 test harness to call done() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -21 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked.html View 1 2 3 4 1 chunk +69 lines, -16 lines 0 comments Download
M LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-style-blocked-expected.txt View 1 2 3 4 1 chunk +15 lines, -3 lines 0 comments Download
M Source/core/html/HTMLLinkElement.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
dcheng
Please review this patch with care. In particular: 1) I'm not actually familiar with stylesheet ...
6 years, 1 month ago (2014-11-11 09:54:10 UTC) #2
Mike West
LGTM, though I think waiting for morrita to sign off on the notification mechanism is ...
6 years, 1 month ago (2014-11-11 09:58:33 UTC) #4
dcheng
It looks like we fire events already for CORS checks (http/tests/security/link-crossorigin-stylesheet-no-cors.html). I'm not sure where/how ...
6 years, 1 month ago (2014-11-11 10:43:53 UTC) #6
jww
Sorry for being so late to the party here, but this LGTM. Thanks a lot, ...
6 years ago (2014-12-03 17:30:19 UTC) #7
Hajime Morrita
On 2014/12/03 17:30:19, jww wrote: > Sorry for being so late to the party here, ...
6 years ago (2014-12-11 17:38:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/718633002/40001
6 years ago (2014-12-11 18:26:14 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/28846) linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/103053)
6 years ago (2014-12-11 18:29:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/718633002/60001
6 years ago (2014-12-11 18:33:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/38094)
6 years ago (2014-12-11 20:38:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/718633002/80001
6 years ago (2014-12-16 22:55:06 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-17 01:19:09 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187315

Powered by Google App Engine
This is Rietveld 408576698