DescriptionFix a race - synchronize test completion with media's loadstart event.
Presence of OOPIFs introduces a delay into loading of cross-origin media and
exposes a race in the
http/tests/security/mixedContent/insecure-audio-video-in-main-frame.html
test. To get rid of the race, we should wait until media has actually
started to load, before posting / reporting that the test is "done".
BUG=582541
TEST=The affected test passes when run 100 times with and without --site-per-process flag.
Committed: https://crrev.com/7723a589545f0d5b59ad792f6285fe9cb5a46c7a
Cr-Commit-Position: refs/heads/master@{#376065}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|