Indeed, there are differences how this object is handled in Gecko and WebKit based browsers.
https://developer.mozilla.org/en-US/docs/Web/API/Window.location