diff --git a/toolkit/components/console/hudservice/tests/browser/browser_warn_user_about_replaced_api.js b/toolkit/components/console/hudservice/tests/browser/browser_warn_user_about_replaced_api.js index b9517a826a3b..64ed38e42935 100644 --- a/toolkit/components/console/hudservice/tests/browser/browser_warn_user_about_replaced_api.js +++ b/toolkit/components/console/hudservice/tests/browser/browser_warn_user_about_replaced_api.js @@ -57,6 +57,7 @@ function testOpenWebConsole() hudId = HUDService.displaysIndex()[0]; hud = HUDService.getHeadsUpDisplay(hudId); + HUDService.logWarningAboutReplacedAPI(hudId); testWarning(); } diff --git a/toolkit/components/console/hudservice/tests/browser/test-console-replaced-api.html b/toolkit/components/console/hudservice/tests/browser/test-console-replaced-api.html index 132df9c04eba..30a10aff654b 100644 --- a/toolkit/components/console/hudservice/tests/browser/test-console-replaced-api.html +++ b/toolkit/components/console/hudservice/tests/browser/test-console-replaced-api.html @@ -1,11 +1,15 @@