зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e5ed20f3c3
Коммит
8e70b1f251
|
@ -28,7 +28,7 @@ function test() {
|
||||||
expectUncaughtException();
|
expectUncaughtException();
|
||||||
|
|
||||||
if (!DeveloperToolbar.visible) {
|
if (!DeveloperToolbar.visible) {
|
||||||
DeveloperToolbar.show(true, onOpenToolbar);
|
DeveloperToolbar.show(true).then(onOpenToolbar);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
onOpenToolbar();
|
onOpenToolbar();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче