]> git.saurik.com Git - apple/javascriptcore.git/blob - inspector/scripts/tests/generate-domains-with-feature-guards.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / inspector / scripts / tests / generate-domains-with-feature-guards.json
1 [
2 {
3 "domain": "Network1",
4 "featureGuard": "PLATFORM(WEB_COMMANDS)",
5 "commands": [
6 {
7 "name": "loadResource",
8 "description": "Loads a resource in the context of a frame on the inspected page without cross origin checks."
9 }
10 ]
11 },
12 {
13 "domain": "Network2",
14 "featureGuard": "PLATFORM(WEB_TYPES)",
15 "types": [
16 {
17 "id": "NetworkError",
18 "type": "object",
19 "properties": [
20 { "name": "message", "type": "string", "description": "Error message." },
21 { "name": "code", "type": "integer", "description": "Error code." }
22 ]
23 }
24 ]
25 },
26 {
27 "domain": "Network3",
28 "featureGuard": "PLATFORM(WEB_EVENTS)",
29 "events": [
30 {
31 "name": "resourceLoaded",
32 "description": "A resource was loaded."
33 }
34 ]
35 }
36 ]