mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1647666: test_doc_busy.html: Log a11y events to help debug the intermittent timeout. r=MarcoZ
It seems the window location isn't the issue here at all. Rather, we never get the expected a11y events. So, let's try to find out what events we *do* get. Differential Revision: https://phabricator.services.mozilla.com/D81478
This commit is contained in:
parent
bb33c7f919
commit
c598f2c2a3
@ -33,6 +33,7 @@
|
||||
}
|
||||
|
||||
async function doTest() {
|
||||
EventsLogger.enabled = true;
|
||||
const busyEvents = waitForOrderedEvents([
|
||||
[EVENT_STATE_CHANGE, matchDocBusyChange(true)],
|
||||
[EVENT_STATE_CHANGE, matchDocBusyChange(false)]
|
||||
@ -55,6 +56,7 @@
|
||||
synthesizeMouse(getNode("link"), 1, 1, {});
|
||||
info("Waiting for a11y busy events");
|
||||
await busyEvents;
|
||||
EventsLogger.enabled = false;
|
||||
|
||||
info("Waiting for download prompt to open");
|
||||
const downloadWin = await downloadPromptOpened;
|
||||
|
Loading…
Reference in New Issue
Block a user