I'm not necessarily sure what you are looking for here ... but the internal implementation localStoragewill be browser specific. I would not expect both browsers to implement this function in the same way (like everyone else, implementation and performance will give each browser a different advantage).
If you are really interested, I suggest taking a source of Chromium and see how they realize things inside.
source
share