Bug 1145049 - Fix browser_toolbar_webconsole_errors_count when run independently. r=bgrins

DeveloperToolbar.show now returns a promise.

This code was missed during the refactoring as it wasn't executed
because some previous test wasn't cleaning up correctly and the toolbar was still on.
This commit is contained in:
Alexandre Poirot 2015-04-18 09:39:07 +02:00
Родитель e5ed20f3c3
Коммит 8e70b1f251
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -28,7 +28,7 @@ function test() {
expectUncaughtException();
if (!DeveloperToolbar.visible) {
DeveloperToolbar.show(true, onOpenToolbar);
DeveloperToolbar.show(true).then(onOpenToolbar);
}
else {
onOpenToolbar();