Commit 6d1363d9 authored by Sebastian Kaspari's avatar Sebastian Kaspari
Browse files

Issue #3616: (Merge day) browser-engine-gecko-nightly -> 70.

parent 12352d9d
......@@ -6,7 +6,7 @@ internal object GeckoVersions {
/**
* GeckoView Nightly Version.
*/
const val nightly_version = "69.0.20190708095055"
const val nightly_version = "70.0.20190711095112"
/**
* GeckoView Beta Version.
......
......@@ -84,7 +84,7 @@ class GeckoWebExtension(
}
val geckoSession = (session as GeckoEngineSession).geckoSession
geckoSession.setMessageDelegate(messageDelegate, name)
geckoSession.setMessageDelegate(nativeExtension, messageDelegate, name)
}
/**
......@@ -92,7 +92,7 @@ class GeckoWebExtension(
*/
override fun hasContentMessageHandler(session: EngineSession, name: String): Boolean {
val geckoSession = (session as GeckoEngineSession).geckoSession
return geckoSession.getMessageDelegate(name) != null
return geckoSession.getMessageDelegate(nativeExtension, name) != null
}
}
......
......@@ -86,7 +86,7 @@ class GeckoWebExtensionTest {
val extension = GeckoWebExtension("mozacTest", "url", true, nativeGeckoWebExt)
assertFalse(extension.hasContentMessageHandler(session, "mozacTest"))
extension.registerContentMessageHandler(session, "mozacTest", messageHandler)
verify(geckoSession).setMessageDelegate(messageDelegateCaptor.capture(), eq("mozacTest"))
verify(geckoSession).setMessageDelegate(eq(nativeGeckoWebExt), messageDelegateCaptor.capture(), eq("mozacTest"))
// Verify messages are forwarded to message handler and return value passed on
val message: Any = mock()
......
......@@ -12,6 +12,12 @@ permalink: /changelog/
* [Gecko](https://github.com/mozilla-mobile/android-components/blob/master/buildSrc/src/main/java/Gecko.kt)
* [Configuration](https://github.com/mozilla-mobile/android-components/blob/master/buildSrc/src/main/java/Config.kt)
* **browser-engine-gecko**, **browser-engine-gecko-beta**, **browser-engine-gecko-nightly**
* **Merge day!**
* `browser-engine-gecko-release`: GeckoView 68.0
* `browser-engine-gecko-beta`: GeckoView 69.0
* `browser-engine-gecko-nightly`: GeckoView 70.0
* **feature-media**
* Added `MediaNotificationFeature` - a feature implementation to show an ongoing notification (keeping the app process alive) while web content is playing media.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment