parsek-cdp 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- parsek_cdp/__init__.py +55 -0
- parsek_cdp/_logging.py +49 -0
- parsek_cdp/cdp/__init__.py +247 -0
- parsek_cdp/cdp/accessibility/__init__.py +15 -0
- parsek_cdp/cdp/accessibility/events.py +35 -0
- parsek_cdp/cdp/accessibility/functions.py +202 -0
- parsek_cdp/cdp/accessibility/types.py +235 -0
- parsek_cdp/cdp/animation/__init__.py +15 -0
- parsek_cdp/cdp/animation/events.py +52 -0
- parsek_cdp/cdp/animation/functions.py +140 -0
- parsek_cdp/cdp/animation/types.py +113 -0
- parsek_cdp/cdp/audits/__init__.py +15 -0
- parsek_cdp/cdp/audits/events.py +21 -0
- parsek_cdp/cdp/audits/functions.py +95 -0
- parsek_cdp/cdp/audits/types.py +1051 -0
- parsek_cdp/cdp/autofill/__init__.py +15 -0
- parsek_cdp/cdp/autofill/events.py +27 -0
- parsek_cdp/cdp/autofill/functions.py +64 -0
- parsek_cdp/cdp/autofill/types.py +108 -0
- parsek_cdp/cdp/backgroundservice/__init__.py +15 -0
- parsek_cdp/cdp/backgroundservice/events.py +40 -0
- parsek_cdp/cdp/backgroundservice/functions.py +59 -0
- parsek_cdp/cdp/backgroundservice/types.py +63 -0
- parsek_cdp/cdp/bluetoothemulation/__init__.py +15 -0
- parsek_cdp/cdp/bluetoothemulation/events.py +70 -0
- parsek_cdp/cdp/bluetoothemulation/functions.py +247 -0
- parsek_cdp/cdp/bluetoothemulation/types.py +120 -0
- parsek_cdp/cdp/browser/__init__.py +15 -0
- parsek_cdp/cdp/browser/events.py +46 -0
- parsek_cdp/cdp/browser/functions.py +350 -0
- parsek_cdp/cdp/browser/types.py +158 -0
- parsek_cdp/cdp/cachestorage/__init__.py +15 -0
- parsek_cdp/cdp/cachestorage/events.py +13 -0
- parsek_cdp/cdp/cachestorage/functions.py +126 -0
- parsek_cdp/cdp/cachestorage/types.py +89 -0
- parsek_cdp/cdp/cast/__init__.py +15 -0
- parsek_cdp/cdp/cast/events.py +38 -0
- parsek_cdp/cdp/cast/functions.py +77 -0
- parsek_cdp/cdp/cast/types.py +23 -0
- parsek_cdp/cdp/console/__init__.py +15 -0
- parsek_cdp/cdp/console/events.py +22 -0
- parsek_cdp/cdp/console/functions.py +36 -0
- parsek_cdp/cdp/console/types.py +30 -0
- parsek_cdp/cdp/css/__init__.py +15 -0
- parsek_cdp/cdp/css/events.py +79 -0
- parsek_cdp/cdp/css/functions.py +788 -0
- parsek_cdp/cdp/css/types.py +742 -0
- parsek_cdp/cdp/debugger/__init__.py +15 -0
- parsek_cdp/cdp/debugger/events.py +164 -0
- parsek_cdp/cdp/debugger/functions.py +663 -0
- parsek_cdp/cdp/debugger/types.py +171 -0
- parsek_cdp/cdp/deviceaccess/__init__.py +15 -0
- parsek_cdp/cdp/deviceaccess/events.py +30 -0
- parsek_cdp/cdp/deviceaccess/functions.py +54 -0
- parsek_cdp/cdp/deviceaccess/types.py +28 -0
- parsek_cdp/cdp/deviceorientation/__init__.py +15 -0
- parsek_cdp/cdp/deviceorientation/events.py +13 -0
- parsek_cdp/cdp/deviceorientation/functions.py +35 -0
- parsek_cdp/cdp/deviceorientation/types.py +10 -0
- parsek_cdp/cdp/dom/__init__.py +15 -0
- parsek_cdp/cdp/dom/events.py +228 -0
- parsek_cdp/cdp/dom/functions.py +1033 -0
- parsek_cdp/cdp/dom/types.py +293 -0
- parsek_cdp/cdp/domdebugger/__init__.py +15 -0
- parsek_cdp/cdp/domdebugger/events.py +13 -0
- parsek_cdp/cdp/domdebugger/functions.py +155 -0
- parsek_cdp/cdp/domdebugger/types.py +57 -0
- parsek_cdp/cdp/domsnapshot/__init__.py +15 -0
- parsek_cdp/cdp/domsnapshot/events.py +13 -0
- parsek_cdp/cdp/domsnapshot/functions.py +111 -0
- parsek_cdp/cdp/domsnapshot/types.py +312 -0
- parsek_cdp/cdp/domstorage/__init__.py +15 -0
- parsek_cdp/cdp/domstorage/events.py +60 -0
- parsek_cdp/cdp/domstorage/functions.py +79 -0
- parsek_cdp/cdp/domstorage/types.py +30 -0
- parsek_cdp/cdp/emulation/__init__.py +15 -0
- parsek_cdp/cdp/emulation/events.py +17 -0
- parsek_cdp/cdp/emulation/functions.py +688 -0
- parsek_cdp/cdp/emulation/types.py +305 -0
- parsek_cdp/cdp/eventbreakpoints/__init__.py +15 -0
- parsek_cdp/cdp/eventbreakpoints/events.py +13 -0
- parsek_cdp/cdp/eventbreakpoints/functions.py +41 -0
- parsek_cdp/cdp/eventbreakpoints/types.py +10 -0
- parsek_cdp/cdp/extensions/__init__.py +15 -0
- parsek_cdp/cdp/extensions/events.py +13 -0
- parsek_cdp/cdp/extensions/functions.py +118 -0
- parsek_cdp/cdp/extensions/types.py +19 -0
- parsek_cdp/cdp/fedcm/__init__.py +15 -0
- parsek_cdp/cdp/fedcm/events.py +45 -0
- parsek_cdp/cdp/fedcm/functions.py +93 -0
- parsek_cdp/cdp/fedcm/types.py +72 -0
- parsek_cdp/cdp/fetch/__init__.py +15 -0
- parsek_cdp/cdp/fetch/events.py +82 -0
- parsek_cdp/cdp/fetch/functions.py +215 -0
- parsek_cdp/cdp/fetch/types.py +81 -0
- parsek_cdp/cdp/filesystem/__init__.py +15 -0
- parsek_cdp/cdp/filesystem/events.py +13 -0
- parsek_cdp/cdp/filesystem/functions.py +36 -0
- parsek_cdp/cdp/filesystem/types.py +54 -0
- parsek_cdp/cdp/headlessexperimental/__init__.py +15 -0
- parsek_cdp/cdp/headlessexperimental/events.py +13 -0
- parsek_cdp/cdp/headlessexperimental/functions.py +77 -0
- parsek_cdp/cdp/headlessexperimental/types.py +24 -0
- parsek_cdp/cdp/heapprofiler/__init__.py +15 -0
- parsek_cdp/cdp/heapprofiler/events.py +65 -0
- parsek_cdp/cdp/heapprofiler/functions.py +193 -0
- parsek_cdp/cdp/heapprofiler/types.py +57 -0
- parsek_cdp/cdp/indexeddb/__init__.py +15 -0
- parsek_cdp/cdp/indexeddb/events.py +13 -0
- parsek_cdp/cdp/indexeddb/functions.py +232 -0
- parsek_cdp/cdp/indexeddb/types.py +120 -0
- parsek_cdp/cdp/input/__init__.py +15 -0
- parsek_cdp/cdp/input/events.py +25 -0
- parsek_cdp/cdp/input/functions.py +361 -0
- parsek_cdp/cdp/input/types.py +87 -0
- parsek_cdp/cdp/inspector/__init__.py +15 -0
- parsek_cdp/cdp/inspector/events.py +41 -0
- parsek_cdp/cdp/inspector/functions.py +27 -0
- parsek_cdp/cdp/inspector/types.py +10 -0
- parsek_cdp/cdp/io/__init__.py +15 -0
- parsek_cdp/cdp/io/events.py +13 -0
- parsek_cdp/cdp/io/functions.py +77 -0
- parsek_cdp/cdp/io/types.py +13 -0
- parsek_cdp/cdp/layertree/__init__.py +15 -0
- parsek_cdp/cdp/layertree/events.py +36 -0
- parsek_cdp/cdp/layertree/functions.py +178 -0
- parsek_cdp/cdp/layertree/types.py +104 -0
- parsek_cdp/cdp/log/__init__.py +15 -0
- parsek_cdp/cdp/log/events.py +22 -0
- parsek_cdp/cdp/log/functions.py +54 -0
- parsek_cdp/cdp/log/types.py +57 -0
- parsek_cdp/cdp/media/__init__.py +15 -0
- parsek_cdp/cdp/media/events.py +87 -0
- parsek_cdp/cdp/media/functions.py +27 -0
- parsek_cdp/cdp/media/types.py +101 -0
- parsek_cdp/cdp/memory/__init__.py +15 -0
- parsek_cdp/cdp/memory/events.py +13 -0
- parsek_cdp/cdp/memory/functions.py +164 -0
- parsek_cdp/cdp/memory/types.py +71 -0
- parsek_cdp/cdp/mixins/__init__.py +21 -0
- parsek_cdp/cdp/mixins/datatype.py +123 -0
- parsek_cdp/cdp/mixins/event.py +78 -0
- parsek_cdp/cdp/mixins/namespace.py +31 -0
- parsek_cdp/cdp/network/__init__.py +15 -0
- parsek_cdp/cdp/network/events.py +726 -0
- parsek_cdp/cdp/network/functions.py +734 -0
- parsek_cdp/cdp/network/types.py +1247 -0
- parsek_cdp/cdp/overlay/__init__.py +15 -0
- parsek_cdp/cdp/overlay/events.py +54 -0
- parsek_cdp/cdp/overlay/functions.py +407 -0
- parsek_cdp/cdp/overlay/types.py +328 -0
- parsek_cdp/cdp/page/__init__.py +15 -0
- parsek_cdp/cdp/page/events.py +416 -0
- parsek_cdp/cdp/page/functions.py +1081 -0
- parsek_cdp/cdp/page/types.py +1088 -0
- parsek_cdp/cdp/performance/__init__.py +15 -0
- parsek_cdp/cdp/performance/events.py +24 -0
- parsek_cdp/cdp/performance/functions.py +63 -0
- parsek_cdp/cdp/performance/types.py +22 -0
- parsek_cdp/cdp/performancetimeline/__init__.py +15 -0
- parsek_cdp/cdp/performancetimeline/events.py +22 -0
- parsek_cdp/cdp/performancetimeline/functions.py +30 -0
- parsek_cdp/cdp/performancetimeline/types.py +85 -0
- parsek_cdp/cdp/preload/__init__.py +15 -0
- parsek_cdp/cdp/preload/events.py +116 -0
- parsek_cdp/cdp/preload/functions.py +25 -0
- parsek_cdp/cdp/preload/types.py +267 -0
- parsek_cdp/cdp/profiler/__init__.py +15 -0
- parsek_cdp/cdp/profiler/events.py +64 -0
- parsek_cdp/cdp/profiler/functions.py +134 -0
- parsek_cdp/cdp/profiler/types.py +105 -0
- parsek_cdp/cdp/pwa/__init__.py +15 -0
- parsek_cdp/cdp/pwa/events.py +13 -0
- parsek_cdp/cdp/pwa/functions.py +196 -0
- parsek_cdp/cdp/pwa/types.py +45 -0
- parsek_cdp/cdp/runtime/__init__.py +15 -0
- parsek_cdp/cdp/runtime/events.py +123 -0
- parsek_cdp/cdp/runtime/functions.py +552 -0
- parsek_cdp/cdp/runtime/types.py +319 -0
- parsek_cdp/cdp/schema/__init__.py +15 -0
- parsek_cdp/cdp/schema/events.py +13 -0
- parsek_cdp/cdp/schema/functions.py +32 -0
- parsek_cdp/cdp/schema/types.py +22 -0
- parsek_cdp/cdp/security/__init__.py +15 -0
- parsek_cdp/cdp/security/events.py +64 -0
- parsek_cdp/cdp/security/functions.py +66 -0
- parsek_cdp/cdp/security/types.py +168 -0
- parsek_cdp/cdp/serviceworker/__init__.py +15 -0
- parsek_cdp/cdp/serviceworker/events.py +43 -0
- parsek_cdp/cdp/serviceworker/functions.py +115 -0
- parsek_cdp/cdp/serviceworker/types.py +95 -0
- parsek_cdp/cdp/storage/__init__.py +15 -0
- parsek_cdp/cdp/storage/events.py +288 -0
- parsek_cdp/cdp/storage/functions.py +571 -0
- parsek_cdp/cdp/storage/types.py +656 -0
- parsek_cdp/cdp/systeminfo/__init__.py +15 -0
- parsek_cdp/cdp/systeminfo/events.py +13 -0
- parsek_cdp/cdp/systeminfo/functions.py +75 -0
- parsek_cdp/cdp/systeminfo/types.py +132 -0
- parsek_cdp/cdp/target/__init__.py +15 -0
- parsek_cdp/cdp/target/events.py +109 -0
- parsek_cdp/cdp/target/functions.py +424 -0
- parsek_cdp/cdp/target/types.py +83 -0
- parsek_cdp/cdp/tethering/__init__.py +15 -0
- parsek_cdp/cdp/tethering/events.py +22 -0
- parsek_cdp/cdp/tethering/functions.py +35 -0
- parsek_cdp/cdp/tethering/types.py +10 -0
- parsek_cdp/cdp/tracing/__init__.py +15 -0
- parsek_cdp/cdp/tracing/events.py +61 -0
- parsek_cdp/cdp/tracing/functions.py +119 -0
- parsek_cdp/cdp/tracing/types.py +81 -0
- parsek_cdp/cdp/webaudio/__init__.py +15 -0
- parsek_cdp/cdp/webaudio/events.py +184 -0
- parsek_cdp/cdp/webaudio/functions.py +51 -0
- parsek_cdp/cdp/webaudio/types.py +155 -0
- parsek_cdp/cdp/webauthn/__init__.py +15 -0
- parsek_cdp/cdp/webauthn/events.py +69 -0
- parsek_cdp/cdp/webauthn/functions.py +214 -0
- parsek_cdp/cdp/webauthn/types.py +96 -0
- parsek_cdp/core/__init__.py +18 -0
- parsek_cdp/core/browser.py +240 -0
- parsek_cdp/core/browser_context.py +58 -0
- parsek_cdp/core/element.py +405 -0
- parsek_cdp/core/feature.py +376 -0
- parsek_cdp/core/frame.py +351 -0
- parsek_cdp/core/pagable.py +175 -0
- parsek_cdp/core/page.py +163 -0
- parsek_cdp/core/target.py +490 -0
- parsek_cdp/features/__init__.py +14 -0
- parsek_cdp/features/request_listener/__init__.py +256 -0
- parsek_cdp/features/request_listener/events.py +48 -0
- parsek_cdp/features/request_listener/types.py +235 -0
- parsek_cdp/generate.py +642 -0
- parsek_cdp/parsek/__init__.py +18 -0
- parsek_cdp/parsek/events.py +38 -0
- parsek_cdp/parsek/types.py +36 -0
- parsek_cdp/py.typed +0 -0
- parsek_cdp-0.1.0.dist-info/METADATA +277 -0
- parsek_cdp-0.1.0.dist-info/RECORD +242 -0
- parsek_cdp-0.1.0.dist-info/WHEEL +5 -0
- parsek_cdp-0.1.0.dist-info/licenses/LICENSE +201 -0
- parsek_cdp-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"""Events for the Storage domain (generated)."""
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
from dataclasses import dataclass
|
|
5
|
+
from typing import TYPE_CHECKING, Any, ClassVar, Dict, List, Literal, Optional
|
|
6
|
+
|
|
7
|
+
from ..mixins.datatype import FieldMeta
|
|
8
|
+
from ..mixins.event import Event, register_event
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
from .types import (
|
|
12
|
+
AttributionReportingAggregatableResult,
|
|
13
|
+
AttributionReportingEventLevelResult,
|
|
14
|
+
AttributionReportingReportResult,
|
|
15
|
+
AttributionReportingSourceRegistration,
|
|
16
|
+
AttributionReportingSourceRegistrationResult,
|
|
17
|
+
AttributionReportingTriggerRegistration,
|
|
18
|
+
InterestGroupAccessType,
|
|
19
|
+
InterestGroupAuctionEventType,
|
|
20
|
+
InterestGroupAuctionFetchType,
|
|
21
|
+
InterestGroupAuctionId,
|
|
22
|
+
SharedStorageAccessMethod,
|
|
23
|
+
SharedStorageAccessParams,
|
|
24
|
+
SharedStorageAccessScope,
|
|
25
|
+
StorageBucketInfo,
|
|
26
|
+
)
|
|
27
|
+
from ..network.types import RequestId as Network_RequestId
|
|
28
|
+
from ..network.types import TimeSinceEpoch as Network_TimeSinceEpoch
|
|
29
|
+
from ..page.types import FrameId as Page_FrameId
|
|
30
|
+
from ..target.types import TargetID as Target_TargetID
|
|
31
|
+
|
|
32
|
+
@register_event("Storage.cacheStorageContentUpdated")
|
|
33
|
+
@dataclass
|
|
34
|
+
class CacheStorageContentUpdated(Event):
|
|
35
|
+
"""A cache's contents have been modified."""
|
|
36
|
+
origin: str
|
|
37
|
+
storage_key: str
|
|
38
|
+
bucket_id: str
|
|
39
|
+
cache_name: str
|
|
40
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
41
|
+
FieldMeta('origin', 'origin', False, 'primitive'),
|
|
42
|
+
FieldMeta('storage_key', 'storageKey', False, 'primitive'),
|
|
43
|
+
FieldMeta('bucket_id', 'bucketId', False, 'primitive'),
|
|
44
|
+
FieldMeta('cache_name', 'cacheName', False, 'primitive'),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@register_event("Storage.cacheStorageListUpdated")
|
|
49
|
+
@dataclass
|
|
50
|
+
class CacheStorageListUpdated(Event):
|
|
51
|
+
"""A cache has been added/deleted."""
|
|
52
|
+
origin: str
|
|
53
|
+
storage_key: str
|
|
54
|
+
bucket_id: str
|
|
55
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
56
|
+
FieldMeta('origin', 'origin', False, 'primitive'),
|
|
57
|
+
FieldMeta('storage_key', 'storageKey', False, 'primitive'),
|
|
58
|
+
FieldMeta('bucket_id', 'bucketId', False, 'primitive'),
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
@register_event("Storage.indexedDBContentUpdated")
|
|
63
|
+
@dataclass
|
|
64
|
+
class IndexedDBContentUpdated(Event):
|
|
65
|
+
"""The origin's IndexedDB object store has been modified."""
|
|
66
|
+
origin: str
|
|
67
|
+
storage_key: str
|
|
68
|
+
bucket_id: str
|
|
69
|
+
database_name: str
|
|
70
|
+
object_store_name: str
|
|
71
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
72
|
+
FieldMeta('origin', 'origin', False, 'primitive'),
|
|
73
|
+
FieldMeta('storage_key', 'storageKey', False, 'primitive'),
|
|
74
|
+
FieldMeta('bucket_id', 'bucketId', False, 'primitive'),
|
|
75
|
+
FieldMeta('database_name', 'databaseName', False, 'primitive'),
|
|
76
|
+
FieldMeta('object_store_name', 'objectStoreName', False, 'primitive'),
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
@register_event("Storage.indexedDBListUpdated")
|
|
81
|
+
@dataclass
|
|
82
|
+
class IndexedDBListUpdated(Event):
|
|
83
|
+
"""The origin's IndexedDB database list has been modified."""
|
|
84
|
+
origin: str
|
|
85
|
+
storage_key: str
|
|
86
|
+
bucket_id: str
|
|
87
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
88
|
+
FieldMeta('origin', 'origin', False, 'primitive'),
|
|
89
|
+
FieldMeta('storage_key', 'storageKey', False, 'primitive'),
|
|
90
|
+
FieldMeta('bucket_id', 'bucketId', False, 'primitive'),
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
@register_event("Storage.interestGroupAccessed")
|
|
95
|
+
@dataclass
|
|
96
|
+
class InterestGroupAccessed(Event):
|
|
97
|
+
"""
|
|
98
|
+
One of the interest groups was accessed. Note that these events are global
|
|
99
|
+
to all targets sharing an interest group store.
|
|
100
|
+
"""
|
|
101
|
+
access_time: Network_TimeSinceEpoch
|
|
102
|
+
type_: InterestGroupAccessType
|
|
103
|
+
owner_origin: str
|
|
104
|
+
name: str
|
|
105
|
+
component_seller_origin: Optional[str] = None
|
|
106
|
+
bid: Optional[float] = None
|
|
107
|
+
bid_currency: Optional[str] = None
|
|
108
|
+
unique_auction_id: Optional[InterestGroupAuctionId] = None
|
|
109
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
110
|
+
FieldMeta('access_time', 'accessTime', False, 'primitive'),
|
|
111
|
+
FieldMeta('type_', 'type', False, 'enum', ref='Storage.InterestGroupAccessType'),
|
|
112
|
+
FieldMeta('owner_origin', 'ownerOrigin', False, 'primitive'),
|
|
113
|
+
FieldMeta('name', 'name', False, 'primitive'),
|
|
114
|
+
FieldMeta('component_seller_origin', 'componentSellerOrigin', True, 'primitive'),
|
|
115
|
+
FieldMeta('bid', 'bid', True, 'primitive'),
|
|
116
|
+
FieldMeta('bid_currency', 'bidCurrency', True, 'primitive'),
|
|
117
|
+
FieldMeta('unique_auction_id', 'uniqueAuctionId', True, 'primitive'),
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
@register_event("Storage.interestGroupAuctionEventOccurred")
|
|
122
|
+
@dataclass
|
|
123
|
+
class InterestGroupAuctionEventOccurred(Event):
|
|
124
|
+
"""
|
|
125
|
+
An auction involving interest groups is taking place. These events are
|
|
126
|
+
target-specific.
|
|
127
|
+
"""
|
|
128
|
+
event_time: Network_TimeSinceEpoch
|
|
129
|
+
type_: InterestGroupAuctionEventType
|
|
130
|
+
unique_auction_id: InterestGroupAuctionId
|
|
131
|
+
parent_auction_id: Optional[InterestGroupAuctionId] = None
|
|
132
|
+
auction_config: Optional[Dict[str, Any]] = None
|
|
133
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
134
|
+
FieldMeta('event_time', 'eventTime', False, 'primitive'),
|
|
135
|
+
FieldMeta('type_', 'type', False, 'enum', ref='Storage.InterestGroupAuctionEventType'),
|
|
136
|
+
FieldMeta('unique_auction_id', 'uniqueAuctionId', False, 'primitive'),
|
|
137
|
+
FieldMeta('parent_auction_id', 'parentAuctionId', True, 'primitive'),
|
|
138
|
+
FieldMeta('auction_config', 'auctionConfig', True, 'primitive'),
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
@register_event("Storage.interestGroupAuctionNetworkRequestCreated")
|
|
143
|
+
@dataclass
|
|
144
|
+
class InterestGroupAuctionNetworkRequestCreated(Event):
|
|
145
|
+
"""
|
|
146
|
+
Specifies which auctions a particular network fetch may be related to, and
|
|
147
|
+
in what role. Note that it is not ordered with respect to
|
|
148
|
+
Network.requestWillBeSent (but will happen before loadingFinished
|
|
149
|
+
loadingFailed).
|
|
150
|
+
"""
|
|
151
|
+
type_: InterestGroupAuctionFetchType
|
|
152
|
+
request_id: Network_RequestId
|
|
153
|
+
auctions: List[InterestGroupAuctionId]
|
|
154
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
155
|
+
FieldMeta('type_', 'type', False, 'enum', ref='Storage.InterestGroupAuctionFetchType'),
|
|
156
|
+
FieldMeta('request_id', 'requestId', False, 'primitive'),
|
|
157
|
+
FieldMeta('auctions', 'auctions', False, 'array', inner=FieldMeta('', '', False, 'primitive')),
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
@register_event("Storage.sharedStorageAccessed")
|
|
162
|
+
@dataclass
|
|
163
|
+
class SharedStorageAccessed(Event):
|
|
164
|
+
"""
|
|
165
|
+
Shared storage was accessed by the associated page.
|
|
166
|
+
The following parameters are included in all events.
|
|
167
|
+
"""
|
|
168
|
+
access_time: Network_TimeSinceEpoch
|
|
169
|
+
scope: SharedStorageAccessScope
|
|
170
|
+
method: SharedStorageAccessMethod
|
|
171
|
+
main_frame_id: Page_FrameId
|
|
172
|
+
owner_origin: str
|
|
173
|
+
owner_site: str
|
|
174
|
+
params: SharedStorageAccessParams
|
|
175
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
176
|
+
FieldMeta('access_time', 'accessTime', False, 'primitive'),
|
|
177
|
+
FieldMeta('scope', 'scope', False, 'enum', ref='Storage.SharedStorageAccessScope'),
|
|
178
|
+
FieldMeta('method', 'method', False, 'enum', ref='Storage.SharedStorageAccessMethod'),
|
|
179
|
+
FieldMeta('main_frame_id', 'mainFrameId', False, 'primitive'),
|
|
180
|
+
FieldMeta('owner_origin', 'ownerOrigin', False, 'primitive'),
|
|
181
|
+
FieldMeta('owner_site', 'ownerSite', False, 'primitive'),
|
|
182
|
+
FieldMeta('params', 'params', False, 'object', ref='Storage.SharedStorageAccessParams'),
|
|
183
|
+
)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
@register_event("Storage.sharedStorageWorkletOperationExecutionFinished")
|
|
187
|
+
@dataclass
|
|
188
|
+
class SharedStorageWorkletOperationExecutionFinished(Event):
|
|
189
|
+
"""
|
|
190
|
+
A shared storage run or selectURL operation finished its execution.
|
|
191
|
+
The following parameters are included in all events.
|
|
192
|
+
"""
|
|
193
|
+
finished_time: Network_TimeSinceEpoch
|
|
194
|
+
execution_time: int
|
|
195
|
+
method: SharedStorageAccessMethod
|
|
196
|
+
operation_id: str
|
|
197
|
+
worklet_target_id: Target_TargetID
|
|
198
|
+
main_frame_id: Page_FrameId
|
|
199
|
+
owner_origin: str
|
|
200
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
201
|
+
FieldMeta('finished_time', 'finishedTime', False, 'primitive'),
|
|
202
|
+
FieldMeta('execution_time', 'executionTime', False, 'primitive'),
|
|
203
|
+
FieldMeta('method', 'method', False, 'enum', ref='Storage.SharedStorageAccessMethod'),
|
|
204
|
+
FieldMeta('operation_id', 'operationId', False, 'primitive'),
|
|
205
|
+
FieldMeta('worklet_target_id', 'workletTargetId', False, 'primitive'),
|
|
206
|
+
FieldMeta('main_frame_id', 'mainFrameId', False, 'primitive'),
|
|
207
|
+
FieldMeta('owner_origin', 'ownerOrigin', False, 'primitive'),
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
@register_event("Storage.storageBucketCreatedOrUpdated")
|
|
212
|
+
@dataclass
|
|
213
|
+
class StorageBucketCreatedOrUpdated(Event):
|
|
214
|
+
bucket_info: StorageBucketInfo
|
|
215
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
216
|
+
FieldMeta('bucket_info', 'bucketInfo', False, 'object', ref='Storage.StorageBucketInfo'),
|
|
217
|
+
)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
@register_event("Storage.storageBucketDeleted")
|
|
221
|
+
@dataclass
|
|
222
|
+
class StorageBucketDeleted(Event):
|
|
223
|
+
bucket_id: str
|
|
224
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
225
|
+
FieldMeta('bucket_id', 'bucketId', False, 'primitive'),
|
|
226
|
+
)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
@register_event("Storage.attributionReportingSourceRegistered")
|
|
230
|
+
@dataclass
|
|
231
|
+
class AttributionReportingSourceRegistered(Event):
|
|
232
|
+
registration: AttributionReportingSourceRegistration
|
|
233
|
+
result: AttributionReportingSourceRegistrationResult
|
|
234
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
235
|
+
FieldMeta('registration', 'registration', False, 'object', ref='Storage.AttributionReportingSourceRegistration'),
|
|
236
|
+
FieldMeta('result', 'result', False, 'enum', ref='Storage.AttributionReportingSourceRegistrationResult'),
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
@register_event("Storage.attributionReportingTriggerRegistered")
|
|
241
|
+
@dataclass
|
|
242
|
+
class AttributionReportingTriggerRegistered(Event):
|
|
243
|
+
registration: AttributionReportingTriggerRegistration
|
|
244
|
+
event_level: AttributionReportingEventLevelResult
|
|
245
|
+
aggregatable: AttributionReportingAggregatableResult
|
|
246
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
247
|
+
FieldMeta('registration', 'registration', False, 'object', ref='Storage.AttributionReportingTriggerRegistration'),
|
|
248
|
+
FieldMeta('event_level', 'eventLevel', False, 'enum', ref='Storage.AttributionReportingEventLevelResult'),
|
|
249
|
+
FieldMeta('aggregatable', 'aggregatable', False, 'enum', ref='Storage.AttributionReportingAggregatableResult'),
|
|
250
|
+
)
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
@register_event("Storage.attributionReportingReportSent")
|
|
254
|
+
@dataclass
|
|
255
|
+
class AttributionReportingReportSent(Event):
|
|
256
|
+
url: str
|
|
257
|
+
body: Dict[str, Any]
|
|
258
|
+
result: AttributionReportingReportResult
|
|
259
|
+
net_error: Optional[int] = None
|
|
260
|
+
net_error_name: Optional[str] = None
|
|
261
|
+
http_status_code: Optional[int] = None
|
|
262
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
263
|
+
FieldMeta('url', 'url', False, 'primitive'),
|
|
264
|
+
FieldMeta('body', 'body', False, 'primitive'),
|
|
265
|
+
FieldMeta('result', 'result', False, 'enum', ref='Storage.AttributionReportingReportResult'),
|
|
266
|
+
FieldMeta('net_error', 'netError', True, 'primitive'),
|
|
267
|
+
FieldMeta('net_error_name', 'netErrorName', True, 'primitive'),
|
|
268
|
+
FieldMeta('http_status_code', 'httpStatusCode', True, 'primitive'),
|
|
269
|
+
)
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
@register_event("Storage.attributionReportingVerboseDebugReportSent")
|
|
273
|
+
@dataclass
|
|
274
|
+
class AttributionReportingVerboseDebugReportSent(Event):
|
|
275
|
+
url: str
|
|
276
|
+
body: Optional[List[Dict[str, Any]]] = None
|
|
277
|
+
net_error: Optional[int] = None
|
|
278
|
+
net_error_name: Optional[str] = None
|
|
279
|
+
http_status_code: Optional[int] = None
|
|
280
|
+
__FIELDS__: ClassVar[tuple] = (
|
|
281
|
+
FieldMeta('url', 'url', False, 'primitive'),
|
|
282
|
+
FieldMeta('body', 'body', True, 'array', inner=FieldMeta('', '', False, 'primitive')),
|
|
283
|
+
FieldMeta('net_error', 'netError', True, 'primitive'),
|
|
284
|
+
FieldMeta('net_error_name', 'netErrorName', True, 'primitive'),
|
|
285
|
+
FieldMeta('http_status_code', 'httpStatusCode', True, 'primitive'),
|
|
286
|
+
)
|
|
287
|
+
|
|
288
|
+
__all__ = ["AttributionReportingReportSent", "AttributionReportingSourceRegistered", "AttributionReportingTriggerRegistered", "AttributionReportingVerboseDebugReportSent", "CacheStorageContentUpdated", "CacheStorageListUpdated", "IndexedDBContentUpdated", "IndexedDBListUpdated", "InterestGroupAccessed", "InterestGroupAuctionEventOccurred", "InterestGroupAuctionNetworkRequestCreated", "SharedStorageAccessed", "SharedStorageWorkletOperationExecutionFinished", "StorageBucketCreatedOrUpdated", "StorageBucketDeleted"]
|