gecko-dev/docshell
Boris Zbarsky 21c9b13b76 Bug 1422334. replaceState should update all the URI state for the entry being replaced. r=smaug
If we don't update the resultPrincipalURI, then things that examine it
(e.g. Location APIs and the URL bar) will show the wrong (pre-replaceState) URL.
I believe there is no effective difference between setting the result principal
URI to null and setting it to aNewURI here: the ultimate consumer of it is
NS_GetFinalChannelURI, which will fall back to the originalURI if it's null, and
in this case the originalURI is aNewURI.

Differential Revision: https://phabricator.services.mozilla.com/D41788

--HG--
extra : moz-landing-system : lando
2019-08-14 19:29:49 +00:00
..
base Bug 1422334. replaceState should update all the URI state for the entry being replaced. r=smaug 2019-08-14 19:29:49 +00:00
build Bug 1553498 - Inserts an empty page for about:certviewer and redirects to it when the user put that URL in the browser. r=johannh,smaug 2019-05-23 22:12:30 +00:00
resources/content Bug 1561435 - Format docshell/, a=automatic-formatting 2019-07-05 09:59:46 +02:00
shistory Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-14 06:38:47 +00:00
test Bug 1422334. replaceState should update all the URI state for the entry being replaced. r=smaug 2019-08-14 19:29:49 +00:00
moz.build Bug 1529088 - Hold the HTML-based about:config to Nightly until we get Product sign-off. r=florian,paolo 2019-02-27 21:54:57 +00:00