Web Replay: code generator should take supplemental specifications and allow cross...
[WebKit-https.git] / Source / JavaScriptCore / replay / scripts / tests / generate-input-with-guard.json
1 {
2     "types": {
3         "Global": [
4             { "name": "double", "mode": "SCALAR" },
5             { "name": "uint64_t", "mode": "SCALAR" }
6         ]
7     },
8
9     "inputs": {
10         "Test": [
11             {
12                 "name": "GetCurrentTime",
13                 "description": "Supplies the system time to Date.now() and new Date().",
14                 "queue": "SCRIPT_MEMOIZED",
15                 "guard": "ENABLE(DUMMY_FEATURE)",
16                 "members": [
17                     { "name": "currentTime", "type": "double" }
18                 ]
19             },
20             {
21                 "name": "SetRandomSeed",
22                 "description": "Sets the PRNG seed used by Math.random().",
23                 "queue": "SCRIPT_MEMOIZED",
24                 "members": [
25                     {"name": "randomSeed", "type": "uint64_t" }
26                 ]
27             }
28         ]
29     }
30 }