Yes, looks like there's some issue with the `fromIdx` coming from the platform side. The minimum integer value is forwarded to the GV layer and Java's min integer is set to be the size of the array (for the result of splice operation). I'll put up a patch to backout enabling partial updates, and try to fix it next week (will be out on Fri, Jan 17).
Bug 1942196 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Yes, looks like there's some issue with the `fromIdx` coming from the platform side possibly due to [the old index here](https://searchfox.org/mozilla-central/rev/b19c379ba7b6d4f25af090a66cec3facf8153ee3/mobile/shared/modules/geckoview/GeckoViewSessionStore.sys.mjs#51,94). The minimum integer value is forwarded to the GV layer and Java's min integer is set to be the size of the array (for the result of splice operation). I'll put up a patch to backout enabling partial updates, and try to fix it next week (will be out on Fri, Jan 17).
Yes, looks like there's some issue with the `fromIdx` coming from the platform side possibly due to the old index used in `OnHistoryNewEntry` ([some code refs from the codepath](https://searchfox.org/mozilla-central/rev/b19c379ba7b6d4f25af090a66cec3facf8153ee3/mobile/shared/modules/geckoview/GeckoViewSessionStore.sys.mjs#51,82,94,218-221)). The minimum integer value is forwarded to the GV layer and Java's min integer is set to be the size of the array (for the result of splice operation). I'll put up a patch to backout enabling partial updates, and try to fix it next week (will be out on Fri, Jan 17).