/* 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 key is used for coalescing and lookup of preloading or regular * speculative loads. It consists of: * - the resource type, which is the value of the 'as' attribute * - the URI of the resource * - set of attributes that is common to all resource types * - resource-type-specific attributes that we use to distinguish loads that has * to be treated separately, some of these attributes may remain at their * default values
*/ class PreloadHashKey : public nsURIHashKey { public: enumclass ResourceType : uint8_t { NONE, SCRIPT, STYLE, IMAGE, FONT, FETCH };
using KeyType = const PreloadHashKey&; using KeyTypePointer = const PreloadHashKey*;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.