This adds tab groups and their state data to the session store. For any tabs that are in tab groups, this patch adds the group ID into the tab state. This change has a number of limitations that will be addressed in future bugs. Most notably, tab groups will not be restored from session state -- this change just records the tab group state data. Another important limitation is that when users remove tab groups, they will no longer appear in the session store. This patch is only intended to lay the initial groundwork for storing tab group data in the session store. Differential Revision: https://phabricator.services.mozilla.com/D224348
44 lines
1.3 KiB
Python
44 lines
1.3 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
|
|
BROWSER_CHROME_MANIFESTS += ["test/browser.toml", "test/browser_oldformat.toml"]
|
|
MARIONETTE_MANIFESTS += ["test/marionette/manifest.toml"]
|
|
|
|
JAR_MANIFESTS += ["jar.mn"]
|
|
|
|
EXTRA_JS_MODULES.sessionstore = [
|
|
"GlobalState.sys.mjs",
|
|
"RecentlyClosedTabsAndWindowsMenuUtils.sys.mjs",
|
|
"RunState.sys.mjs",
|
|
"SessionCookies.sys.mjs",
|
|
"SessionFile.sys.mjs",
|
|
"SessionLogger.sys.mjs",
|
|
"SessionMigration.sys.mjs",
|
|
"SessionSaver.sys.mjs",
|
|
"SessionStartup.sys.mjs",
|
|
"SessionStore.sys.mjs",
|
|
"SessionStoreFunctions.sys.mjs",
|
|
"SessionWriter.sys.mjs",
|
|
"StartupPerformance.sys.mjs",
|
|
"TabAttributes.sys.mjs",
|
|
"TabGroupState.sys.mjs",
|
|
"TabState.sys.mjs",
|
|
"TabStateCache.sys.mjs",
|
|
"TabStateFlusher.sys.mjs",
|
|
]
|
|
|
|
XPCOM_MANIFESTS += [
|
|
"components.conf",
|
|
]
|
|
|
|
TESTING_JS_MODULES += [
|
|
"test/SessionStoreTestUtils.sys.mjs",
|
|
]
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Firefox", "Session Restore")
|