-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Improve some old code in the src/display/api.js
file
#18250
Conversation
Given that we now check/validate all options properly this old code can be simplified.
… are disabled This helps reduce overall indentation in the method, thus leading to slightly less code. Also, remove an old comment referring to Chrome 15 since that's no longer relevant now.
The feature-testing on the worker-thread has been simplified in previous pull requests, which means that we can simplify this main-thread handler as well.
This avoids having to repeat the same code multiple times, since besides resolving the promise we also need to send the "configure" message to the worker-thread.
caddf2e
to
f3f88ee
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/3a4760351e18011/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/b4afeb2a40c7b10/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/3a4760351e18011/output.txt Total script time: 28.72 mins
Image differences available at: http://54.241.84.105:8877/3a4760351e18011/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/b4afeb2a40c7b10/output.txt Total script time: 43.94 mins
Image differences available at: http://54.193.163.58:8877/b4afeb2a40c7b10/reftest-analyzer.html#web=eq.log |
Thank you for improving this code! |
No description provided.