StorageActorMock(parent p.)StorageUIResourceCommand
Fission ON
Fission ON
TargetCommandCookies(actor)
onWindowDestroyed
onWindowDestroyed
update("deleted")
update("deleted")
CookieWatcher
onStoresUpdate
onStoresUpdate
throttled
throttled
navigate
emit("single-store-update")
emit("single-sto...
onStoreUpdate
onStoreUpdate
one event per update
one event per update
Note: IndexedDB does the same things.
Note: IndexedDB does the same things.

Notes:

  • Storage resources are actually fronts.
  • Content process resources are: localStorage, sessionStorage and Cache
  • Parent process resources are: cookies and IndexedDB

Notes:...
Target switching ON
Target switching ON
navigate
onTargetDestroyed
onTargetDestroyed
onTargetAvailable
onTargetAvailable

Key points:

  • Content process storage types handle deletion in the UI client callback for `onTargetDestroyed`.
  • Parent process storage types don't have a target front, so we need to send `delete` updates.
  • New actors are created for content process storage types (their watcher's `watch` method is called) when navigation.
  • New actors are created for parent process storage types after observing the event `window-global-created`. We delay sending these as resources until `target-available-form` has been triggered and the client has then processed onTargetAvailable.

Key points:...
parent storage types: 1 front
content storage types: 1 front per target
parent storage types: 1 fron...
onResourceListAvailable
onResourceListAv...
window-global-created
schedule spawning a new actor as a resource and send onAvailable after onTargetAvailable has been sent
schedule spawning a...
Viewer does not support full SVG 1.1