DescriptionMinor improvements to reftests.
1. If notifyTestComplete is called before the first paint,
give a clear assert instead of a confusing crash.
2. Add runAfterDisplay. This is a copy of the equivalent
file in Blink. Avoids the incorrect 100ms setTimeout. I had
thought there was a deeper bug here, but it appears to just
be the issue from #1 now that we properly pump frames
in testing mode by using a face Surfaces application.
R=abarth@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/87cce85d54d6f67aef634b9eda7bb67d897976a3
Patch Set 1 #
Total comments: 5
Patch Set 2 : Address review comment #Patch Set 3 : Move the check to TestRunner::OnTestComplete so we only assert if we're actually running a pixel/re… #
Messages
Total messages: 4 (1 generated)
|