You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original blogpost for this toolkit explains how the PageState is encoded in UpdateTabNavigation commands. However, I've been unable to successfully decode a session file as specified, so the encoding rules seems to have changed since then.
Does anyone know if the new encoding format is documented anywhere, or of any projects that have successfully implemented a decoder for PageState?
The text was updated successfully, but these errors were encountered:
One observation is that the original URL seems to start around byte 213 of the particular PageState I'm trying to decode, and not at the very beginning as I would expect based on the definition of the PageState in Chromium source.
So maybe MojoPageState serializes with a header that contains more than just the PageObject's size. Or I'm working with the entirely wrong slice of the SessionCommand, though everything I parsed before and after PageState looks correct.
Hi Joe, the new format is indeed completely different to the one in that (now very old) blog post. It looks to be using the Mojo/Mojam format which from continued poking around the Chromium source may well be customized per-platform. You can skip past it in the Commands because it is given a length, but I haven't been able to reliably decode it yet.
It is on the list of things I'd like to get implemented when time allows though - there are other, lower-hanging fruit that might take precedence though.
The original blogpost for this toolkit explains how the PageState is encoded in UpdateTabNavigation commands. However, I've been unable to successfully decode a session file as specified, so the encoding rules seems to have changed since then.
Does anyone know if the new encoding format is documented anywhere, or of any projects that have successfully implemented a decoder for PageState?
The text was updated successfully, but these errors were encountered: