зеркало из https://github.com/mozilla/gecko-dev.git
ec23c3ca31
BrowserTestUtils.promiseAlertDialog and friends account for commonDialog.xhtml, but not other dialogs which go through gDialogBox. This fixes that by adding a inWindowDialog option to promiseAlertDialog. I don't like this solution very much - it requires all of these dialogs to fire the event themselves. An alternative might be putting this code in some file which these all include, but given how small the code is that feels like overkill. Alternatives welcome. Differential Revision: https://phabricator.services.mozilla.com/D109674 |
||
---|---|---|
.. | ||
docs | ||
test | ||
UITour-lib.js | ||
UITour.jsm | ||
UITourChild.jsm | ||
UITourParent.jsm | ||
moz.build |