зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1446571: Follow-up: Fix tests that try to initialize AddonTestUtils twice. r=bustage DONTBUILD
MozReview-Commit-ID: Thu6IrAx1Z
This commit is contained in:
Родитель
140cc17b5d
Коммит
6620eb80a1
|
@ -225,6 +225,9 @@ var AddonTestUtils = {
|
|||
},
|
||||
|
||||
init(testScope) {
|
||||
if (this.testScope === testScope) {
|
||||
return;
|
||||
}
|
||||
this.testScope = testScope;
|
||||
|
||||
// Get the profile directory for tests to use.
|
||||
|
|
Загрузка…
Ссылка в новой задаче