-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add at least *some* test-coverage for the RenderTask.onContinue
functionality
#12036
Add at least *some* test-coverage for the RenderTask.onContinue
functionality
#12036
Conversation
30a601b
to
ee403dc
Compare
RenderTask.onContinue
functionalityRenderTask.onContinue
functionality
ee403dc
to
3c95f58
Compare
…ctionality The default viewer, and thus Firefox, depends on the `RenderTask.onContinue` functionality to pause/continue rendering (such that the most visible page always renders first). Despite this functionality thus being very important, it has however never actually been tested *at all* as far as I can tell. Hence this patch which adds a new boolean `renderTaskOnContinue` parameter (`false` by default), that can be used to force a reference-test to use the `RenderTask.onContinue` code-path in the `InternalRenderTask` class. Note that I purposely made this new reference-test behaviour *optional*, since I didn't want to negatively affect the general runtime of the tests (given that there's a slight delay added to the rendering). Also, for e.g. benchmarking you'd most likely want to stay away from the `RenderTask.onContinue` functionality for similar reasons.
3c95f58
to
4a5b68e
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/498390b32731073/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/22e39e3c5110b72/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/498390b32731073/output.txt Total script time: 25.93 mins
Image differences available at: http://54.67.70.0:8877/498390b32731073/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/22e39e3c5110b72/output.txt Total script time: 28.89 mins
Image differences available at: http://54.215.176.217:8877/22e39e3c5110b72/reftest-analyzer.html#web=eq.log |
Looks good! |
The default viewer, and thus Firefox, depends on the
RenderTask.onContinue
functionality to pause/continue rendering (such that the most visible page always renders first).Despite this functionality thus being very important, it has however never actually been tested at all as far as I can tell. Hence this patch which adds a new boolean
renderTaskOnContinue
parameter (false
by default), that can be used to force a reference-test to use theRenderTask.onContinue
code-path in theInternalRenderTask
class.Note that I purposely made this new reference-test behaviour optional, since I didn't want to negatively affect the general runtime of the tests (given that there's a slight delay added to the rendering). Also, for e.g. benchmarking you'd most likely want to stay away from the
RenderTask.onContinue
functionality for similar reasons.