зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1643928 - [1.0] Assert for extension IDs instead of comparing instances. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79158
This commit is contained in:
Родитель
39be65564e
Коммит
e888fdae80
|
@ -1619,7 +1619,7 @@ class WebExtensionTest : BaseSessionTest() {
|
|||
: GeckoResult<GeckoSession> {
|
||||
assertThat(details.url, endsWith("options.html"))
|
||||
assertEquals(details.active, true)
|
||||
assertEquals(optionsExtension!!, source)
|
||||
assertEquals(optionsExtension!!.id, source.id)
|
||||
tabsCreateResult.complete(null)
|
||||
return GeckoResult.fromValue(null)
|
||||
}
|
||||
|
@ -1648,7 +1648,7 @@ class WebExtensionTest : BaseSessionTest() {
|
|||
assertThat(
|
||||
source.metaData!!.optionsPageUrl,
|
||||
endsWith("options.html"))
|
||||
assertEquals(optionsExtension!!, source)
|
||||
assertEquals(optionsExtension!!.id, source.id)
|
||||
openOptionsPageResult.complete(null)
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче