Luca Greco b3de1edab5 Bug 1576472 - Fix browser_about_debugging_link.js intermittent failure due to RDP requests pending while closing the tab. r=jdescottes
browser_about_debugging_link.js is testing the page options that open (or switch) to about:debugging
from about:addons.

This test seems to be failing intermittently because there are pending RDP requests when the about:debugging
tab is being closed once the test is completed.

We already had a similar issue before and at the time daisuke provided us the test helpers currently used
in the test to wait for the tabs, workers and extensions to be populated in the store.

Unfortunately this doesn't seem enough anymore, especially with fission enabled the test is keep
failing because it seems that some new RDP requests are pending when we are closing the tab
(from the stacktrace it seems that the pending requests are triggered by the "processes updates listener").

The waitForRequestsToSettle test helper used in some other about:debugging tests seems to be able to fix
the intermittent failure (trying on linux64 debug locally it passed test-verify multiple times).

Differential Revision: https://phabricator.services.mozilla.com/D49015

--HG--
extra : moz-landing-system : lando
2019-10-14 13:16:29 +00:00
..