forked from mirrors/gecko-dev
Bug 1215723 introduced a mechanism whereby DataStorage data would be propagated to content processes to avoid the IPC calls involved in querying if hosts were HSTS. With a low number of content processes, this was a reasonable approach. However, with Fission and the proliferation of content processes, propagating changes in DataStorage data to every content process wakes up unrelated processes and is inefficient. This patch restores the behavior that nsISiteSecurityService and DataStorage is not available to content processes. Additionally, bug 1626076 made it possible to use DataStorage directly from the socket process. However, as of bug 1650356, this is no longer necessary, so this patch removes that behavior as well. Differential Revision: https://phabricator.services.mozilla.com/D118207
18 lines
873 B
C
18 lines
873 B
C
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
/* 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/. */
|
|
|
|
// This is the list of well-known PSM DataStorage classes that Gecko uses.
|
|
// These are key value data stores that are backed by a simple text-based
|
|
// storage in the profile directory.
|
|
//
|
|
// Please note that it is crucial for performance reasons for the number of
|
|
// these classes to remain low. If you need to add to this list, you may
|
|
// need to update the algorithm in DataStorage::SetCachedStorageEntries()
|
|
// to something faster.
|
|
|
|
DATA_STORAGE(AlternateServices)
|
|
DATA_STORAGE(ClientAuthRememberList)
|
|
DATA_STORAGE(SiteSecurityServiceState)
|