Skip to content

Commit

Permalink
Bug 1643928 - [1.0] Assert for extension IDs instead of comparing ins…
Browse files Browse the repository at this point in the history
…tances. r=geckoview-reviewers,agi

Differential Revision: https://phabricator.services.mozilla.com/D79158
  • Loading branch information
Eugen Sawin committed Jun 10, 2020
1 parent 740fa75 commit 09e831f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 09e831f

Please sign in to comment.