-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Pause translation when appending the textLayer and structTreeLayer to the page #17192
Pause translation when appending the textLayer and structTreeLayer to the page #17192
Conversation
b6d3567
to
1ed88e7
Compare
/botio xfatest |
From: Bot.io (Linux m4)ReceivedCommand cmd_xfatest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/8fb5d307a3e3723/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_xfatest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/45c87d7152991b0/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/8fb5d307a3e3723/output.txt Total script time: 10.62 mins
Image differences available at: http://54.241.84.105:8877/8fb5d307a3e3723/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/45c87d7152991b0/output.txt Total script time: 19.23 mins
Image differences available at: http://54.193.163.58:8877/45c87d7152991b0/reftest-analyzer.html#web=eq.log |
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/fbf04057cf6cfe4/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/fbf04057cf6cfe4/output.txt Total script time: 1.44 mins Published |
… the page Note that we must append the textLayer to the DOM *before* enabling the `highlighter` and `accessibilityManager`, to avoid breaking e.g. a pending searching operation. The least invasive solution, that I was able to come up with, is to introduce a new `TextLayerBuilder` callback-function for this purpose.
1ed88e7
to
d293048
Compare
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/2313c4709815b98/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/5b351a2570b0587/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/2313c4709815b98/output.txt Total script time: 5.47 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/5b351a2570b0587/output.txt Total script time: 18.43 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but I'd like Calixte to also sign off on this (after which we can probably close #17150). Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
Note that we must append the textLayer to the DOM before enabling the
highlighter
andaccessibilityManager
, to avoid breaking e.g. a pending searching operation.The least invasive solution, that I was able to come up with, is to introduce a new
TextLayerBuilder
callback-function for this purpose.