Theo W3C, chúng là giống nhau. Tuy nhiên, bạn nên luôn ưu tiên sử dụng window.location thay vì document.location.