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

Issue 1940593002: Make sure the test finishes after EventSource loading has completed. (Closed)

Created:
4 years, 7 months ago by Łukasz Anforowicz
Modified:
4 years, 7 months ago
Reviewers:
dcheng
CC:
blink-reviews, chromium-reviews, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure the test finishes after EventSource loading has completed. With --site-per-process, test was finishing before MixedContentChecker had a chance to process the EventSource from the test. After the changes the test finishes only after EventSource-specific event fires. I have checked and AFAICT frame-with-insecure-eventsource.html is only used in this specific test (i.e. changes to the timing of the postMessage will only impact the insecure-eventsource-in-main-frame.html test). BUG=477150 Committed: https://crrev.com/013afc75fb8e42c5bd50cfec0007f90b84eb423a Cr-Commit-Position: refs/heads/master@{#391247}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Added Access-Control-Allow-Origin http header to the test event stream. #

Messages

Total messages: 10 (3 generated)
Łukasz Anforowicz
Daniel, PTAL? This is another case where the test finishing was racing with the behavior ...
4 years, 7 months ago (2016-04-29 21:09:46 UTC) #2
dcheng
Was this flaky at all outside --site-per-process? Seems like it ought to be flaky either ...
4 years, 7 months ago (2016-04-29 22:41:22 UTC) #3
Łukasz Anforowicz
PTAL? On 2016/04/29 22:41:22, dcheng wrote: > Was this flaky at all outside --site-per-process? Seems ...
4 years, 7 months ago (2016-04-29 23:54:49 UTC) #4
dcheng
lgtm
4 years, 7 months ago (2016-05-03 07:00:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1940593002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1940593002/40001
4 years, 7 months ago (2016-05-03 15:02:08 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 16:15:53 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 16:17:59 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/013afc75fb8e42c5bd50cfec0007f90b84eb423a
Cr-Commit-Position: refs/heads/master@{#391247}

Powered by Google App Engine
This is Rietveld 408576698