зеркало из https://github.com/mozilla/gecko-dev.git
7e58d7d4e5
When restoring recently closed tabs during a browsing session, we can just pass the stored parentId as a parameter to addTab and be done with it. During startup however, we first need to update the parent tab IDs before being able to use it. At the moment, new tabs are always opened at the end of the tab list and cannot be resorted by the user, so child tabs always appear *after* their parent tabs in the tab list. However because we don't want to rely on this behaviour, we still need to collect a complete mapping between old and new tab IDs first before being able to update the stored parent tab IDs. Therefore we cannot use the usual method of passing in the parentId during tab creation and have to set it after the fact for this case. MozReview-Commit-ID: JT5YSkuOSZw --HG-- extra : rebase_source : 5487f05ed5fd99e12e4f33170688243b36da55e4 |
||
---|---|---|
.. | ||
build | ||
extensions | ||
AboutRedirector.js | ||
AddonUpdateService.js | ||
BlocklistPrompt.js | ||
BrowserCLH.js | ||
ColorPicker.js | ||
ContentDispatchChooser.js | ||
ContentPermissionPrompt.js | ||
DirectoryProvider.js | ||
FilePicker.js | ||
FxAccountsPush.js | ||
HelperAppDialog.js | ||
ImageBlockingPolicy.js | ||
LoginManagerPrompter.js | ||
MobileComponents.manifest | ||
NSSDialogService.js | ||
PersistentNotificationHandler.js | ||
PresentationDevicePrompt.js | ||
PresentationRequestUIGlue.js | ||
PromptService.js | ||
SessionStore.idl | ||
SessionStore.js | ||
SiteSpecificUserAgent.js | ||
Snippets.js | ||
TabSource.js | ||
XPIDialogService.js | ||
moz.build |