-
Notifications
You must be signed in to change notification settings - Fork 0
Description
In the ATK ATTA branch at
web-platform-tests/wai-aria/tools/atta-atk-atspi.py
Lines 792 to 793 in 419a77e
| # HACK to give us sufficient time to receive the document:load-complete | |
| # accessibility event and compare it to the URL we set above. |
The logic in the ATTAcomm.js library is to wait until the DOM Content is loaded (along with any other external test files) before doing ANYTHING. At that point, the library calls the "go" method, which then executes the following logic:
Send the "start" message to the ATTA
If no connection, no response, or a response that at all indicates the ATTA is not ready, to into manual testing mode.
Otherwise, go through each step in the list of tests in order, sending them to the ATTA and waiting for a reply or processing them locally, depending upon the type of step.
When all the steps are complete, send an 'end' message to the ATTA so it knows this test is terminating in case there is any cleanup needed (probably not, but it just seemed polite)
So... is there some way to delay the send of that start message so that the underlying system has an opportunity to get the windows painted etc? A .1 second delay or something to relinquish the processing and let the browser do its thing?