gecko-dev/browser/components/pioneer
Sean Feng ccdcd7603f Bug 1200896 - Force frame flushes when needed to fix browser pioneer test r=rhelmer
When a modal dialog is cancelled, the inertness for other elements
is reverted. However, in order to have the new state (non-inert)
effective, Firefox needs to do a frame flush. This flush is taken
place when it's really needed.

In browser_pioneer_us.js, we have some usage of some buttons when
the flush hasn't taken place yet, so the test fails because the
buttons are not clickable. To fix the test, we add a
getBoundingClientRect() call to force frame flushes to the
corresponding buttons.

Differential Revision: https://phabricator.services.mozilla.com/D86877
2020-08-14 06:15:06 +00:00
..
content Backed out changeset 4a85d32ba77f (bug 1658829) for browser_pioneer_ui.js failures CLOSED TREE 2020-08-14 23:32:06 +03:00
schemas Backed out changeset 4a85d32ba77f (bug 1658829) for browser_pioneer_ui.js failures CLOSED TREE 2020-08-14 23:32:06 +03:00
test/browser Bug 1200896 - Force frame flushes when needed to fix browser pioneer test r=rhelmer 2020-08-14 06:15:06 +00:00
jar.mn
moz.build Backed out changeset 4a85d32ba77f (bug 1658829) for browser_pioneer_ui.js failures CLOSED TREE 2020-08-14 23:32:06 +03:00