forked from mirrors/gecko-dev
		
	|  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 | ||
|---|---|---|
| .. | ||
| browser.ini | ||
| browser_interventions.js | ||
| browser_picks.js | ||
| browser_searchTips.js | ||
| browser_searchTips_interaction.js | ||
| browser_selection.js | ||
| browser_updateAsk.js | ||
| browser_updateRefresh.js | ||
| browser_updateRestart.js | ||
| browser_updateWeb.js | ||
| head.js | ||
| README.txt | ||
If you're running these tests and you get an error like this: FAIL head.js import threw an exception - Error opening input stream (invalid filename?): chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js Then run `mach test toolkit/mozapps/update/tests/browser` first. You can stop mach as soon as it starts the first test, but this is necessary so that mach builds the update tests in your objdir.