Bug 1882232 [wpt PR 44805] - [wdspec] add a test for contextCreated events on subcrib...
[gecko.git] / startupcache / nsIStartupCacheInfo.idl
blobd7fe0a71f7ac300a16528f1621ad98d494a9c1c7
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsISupports.idl"
9 /* NOTE: this interface is completely undesigned, not stable and likely to change */
10 [scriptable, builtinclass, uuid(a6b2f8b0-7438-11ea-bc55-0242ac130003)]
11 interface nsIStartupCacheInfo : nsISupports
13 /**
14 * Returns true if the startup cache will not load from the cache from disk.
15 * This can happen if the cache file is corrupt or has been invalidated.
17 readonly attribute boolean IgnoreDiskCache;
19 /**
20 * Returns true if during initialization of the startup cache an existing
21 * cache file was found on disk. This does NOT indicate if the file loaded
22 * successfully.
24 readonly attribute boolean FoundDiskCacheOnInit;
26 /**
27 * Returns true once the current cache file as been written to disk at least
28 * once. If the cache was loaded from disk and never changed this may never
29 * be set to true.
31 readonly attribute boolean WroteToDiskCache;
33 /**
34 * The full path and filename of the startup cache file that will be stored on
35 * disk.
37 readonly attribute AString DiskCachePath;