| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "webRequest", | 3 "namespace": "webRequest", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "RequestFilter", | 6 "id": "RequestFilter", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "description": "An object describing filters to apply to webRequest even
ts.", | 8 "description": "An object describing filters to apply to webRequest even
ts.", |
| 9 "properties": { | 9 "properties": { |
| 10 "urls": { | 10 "urls": { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 "nodoc": true, | 80 "nodoc": true, |
| 81 "id": "RequestMatcher", | 81 "id": "RequestMatcher", |
| 82 "type": "object", | 82 "type": "object", |
| 83 "description": "Matches network events by various criteria. Experimental
junk, do not use!", | 83 "description": "Matches network events by various criteria. Experimental
junk, do not use!", |
| 84 "properties": { | 84 "properties": { |
| 85 "url": { | 85 "url": { |
| 86 "type": "string", | 86 "type": "string", |
| 87 "description": "Matches for a full URL", | 87 "description": "Matches for a full URL", |
| 88 "optional": true | 88 "optional": true |
| 89 }, | 89 }, |
| 90 "filterType": { "type": "string", "enum": ["net.RequestMatcher"] } | 90 "instanceType": { "type": "string", "enum": ["webRequest.RequestMatche
r"] } |
| 91 } | 91 } |
| 92 }, | 92 }, |
| 93 { | 93 { |
| 94 "nodoc": true, | 94 "nodoc": true, |
| 95 "id": "CancelRequest", | 95 "id": "CancelRequest", |
| 96 "description": "Declarative event action that cancels a network request.
Experimental junk, do not use!", | 96 "description": "Declarative event action that cancels a network request.
Experimental junk, do not use!", |
| 97 "type": "object", | 97 "type": "object", |
| 98 "properties": { | 98 "properties": { |
| 99 "actionType": { "type": "string", "enum": ["net.CancelRequest"] } | 99 "instanceType": { "type": "string", "enum": ["webRequest.CancelRequest
"] } |
| 100 } | 100 } |
| 101 }, | 101 }, |
| 102 { | 102 { |
| 103 "nodoc": true, | 103 "nodoc": true, |
| 104 "id": "ModifyRequest", | 104 "id": "ModifyRequest", |
| 105 "description": "Declarative event action that modifies a network request
. Experimental junk, do not use!", | 105 "description": "Declarative event action that modifies a network request
. Experimental junk, do not use!", |
| 106 "type": "object", | 106 "type": "object", |
| 107 "properties": { | 107 "properties": { |
| 108 "actionType": { "type": "string", "enum": ["net.ModifyRequest"] } | 108 "instanceType": { "type": "string", "enum": ["webRequest.ModifyRequest
"] } |
| 109 } | 109 } |
| 110 } | 110 } |
| 111 ], | 111 ], |
| 112 "functions": [ | 112 "functions": [ |
| 113 { | 113 { |
| 114 "name": "addEventListener", | 114 "name": "addEventListener", |
| 115 "nodoc": true, | 115 "nodoc": true, |
| 116 "type": "function", | 116 "type": "function", |
| 117 "description": "Used internally to implement the special form of addList
ener for the webRequest events.", | 117 "description": "Used internally to implement the special form of addList
ener for the webRequest events.", |
| 118 "parameters": [ | 118 "parameters": [ |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 "options": { | 557 "options": { |
| 558 "supportsListeners": false, | 558 "supportsListeners": false, |
| 559 "supportsRules": true, | 559 "supportsRules": true, |
| 560 "conditions": ["RequestMatcher"], | 560 "conditions": ["RequestMatcher"], |
| 561 "actions": ["CancelRequest", "ModifyRequest"] | 561 "actions": ["CancelRequest", "ModifyRequest"] |
| 562 } | 562 } |
| 563 } | 563 } |
| 564 ] | 564 ] |
| 565 } | 565 } |
| 566 ] | 566 ] |
| OLD | NEW |