Wire up the history tracking delegate for GeckoView #1238
Conversation
|
Woo! Awesome. :) If this is in mozilla-central already... will updating |
34d3fa5
to
163924a
Codecov Report
@@ Coverage Diff @@
## master #1238 +/- ##
=========================================
Coverage ? 82.46%
Complexity ? 1632
=========================================
Files ? 197
Lines ? 6508
Branches ? 1123
=========================================
Hits ? 5367
Misses ? 637
Partials ? 504
Continue to review full report at Codecov.
|
|
@mozilla-mobile/act This is ready for re-review, now that the GV API has landed! Please take a look at how I'm using From talking to @grigoryk today, it sounds like this is fine for now, but we'll want to agree on a story for scopes eventually (#1347). @thomcc might have insights here, too. |
|
As noted before, we're likely going to change the scoping story, but that's fine for now. This can land with a few changes. For bonus points, I think you should be able to add tests for this. See |
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Outdated
Show resolved
Hide resolved
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Outdated
Show resolved
Hide resolved
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Outdated
Show resolved
Hide resolved
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Outdated
Show resolved
Hide resolved
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Outdated
Show resolved
Hide resolved
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Outdated
Show resolved
Hide resolved
.../main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
Show resolved
Hide resolved
4b821fa
to
86374e1
|
@grigoryk Whew! I think this is ready for re-review. Changes since last time:
|
|
Looks like the |
|
A few small nits, but this look good to me! Thanks! |
...t/java/mozilla/components/browser/engine/gecko/GeckoEngineSessionTest.kt
Outdated
Show resolved
Hide resolved
...java/mozilla/components/browser/storage/memory/InMemoryHistoryStorage.kt
Outdated
Show resolved
Hide resolved
|
This landed! |
I tested this with my local GeckoView build, the sample browser, and @grigoryk's in-memory history storage, and it works!🎉 There's also a commit that points the Nightly x86 target to m-c instead, for folks to try out if they'd like. 😄