mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
21c9b13b76
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 |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |