I check the data that FF writes into disk and I got:
```
{
"host": "twitter.com",
"value": "en",
"path": "/",
"name": "lang",
"originAttributes": {
"firstPartyDomain": "",
"geckoViewSessionContextId": "",
"inIsolatedMozBrowser": false,
"partitionKey": "",
"privateBrowsingId": 0,
"userContextId": 1
},
"sameSite": 1,
"schemeMap": 2
},
{
"host": "twitter.com",
"value": "en",
"path": "/",
"name": "lang",
"originAttributes": {
"firstPartyDomain": "",
"geckoViewSessionContextId": "",
"inIsolatedMozBrowser": false,
"partitionKey": "",
"privateBrowsingId": 0,
"userContextId": 0
},
"sameSite": 1,
"schemeMap": 2
},
{
"host": ".wikipedia.org",
"value": "DE:BE:Berlin:52.54:13.42:v4",
"path": "/",
"name": "GeoIP",
"secure": true,
"originAttributes": {
"firstPartyDomain": "",
"geckoViewSessionContextId": "",
"inIsolatedMozBrowser": false,
"partitionKey": "",
"privateBrowsingId": 0,
"userContextId": 2
},
"sameSite": 1,
"schemeMap": 2
},
{
"host": ".wikipedia.org",
"value": "DE:BE:Berlin:52.54:13.42:v4",
"path": "/",
"name": "GeoIP",
"secure": true,
"originAttributes": {
"firstPartyDomain": "",
"geckoViewSessionContextId": "",
"inIsolatedMozBrowser": false,
"partitionKey": "",
"privateBrowsingId": 0,
"userContextId": 0
},
"sameSite": 1,
"schemeMap": 2
},
```
So, it seems that the userContextId is propagated correctly and maybe the issue happens when we restore pages from these data?
Bug 1665942 Comment 8 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I check [the data that FF writes into the disk](https://searchfox.org/mozilla-central/rev/b58ca45005fe02077c92779483d1b60e9a49687c/browser/components/sessionstore/SessionWorker.js#164-165) and I got: ``` { "host": "twitter.com", "value": "en", "path": "/", "name": "lang", "originAttributes": { "firstPartyDomain": "", "geckoViewSessionContextId": "", "inIsolatedMozBrowser": false, "partitionKey": "", "privateBrowsingId": 0, "userContextId": 1 }, "sameSite": 1, "schemeMap": 2 }, { "host": "twitter.com", "value": "en", "path": "/", "name": "lang", "originAttributes": { "firstPartyDomain": "", "geckoViewSessionContextId": "", "inIsolatedMozBrowser": false, "partitionKey": "", "privateBrowsingId": 0, "userContextId": 0 }, "sameSite": 1, "schemeMap": 2 }, { "host": ".wikipedia.org", "value": "DE:BE:Berlin:52.54:13.42:v4", "path": "/", "name": "GeoIP", "secure": true, "originAttributes": { "firstPartyDomain": "", "geckoViewSessionContextId": "", "inIsolatedMozBrowser": false, "partitionKey": "", "privateBrowsingId": 0, "userContextId": 2 }, "sameSite": 1, "schemeMap": 2 }, { "host": ".wikipedia.org", "value": "DE:BE:Berlin:52.54:13.42:v4", "path": "/", "name": "GeoIP", "secure": true, "originAttributes": { "firstPartyDomain": "", "geckoViewSessionContextId": "", "inIsolatedMozBrowser": false, "partitionKey": "", "privateBrowsingId": 0, "userContextId": 0 }, "sameSite": 1, "schemeMap": 2 }, ``` So, it seems that the userContextId is propagated correctly and maybe the issue happens when we restore pages from these data?