-
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
Re-factor the MessageHandler
-class event handler function
#18888
Re-factor the MessageHandler
-class event handler function
#18888
Conversation
5a0e310
to
71b98df
Compare
- Change the "message" event handler function to a private method. - Remove the "message" event listener with an `AbortSignal`. - Extend the `LoopbackPort`-class with `AbortSignal` support.
71b98df
to
788eabc
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/caffd6e4756ebab/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/8227d4eef18b891/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/caffd6e4756ebab/output.txt Total script time: 31.45 mins
Image differences available at: http://54.241.84.105:8877/caffd6e4756ebab/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/8227d4eef18b891/output.txt Total script time: 53.39 mins
Image differences available at: http://54.193.163.58:8877/8227d4eef18b891/reftest-analyzer.html#web=eq.log |
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.
I was reading through the changes in src/display/api.js
to add support for signals, and they look correct
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.
Change the "message" event handler function to a private method.
Remove the "message" event listener with an
AbortSignal
.Extend the
LoopbackPort
-class withAbortSignal
support.Smaller diff with https://github.com/mozilla/pdf.js/pull/18888/files?w=1