Bug 647028 - Followup: Add comment. r=comment-only

--HG--
extra : rebase_source : ee50c484b7d7aa37345dc26ca749b39942cf7731
This commit is contained in:
Justin Lebar 2011-04-22 17:10:17 -04:00
Родитель 60a45108c1
Коммит bc99fe1a1c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -2855,7 +2855,9 @@ SessionStoreService.prototype = {
if (activeIndex >= tabData.entries.length)
activeIndex = tabData.entries.length - 1;
// Reset currentURI.
// Reset currentURI. This creates a new session history entry with a new
// doc identifier, so we need to explicitly save and restore the old doc
// identifier (corresponding to the SHEntry at activeIndex) below.
browser.webNavigation.setCurrentURI(this._getURIFromString("about:blank"));
// Attach data that will be restored on "load" event, after tab is restored.