|
2229 | 2229 | } |
2230 | 2230 | ] |
2231 | 2231 | }, |
2232 | | - { |
2233 | | - "id": "AdScriptIdentifier", |
2234 | | - "description": "Metadata about the ad script that was on the stack that caused the current\nscript in the `AdAncestry` to be considered ad related.", |
2235 | | - "type": "object", |
2236 | | - "properties": [ |
2237 | | - { |
2238 | | - "name": "scriptId", |
2239 | | - "description": "The script's v8 identifier.", |
2240 | | - "$ref": "Runtime.ScriptId" |
2241 | | - }, |
2242 | | - { |
2243 | | - "name": "debuggerId", |
2244 | | - "description": "v8's debugging id for the v8::Context.", |
2245 | | - "$ref": "Runtime.UniqueDebuggerId" |
2246 | | - }, |
2247 | | - { |
2248 | | - "name": "name", |
2249 | | - "description": "The script's url (or generated name based on id if inline script).", |
2250 | | - "type": "string" |
2251 | | - } |
2252 | | - ] |
2253 | | - }, |
2254 | | - { |
2255 | | - "id": "AdAncestry", |
2256 | | - "description": "Providence about how an ad script was determined to be such. It is an ad\nbecause its url matched a filterlist rule, or because some other ad script\nwas on the stack when this script was loaded.", |
2257 | | - "type": "object", |
2258 | | - "properties": [ |
2259 | | - { |
2260 | | - "name": "adAncestryChain", |
2261 | | - "description": "The ad-script in the stack when the offending script was loaded. This is\nrecursive down to the root script that was tagged due to the filterlist\nrule.", |
2262 | | - "type": "array", |
2263 | | - "items": { |
2264 | | - "$ref": "AdScriptIdentifier" |
2265 | | - } |
2266 | | - }, |
2267 | | - { |
2268 | | - "name": "rootScriptFilterlistRule", |
2269 | | - "description": "The filterlist rule that caused the root (last) script in\n`adAncestry` to be ad-tagged.", |
2270 | | - "optional": true, |
2271 | | - "type": "string" |
2272 | | - } |
2273 | | - ] |
2274 | | - }, |
2275 | 2232 | { |
2276 | 2233 | "id": "SelectivePermissionsInterventionIssueDetails", |
2277 | 2234 | "description": "The issue warns about blocked calls to privacy sensitive APIs via the\nSelective Permissions Intervention.", |
|
2285 | 2242 | { |
2286 | 2243 | "name": "adAncestry", |
2287 | 2244 | "description": "Why the ad script using the API is considered an ad.", |
2288 | | - "$ref": "AdAncestry" |
| 2245 | + "$ref": "Network.AdAncestry" |
2289 | 2246 | }, |
2290 | 2247 | { |
2291 | 2248 | "name": "stackTrace", |
|
17287 | 17244 | } |
17288 | 17245 | ] |
17289 | 17246 | }, |
| 17247 | + { |
| 17248 | + "id": "AdScriptIdentifier", |
| 17249 | + "description": "Identifies the script on the stack that caused a resource or element to be\nlabeled as an ad. For resources, this indicates the context that triggered\nthe fetch. For elements, this indicates the context that caused the element\nto be appended to the DOM.", |
| 17250 | + "experimental": true, |
| 17251 | + "type": "object", |
| 17252 | + "properties": [ |
| 17253 | + { |
| 17254 | + "name": "scriptId", |
| 17255 | + "description": "The script's V8 identifier.", |
| 17256 | + "$ref": "Runtime.ScriptId" |
| 17257 | + }, |
| 17258 | + { |
| 17259 | + "name": "debuggerId", |
| 17260 | + "description": "V8's debugging ID for the v8::Context.", |
| 17261 | + "$ref": "Runtime.UniqueDebuggerId" |
| 17262 | + }, |
| 17263 | + { |
| 17264 | + "name": "name", |
| 17265 | + "description": "The script's url (or generated name based on id if inline script).", |
| 17266 | + "type": "string" |
| 17267 | + } |
| 17268 | + ] |
| 17269 | + }, |
| 17270 | + { |
| 17271 | + "id": "AdAncestry", |
| 17272 | + "description": "Encapsulates the script ancestry and the root script filter list rule that\ncaused the resource or element to be labeled as an ad.", |
| 17273 | + "experimental": true, |
| 17274 | + "type": "object", |
| 17275 | + "properties": [ |
| 17276 | + { |
| 17277 | + "name": "ancestryChain", |
| 17278 | + "description": "A chain of `AdScriptIdentifier`s representing the ancestry of an ad\nscript that led to the creation of a resource or element. The chain is\nordered from the script itself (lowest level) up to its root ancestor\nthat was flagged by a filter list.", |
| 17279 | + "type": "array", |
| 17280 | + "items": { |
| 17281 | + "$ref": "AdScriptIdentifier" |
| 17282 | + } |
| 17283 | + }, |
| 17284 | + { |
| 17285 | + "name": "rootScriptFilterlistRule", |
| 17286 | + "description": "The filter list rule that caused the root (last) script in\n`ancestryChain` to be tagged as an ad.", |
| 17287 | + "optional": true, |
| 17288 | + "type": "string" |
| 17289 | + } |
| 17290 | + ] |
| 17291 | + }, |
17290 | 17292 | { |
17291 | 17293 | "id": "CrossOriginOpenerPolicyValue", |
17292 | 17294 | "experimental": true, |
|
21471 | 21473 | } |
21472 | 21474 | ] |
21473 | 21475 | }, |
21474 | | - { |
21475 | | - "id": "AdScriptId", |
21476 | | - "description": "Identifies the script which caused a script or frame to be labelled as an\nad.", |
21477 | | - "experimental": true, |
21478 | | - "type": "object", |
21479 | | - "properties": [ |
21480 | | - { |
21481 | | - "name": "scriptId", |
21482 | | - "description": "Script Id of the script which caused a script or frame to be labelled as\nan ad.", |
21483 | | - "$ref": "Runtime.ScriptId" |
21484 | | - }, |
21485 | | - { |
21486 | | - "name": "debuggerId", |
21487 | | - "description": "Id of scriptId's debugger.", |
21488 | | - "$ref": "Runtime.UniqueDebuggerId" |
21489 | | - } |
21490 | | - ] |
21491 | | - }, |
21492 | | - { |
21493 | | - "id": "AdScriptAncestry", |
21494 | | - "description": "Encapsulates the script ancestry and the root script filterlist rule that\ncaused the frame to be labelled as an ad. Only created when `ancestryChain`\nis not empty.", |
21495 | | - "experimental": true, |
21496 | | - "type": "object", |
21497 | | - "properties": [ |
21498 | | - { |
21499 | | - "name": "ancestryChain", |
21500 | | - "description": "A chain of `AdScriptId`s representing the ancestry of an ad script that\nled to the creation of a frame. The chain is ordered from the script\nitself (lower level) up to its root ancestor that was flagged by\nfilterlist.", |
21501 | | - "type": "array", |
21502 | | - "items": { |
21503 | | - "$ref": "AdScriptId" |
21504 | | - } |
21505 | | - }, |
21506 | | - { |
21507 | | - "name": "rootScriptFilterlistRule", |
21508 | | - "description": "The filterlist rule that caused the root (last) script in\n`ancestryChain` to be ad-tagged. Only populated if the rule is\navailable.", |
21509 | | - "optional": true, |
21510 | | - "type": "string" |
21511 | | - } |
21512 | | - ] |
21513 | | - }, |
21514 | 21476 | { |
21515 | 21477 | "id": "SecureContextType", |
21516 | 21478 | "description": "Indicates whether the frame is a secure context and why it is the case.", |
|
23448 | 23410 | "name": "adScriptAncestry", |
23449 | 23411 | "description": "The ancestry chain of ad script identifiers leading to this frame's\ncreation, along with the root script's filterlist rule. The ancestry\nchain is ordered from the most immediate script (in the frame creation\nstack) to more distant ancestors (that created the immediately preceding\nscript). Only sent if frame is labelled as an ad and ids are available.", |
23450 | 23412 | "optional": true, |
23451 | | - "$ref": "AdScriptAncestry" |
| 23413 | + "$ref": "Network.AdAncestry" |
23452 | 23414 | } |
23453 | 23415 | ] |
23454 | 23416 | }, |
|
0 commit comments