зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1603012 - Fix intermittent failure on browser_console_context_menu_entries. r=Honza.
The error message isn't really explicit, but wrapping the call to toggleBrowserConsole in a try/catch block seems to remove the test failure. Differential Revision: https://phabricator.services.mozilla.com/D59657 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
cf8c71f680
Коммит
597ca0a67b
|
@ -114,7 +114,11 @@ add_task(async function() {
|
|||
|
||||
await hideContextMenu(hud);
|
||||
// Close the browser console.
|
||||
try {
|
||||
await BrowserConsoleManager.toggleBrowserConsole();
|
||||
} catch (e) {
|
||||
console.warn("Error when closing Browser Console", e);
|
||||
}
|
||||
});
|
||||
|
||||
function addPrefBasedEntries(expectedEntries) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче