Web Replay: upstream input storage, capture/replay machinery, and inspector domain
[WebKit-https.git] / Source / WebCore / replay / WebInputs.json
1 {
2     "types": {
3         "Global": [
4             { "name": "bool", "mode": "SCALAR" },
5             { "name": "double", "mode": "SCALAR" },
6             { "name": "int", "mode": "SCALAR" },
7             { "name": "unsigned", "mode": "SCALAR" },
8             { "name": "unsigned long", "mode": "SCALAR" },
9             { "name": "unsigned long long", "mode": "SCALAR" }
10         ],
11
12         "WTF": [
13             {
14                 "name": "String", "mode": "HEAVY_SCALAR",
15                 "header": "wtf/text/WTFString.h"
16             }
17         ],
18
19         "JavaScriptCore": [
20             {
21                 "name": "InputQueue", "mode": "SCALAR", "storage": "uint8_t",
22                 "flags": ["ENUM_CLASS"],
23                 "values": ["EventLoopInput", "LoaderMemoizedData", "ScriptMemoizedData", "Count"],
24                 "header": "replay/NondeterministicInput.h"
25             }
26         ],
27
28         "WebCore": [
29             {
30                 "name": "URL", "mode": "HEAVY_SCALAR",
31                 "header": "platform/URL.h"
32             },
33             {
34                 "name": "SecurityOrigin", "mode": "SHARED",
35                 "header": "page/SecurityOrigin.h"
36             },
37             {
38                 "name": "Page", "mode": "OWNED",
39                 "header": "page/Page.h"
40             }
41         ]
42     },
43
44     "inputs": [
45         {
46             "name": "BeginSegmentSentinel",
47             "description": "A sentinel input to signal the start of a segment.",
48             "queue": "EVENT_LOOP",
49             "members": [ ]
50         },
51         {
52             "name": "EndSegmentSentinel",
53             "description": "A sentinel input to signal the end of a segment.",
54             "queue": "EVENT_LOOP",
55             "members": [ ]
56         },
57         {
58             "name": "InitialNavigation",
59             "description": "Initiate the initial main frame navigation.",
60             "queue": "EVENT_LOOP",
61             "flags": ["HIDDEN", "CREATE_FROM_PAGE"],
62             "members": [
63                 { "name": "securityOrigin", "type": "SecurityOrigin" },
64                 { "name": "url", "type": "URL" },
65                 { "name": "referrer", "type": "String" }
66             ]
67         }
68     ]
69 }