Bug 867142 - Remove browser.__SS_restoreState and use a WeakMap instead; r=yoric