From 9e3c08db40b8916968b9f30096c7be3f00ce9647 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:44:51 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- devtools/docs/contributor/tools/storage/crud-cookie.svg | 6 ++++++ devtools/docs/contributor/tools/storage/flow-fission-off.svg | 6 ++++++ devtools/docs/contributor/tools/storage/flow-fission-on.svg | 6 ++++++ devtools/docs/contributor/tools/storage/legacy.svg | 6 ++++++ .../tools/storage/navigation-fission-on-target-switching-off.svg | 6 ++++++ .../tools/storage/navigation-fission-on-target-switching-on.svg | 6 ++++++ devtools/docs/contributor/tools/storage/resources.svg | 6 ++++++ 7 files changed, 42 insertions(+) create mode 100644 devtools/docs/contributor/tools/storage/crud-cookie.svg create mode 100644 devtools/docs/contributor/tools/storage/flow-fission-off.svg create mode 100644 devtools/docs/contributor/tools/storage/flow-fission-on.svg create mode 100644 devtools/docs/contributor/tools/storage/legacy.svg create mode 100644 devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-off.svg create mode 100644 devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-on.svg create mode 100644 devtools/docs/contributor/tools/storage/resources.svg (limited to 'devtools/docs/contributor/tools/storage') diff --git a/devtools/docs/contributor/tools/storage/crud-cookie.svg b/devtools/docs/contributor/tools/storage/crud-cookie.svg new file mode 100644 index 0000000000..5a4671a0df --- /dev/null +++ b/devtools/docs/contributor/tools/storage/crud-cookie.svg @@ -0,0 +1,6 @@ + + + +StorageActorMock(parent p.)StorageUIuser clicks the"add cookie" buttonCookies(actor)CookieWatcher
onStoresUpdate
onStoresUpdate
throttled
throttled
emit("single-store-update")
emit("single-sto...
onStoreUpdate
onStoreUpdate
one event per update
one event per update
addItem
addItem
getWindowFromHost
getWindowFromHost
window mock
window mock
Services
cookies.add
cookies.add
onCookieChanged
onCookieChanged
update("added")
update("added")
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/devtools/docs/contributor/tools/storage/flow-fission-off.svg b/devtools/docs/contributor/tools/storage/flow-fission-off.svg new file mode 100644 index 0000000000..3f1c2475d8 --- /dev/null +++ b/devtools/docs/contributor/tools/storage/flow-fission-off.svg @@ -0,0 +1,6 @@ + + + +StorageActorMock(parent p.)StorageUIopen toolboxResourceCommandwatchTargets
(we only listen to onAvailable)
(we only listen to onAvailable)
Fission OFF
Fission OFF
watchResources
watchResources
TargetCommand
onTargetAvailable
onTargetAvailable
onResourceListAvailable
onResourceListAv...
parent storage types: 1 front
content storage types: 1 front per target
parent storage types: 1 front...
Cookies(actor)
onWindowReady
onWindowReady
update("added")
update("added")
CookieWatcher
onStoresUpdate
onStoresUpdate
throttled
throttled
new remote target
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:...
StorageActorMock(content p.)LocalStorage(actor)
onWindowReady
onWindowReady
update("added")
update("added")
LocalStorageWatcher
onStoresUpdate
onStoresUpdate
throttled
throttled
emit("single-store-update")
emit("single-sto...
one event per update
one event per update
new remote target
Note: sessionStorage and Cache do the same things.
Note: sessionStorage and Cache do the same things.
onStoreUpdate
onStoreUpdate
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/devtools/docs/contributor/tools/storage/flow-fission-on.svg b/devtools/docs/contributor/tools/storage/flow-fission-on.svg new file mode 100644 index 0000000000..24cd56aaf1 --- /dev/null +++ b/devtools/docs/contributor/tools/storage/flow-fission-on.svg @@ -0,0 +1,6 @@ + + + +ParentStorageMockStorageUIopen toolboxResourceCommandwatchTargets
(we only listen to onAvailable)
(we only listen to onAvailable)
Fission ON
Fission ON
watchResources
watchResources
TargetCommand
onTargetAvailable
onTargetAvailable
onResourceListAvailable
onResourceListAv...
parent storage types: 1 front
content storage types: 1 front per target
parent storage types: 1 front...
onResourceListAvailable
onResourceListAv...
new remote target
only content storage types
only content storage types
Cookies(actor)
onWindowReady
onWindowReady
update("added")
update("added")
CookieWatcher
onStoresUpdate
onStoresUpdate
throttled
throttled
new remote target
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:...
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/devtools/docs/contributor/tools/storage/legacy.svg b/devtools/docs/contributor/tools/storage/legacy.svg new file mode 100644 index 0000000000..99df5ee72c --- /dev/null +++ b/devtools/docs/contributor/tools/storage/legacy.svg @@ -0,0 +1,6 @@ + + + +
localStorage
localStorage
sessionStorage
sessionStorage
Cache
Cache
indexedDB
indexedDB
cookies
cookies
Actor
Actor
Storage
Storage
storageActor
storageActor
childActorPool
childActorPool
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-off.svg b/devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-off.svg new file mode 100644 index 0000000000..6899f5d8b4 --- /dev/null +++ b/devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-off.svg @@ -0,0 +1,6 @@ + + + +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 OFF
Target switching OFF
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 both content and parent process storage types (their watcher's `watch` method is called) when navigation.

Key points:...
parent storage types: 1 front
content storage types: 1 front per target
parent storage types: 1 front...
onResourceListAvailable
onResourceListAv...
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-on.svg b/devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-on.svg new file mode 100644 index 0000000000..be0381741d --- /dev/null +++ b/devtools/docs/contributor/tools/storage/navigation-fission-on-target-switching-on.svg @@ -0,0 +1,6 @@ + + + +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
\ No newline at end of file diff --git a/devtools/docs/contributor/tools/storage/resources.svg b/devtools/docs/contributor/tools/storage/resources.svg new file mode 100644 index 0000000000..5be2517e08 --- /dev/null +++ b/devtools/docs/contributor/tools/storage/resources.svg @@ -0,0 +1,6 @@ + + + +
localStorage
localStorage
sessionStorage
sessionStorage
Cache
Cache
indexedDB
indexedDB
cookies
cookies
Actor
Actor
StorageActorMock
(content process)
StorageActorMock...
StorageActorMock
(parent process)
StorageActorMock...
In legacy, an actual Storage actor is used
In legacy, an actual Stora...
storageActor
storageActor
storageActor
storageActor
ContentProcessStorage
(watcher)
ContentProcessStorage...
ParentProcessStorage
(watcher)
ParentProcessStorage...
LocalStorageWatcher
LocalStorageWatcher
CookieWatcher
CookieWatcher
actor
actor
In legacy, an actual Storage actor is used
In legacy, an actual Stora...
actor
actor
SessionStorageWatcher and CacheWatcher also exist
SessionStorageWatcher and...
IndexedDBWatcher also exists
IndexedDBWatcher also exis...
This watcher emits fronts as resources
This watcher emits fronts...
This watcher emits fronts as resources
This watcher emits fronts...
Viewer does not support full SVG 1.1
\ No newline at end of file -- cgit v1.2.3