Bug 1289571 - Set browser's userContextId before updateRemoteness in restoreTabContent. r=mikedeboer

--HG--
extra : rebase_source : 1406bf99fa1c03d8b99a7ede665736a72ee243f6
This commit is contained in:
Jonathan Hao 2016-07-28 23:54:00 +02:00
parent 904a5a0513
commit c80e63e7f2

View File

@ -3370,6 +3370,9 @@ var SessionStoreInternal = {
let uri = activePageData ? activePageData.url || null : null;
if (aLoadArguments) {
uri = aLoadArguments.uri;
if (aLoadArguments.userContextId) {
browser.setAttribute("usercontextid", aLoadArguments.userContextId);
}
}
// We have to mark this tab as restoring first, otherwise