You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: json/browser_protocol.json
+218Lines changed: 218 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10359,6 +10359,130 @@
10359
10359
}
10360
10360
]
10361
10361
},
10362
+
{
10363
+
"id": "WorkAreaInsets",
10364
+
"experimental": true,
10365
+
"type": "object",
10366
+
"properties": [
10367
+
{
10368
+
"name": "top",
10369
+
"description": "Work area top inset in pixels. Default is 0;",
10370
+
"optional": true,
10371
+
"type": "integer"
10372
+
},
10373
+
{
10374
+
"name": "left",
10375
+
"description": "Work area left inset in pixels. Default is 0;",
10376
+
"optional": true,
10377
+
"type": "integer"
10378
+
},
10379
+
{
10380
+
"name": "bottom",
10381
+
"description": "Work area bottom inset in pixels. Default is 0;",
10382
+
"optional": true,
10383
+
"type": "integer"
10384
+
},
10385
+
{
10386
+
"name": "right",
10387
+
"description": "Work area right inset in pixels. Default is 0;",
10388
+
"optional": true,
10389
+
"type": "integer"
10390
+
}
10391
+
]
10392
+
},
10393
+
{
10394
+
"id": "ScreenId",
10395
+
"experimental": true,
10396
+
"type": "string"
10397
+
},
10398
+
{
10399
+
"id": "ScreenInfo",
10400
+
"description": "Screen information similar to the one returned by window.getScreenDetails() method,\nsee https://w3c.github.io/window-management/#screendetailed.",
10401
+
"experimental": true,
10402
+
"type": "object",
10403
+
"properties": [
10404
+
{
10405
+
"name": "left",
10406
+
"description": "Offset of the left edge of the screen.",
10407
+
"type": "integer"
10408
+
},
10409
+
{
10410
+
"name": "top",
10411
+
"description": "Offset of the top edge of the screen.",
10412
+
"type": "integer"
10413
+
},
10414
+
{
10415
+
"name": "width",
10416
+
"description": "Width of the screen.",
10417
+
"type": "integer"
10418
+
},
10419
+
{
10420
+
"name": "height",
10421
+
"description": "Height of the screen.",
10422
+
"type": "integer"
10423
+
},
10424
+
{
10425
+
"name": "availLeft",
10426
+
"description": "Offset of the left edge of the available screen area.",
10427
+
"type": "integer"
10428
+
},
10429
+
{
10430
+
"name": "availTop",
10431
+
"description": "Offset of the top edge of the available screen area.",
10432
+
"type": "integer"
10433
+
},
10434
+
{
10435
+
"name": "availWidth",
10436
+
"description": "Width of the available screen area.",
10437
+
"type": "integer"
10438
+
},
10439
+
{
10440
+
"name": "availHeight",
10441
+
"description": "Height of the available screen area.",
10442
+
"type": "integer"
10443
+
},
10444
+
{
10445
+
"name": "devicePixelRatio",
10446
+
"description": "Specifies the screen's device pixel ratio.",
10447
+
"type": "number"
10448
+
},
10449
+
{
10450
+
"name": "orientation",
10451
+
"description": "Specifies the screen's orientation.",
10452
+
"$ref": "ScreenOrientation"
10453
+
},
10454
+
{
10455
+
"name": "colorDepth",
10456
+
"description": "Specifies the screen's color depth in bits.",
10457
+
"type": "integer"
10458
+
},
10459
+
{
10460
+
"name": "isExtended",
10461
+
"description": "Indicates whether the device has multiple screens.",
10462
+
"type": "boolean"
10463
+
},
10464
+
{
10465
+
"name": "isInternal",
10466
+
"description": "Indicates whether the screen is internal to the device or external, attached to the device.",
10467
+
"type": "boolean"
10468
+
},
10469
+
{
10470
+
"name": "isPrimary",
10471
+
"description": "Indicates whether the screen is set as the the operating system primary screen.",
10472
+
"type": "boolean"
10473
+
},
10474
+
{
10475
+
"name": "label",
10476
+
"description": "Specifies the descriptive label for the screen.",
10477
+
"type": "string"
10478
+
},
10479
+
{
10480
+
"name": "id",
10481
+
"description": "Specifies the unique identifier of the screen.",
10482
+
"$ref": "ScreenId"
10483
+
}
10484
+
]
10485
+
},
10362
10486
{
10363
10487
"id": "DisabledImageType",
10364
10488
"description": "Enum of image types that can be disabled.",
0 commit comments