* Add bare-bones GetSharedDictionaryUsageInfo * Add GetSharedDictionaryInfo() * Improve API, use isolation keys * Add documentation * Update docs/api/session.md Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> * Update shell/browser/api/electron_api_session.cc Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com> * Add tests * Implement feedback <3 * Improve tests * chore: lint * docs: add note about clearing cache in ses.clearData --------- Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com> Co-authored-by: alice <alice@makenotion.com>
1.1 KiB
1.1 KiB
SharedDictionaryInfo Object
matchstring - The matching path pattern for the dictionary which was declared in 'use-as-dictionary' response header'smatchoption.matchDestinationsstring[] - An array of matching destinations for the dictionary which was declared in 'use-as-dictionary' response header'smatch-destoption.idstring - The Id for the dictionary which was declared in 'use-as-dictionary' response header'sidoption.dictionaryUrlstring - URL of the dictionary.lastFetchTimeDate - The time of when the dictionary was received from the network layer.responseTimeDate - The time of when the dictionary was received from the server. For cached responses, this time could be "far" in the past.expirationDurationnumber - The expiration time for the dictionary which was declared in 'use-as-dictionary' response header'sexpiresoption in seconds.lastUsedTimeDate - The time when the dictionary was last used.sizenumber - The amount of bytes stored for this shared dictionary information object in Chromium's internal storage (usually Sqlite).hashstring - The sha256 hash of the dictionary binary.