devtools-protocol 0.0.1245094 → 0.0.1248698

Sign up to get free protection for your applications and to get access to all the features.
@@ -2685,7 +2685,6 @@
2685
2685
  {
2686
2686
  "name": "resetPermissions",
2687
2687
  "description": "Reset all permission management for all origins.",
2688
- "experimental": true,
2689
2688
  "parameters": [
2690
2689
  {
2691
2690
  "name": "browserContextId",
@@ -5854,7 +5853,6 @@
5854
5853
  {
5855
5854
  "name": "scrollIntoViewIfNeeded",
5856
5855
  "description": "Scrolls the specified rect of the given node into view if not already visible.\nNote: exactly one between nodeId, backendNodeId and objectId should be passed\nto identify the node.",
5857
- "experimental": true,
5858
5856
  "parameters": [
5859
5857
  {
5860
5858
  "name": "nodeId",
@@ -8888,7 +8886,6 @@
8888
8886
  {
8889
8887
  "name": "setCPUThrottlingRate",
8890
8888
  "description": "Enables CPU throttling to emulate slow CPUs.",
8891
- "experimental": true,
8892
8889
  "parameters": [
8893
8890
  {
8894
8891
  "name": "rate",
@@ -9071,7 +9068,6 @@
9071
9068
  {
9072
9069
  "name": "setEmulatedVisionDeficiency",
9073
9070
  "description": "Emulates the given vision deficiency.",
9074
- "experimental": true,
9075
9071
  "parameters": [
9076
9072
  {
9077
9073
  "name": "type",
@@ -9167,7 +9163,6 @@
9167
9163
  {
9168
9164
  "name": "setIdleOverride",
9169
9165
  "description": "Overrides the Idle state.",
9170
- "experimental": true,
9171
9166
  "parameters": [
9172
9167
  {
9173
9168
  "name": "isUserActive",
@@ -9183,8 +9178,7 @@
9183
9178
  },
9184
9179
  {
9185
9180
  "name": "clearIdleOverride",
9186
- "description": "Clears Idle state overrides.",
9187
- "experimental": true
9181
+ "description": "Clears Idle state overrides."
9188
9182
  },
9189
9183
  {
9190
9184
  "name": "setNavigatorOverrides",
@@ -9291,7 +9285,6 @@
9291
9285
  {
9292
9286
  "name": "setTimezoneOverride",
9293
9287
  "description": "Overrides default host system timezone with the specified one.",
9294
- "experimental": true,
9295
9288
  "parameters": [
9296
9289
  {
9297
9290
  "name": "timezoneId",
@@ -12353,6 +12346,11 @@
12353
12346
  "description": "Resource mimeType as determined by the browser.",
12354
12347
  "type": "string"
12355
12348
  },
12349
+ {
12350
+ "name": "charset",
12351
+ "description": "Resource charset as determined by the browser (if applicable).",
12352
+ "type": "string"
12353
+ },
12356
12354
  {
12357
12355
  "name": "requestHeaders",
12358
12356
  "description": "Refined HTTP request headers that were actually transmitted over the network.",
@@ -13935,7 +13933,6 @@
13935
13933
  {
13936
13934
  "name": "setBypassServiceWorker",
13937
13935
  "description": "Toggles ignoring of service worker for each request.",
13938
- "experimental": true,
13939
13936
  "parameters": [
13940
13937
  {
13941
13938
  "name": "bypass",
@@ -18211,7 +18208,6 @@
18211
18208
  {
18212
18209
  "name": "setBypassCSP",
18213
18210
  "description": "Enable page Content Security Policy by-passing.",
18214
- "experimental": true,
18215
18211
  "parameters": [
18216
18212
  {
18217
18213
  "name": "enabled",
@@ -18463,7 +18459,6 @@
18463
18459
  {
18464
18460
  "name": "setLifecycleEventsEnabled",
18465
18461
  "description": "Controls whether page will emit lifecycle events.",
18466
- "experimental": true,
18467
18462
  "parameters": [
18468
18463
  {
18469
18464
  "name": "enabled",
@@ -18548,8 +18543,7 @@
18548
18543
  },
18549
18544
  {
18550
18545
  "name": "close",
18551
- "description": "Tries to close page, running its beforeunload hooks, if any.",
18552
- "experimental": true
18546
+ "description": "Tries to close page, running its beforeunload hooks, if any."
18553
18547
  },
18554
18548
  {
18555
18549
  "name": "setWebLifecycleState",
@@ -18655,7 +18649,6 @@
18655
18649
  {
18656
18650
  "name": "setInterceptFileChooserDialog",
18657
18651
  "description": "Intercept file chooser requests and transfer control to protocol clients.\nWhen file chooser interception is enabled, native file chooser dialog is not shown.\nInstead, a protocol event `Page.fileChooserOpened` is emitted.",
18658
- "experimental": true,
18659
18652
  "parameters": [
18660
18653
  {
18661
18654
  "name": "enabled",
@@ -19726,7 +19719,6 @@
19726
19719
  {
19727
19720
  "name": "setIgnoreCertificateErrors",
19728
19721
  "description": "Enable/disable whether all certificate errors should be ignored.",
19729
- "experimental": true,
19730
19722
  "parameters": [
19731
19723
  {
19732
19724
  "name": "ignore",
@@ -22153,29 +22145,32 @@
22153
22145
  {
22154
22146
  "name": "createBrowserContext",
22155
22147
  "description": "Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than\none.",
22156
- "experimental": true,
22157
22148
  "parameters": [
22158
22149
  {
22159
22150
  "name": "disposeOnDetach",
22160
22151
  "description": "If specified, disposes this context when debugging session disconnects.",
22152
+ "experimental": true,
22161
22153
  "optional": true,
22162
22154
  "type": "boolean"
22163
22155
  },
22164
22156
  {
22165
22157
  "name": "proxyServer",
22166
22158
  "description": "Proxy server, similar to the one passed to --proxy-server",
22159
+ "experimental": true,
22167
22160
  "optional": true,
22168
22161
  "type": "string"
22169
22162
  },
22170
22163
  {
22171
22164
  "name": "proxyBypassList",
22172
22165
  "description": "Proxy bypass list, similar to the one passed to --proxy-bypass-list",
22166
+ "experimental": true,
22173
22167
  "optional": true,
22174
22168
  "type": "string"
22175
22169
  },
22176
22170
  {
22177
22171
  "name": "originsWithUniversalNetworkAccess",
22178
22172
  "description": "An optional list of origins to grant unlimited cross-origin access to.\nParts of the URL other than those constituting origin are ignored.",
22173
+ "experimental": true,
22179
22174
  "optional": true,
22180
22175
  "type": "array",
22181
22176
  "items": {
@@ -22194,7 +22189,6 @@
22194
22189
  {
22195
22190
  "name": "getBrowserContexts",
22196
22191
  "description": "Returns all browser contexts created with `Target.createBrowserContext` method.",
22197
- "experimental": true,
22198
22192
  "returns": [
22199
22193
  {
22200
22194
  "name": "browserContextIds",
@@ -22291,7 +22285,6 @@
22291
22285
  {
22292
22286
  "name": "disposeBrowserContext",
22293
22287
  "description": "Deletes a BrowserContext. All the belonging pages will be closed without calling their\nbeforeunload hooks.",
22294
- "experimental": true,
22295
22288
  "parameters": [
22296
22289
  {
22297
22290
  "name": "browserContextId",
@@ -22367,7 +22360,6 @@
22367
22360
  {
22368
22361
  "name": "setAutoAttach",
22369
22362
  "description": "Controls whether to automatically attach to new targets which are considered to be related to\nthis one. When turned on, attaches to all existing related targets as well. When turned off,\nautomatically detaches from all currently attached targets.\nThis also clears all targets added by `autoAttachRelated` from the list of targets to watch\nfor creation of related targets.",
22370
- "experimental": true,
22371
22363
  "parameters": [
22372
22364
  {
22373
22365
  "name": "autoAttach",
@@ -22382,6 +22374,7 @@
22382
22374
  {
22383
22375
  "name": "flatten",
22384
22376
  "description": "Enables \"flat\" access to the session via specifying sessionId attribute in the commands.\nWe plan to make this the default, deprecate non-flattened mode,\nand eventually retire it. See crbug.com/991325.",
22377
+ "experimental": true,
22385
22378
  "optional": true,
22386
22379
  "type": "boolean"
22387
22380
  },
@@ -3466,7 +3466,6 @@
3466
3466
  {
3467
3467
  "name": "addBinding",
3468
3468
  "description": "If executionContextId is empty, adds binding with the given name on the\nglobal objects of all inspected contexts, including those created later,\nbindings survive reloads.\nBinding function takes exactly one argument, this argument should be string,\nin case of any other input, function throws an exception.\nEach binding function call produces Runtime.bindingCalled notification.",
3469
- "experimental": true,
3470
3469
  "parameters": [
3471
3470
  {
3472
3471
  "name": "name",
@@ -3475,6 +3474,7 @@
3475
3474
  {
3476
3475
  "name": "executionContextId",
3477
3476
  "description": "If specified, the binding would only be exposed to the specified\nexecution context. If omitted and `executionContextName` is not set,\nthe binding is exposed to all execution contexts of the target.\nThis parameter is mutually exclusive with `executionContextName`.\nDeprecated in favor of `executionContextName` due to an unclear use case\nand bugs in implementation (crbug.com/1169639). `executionContextId` will be\nremoved in the future.",
3477
+ "experimental": true,
3478
3478
  "deprecated": true,
3479
3479
  "optional": true,
3480
3480
  "$ref": "ExecutionContextId"
@@ -3482,7 +3482,6 @@
3482
3482
  {
3483
3483
  "name": "executionContextName",
3484
3484
  "description": "If specified, the binding is exposed to the executionContext with\nmatching name, even for contexts created after the binding is added.\nSee also `ExecutionContext.name` and `worldName` parameter to\n`Page.addScriptToEvaluateOnNewDocument`.\nThis parameter is mutually exclusive with `executionContextId`.",
3485
- "experimental": true,
3486
3485
  "optional": true,
3487
3486
  "type": "string"
3488
3487
  }
@@ -3491,7 +3490,6 @@
3491
3490
  {
3492
3491
  "name": "removeBinding",
3493
3492
  "description": "This method does not remove binding function from global object but\nunsubscribes current runtime agent from Runtime.bindingCalled notifications.",
3494
- "experimental": true,
3495
3493
  "parameters": [
3496
3494
  {
3497
3495
  "name": "name",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1245094",
3
+ "version": "0.0.1248698",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1299,7 +1299,7 @@ domain Browser
1299
1299
  optional BrowserContextID browserContextId
1300
1300
 
1301
1301
  # Reset all permission management for all origins.
1302
- experimental command resetPermissions
1302
+ command resetPermissions
1303
1303
  parameters
1304
1304
  # BrowserContext to reset permissions. When omitted, default browser context is used.
1305
1305
  optional BrowserContextID browserContextId
@@ -2737,7 +2737,7 @@ domain DOM
2737
2737
  # Scrolls the specified rect of the given node into view if not already visible.
2738
2738
  # Note: exactly one between nodeId, backendNodeId and objectId should be passed
2739
2739
  # to identify the node.
2740
- experimental command scrollIntoViewIfNeeded
2740
+ command scrollIntoViewIfNeeded
2741
2741
  parameters
2742
2742
  # Identifier of the node.
2743
2743
  optional NodeId nodeId
@@ -4045,7 +4045,7 @@ domain Emulation
4045
4045
  optional boolean enabled
4046
4046
 
4047
4047
  # Enables CPU throttling to emulate slow CPUs.
4048
- experimental command setCPUThrottlingRate
4048
+ command setCPUThrottlingRate
4049
4049
  parameters
4050
4050
  # Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
4051
4051
  number rate
@@ -4124,7 +4124,7 @@ domain Emulation
4124
4124
  optional array of MediaFeature features
4125
4125
 
4126
4126
  # Emulates the given vision deficiency.
4127
- experimental command setEmulatedVisionDeficiency
4127
+ command setEmulatedVisionDeficiency
4128
4128
  parameters
4129
4129
  # Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
4130
4130
  # physiologically accurate emulations for medically recognized color vision deficiencies.
@@ -4173,7 +4173,7 @@ domain Emulation
4173
4173
  SensorReading reading
4174
4174
 
4175
4175
  # Overrides the Idle state.
4176
- experimental command setIdleOverride
4176
+ command setIdleOverride
4177
4177
  parameters
4178
4178
  # Mock isUserActive
4179
4179
  boolean isUserActive
@@ -4181,7 +4181,7 @@ domain Emulation
4181
4181
  boolean isScreenUnlocked
4182
4182
 
4183
4183
  # Clears Idle state overrides.
4184
- experimental command clearIdleOverride
4184
+ command clearIdleOverride
4185
4185
 
4186
4186
  # Overrides value returned by the javascript navigator object.
4187
4187
  experimental deprecated command setNavigatorOverrides
@@ -4234,7 +4234,7 @@ domain Emulation
4234
4234
  optional string locale
4235
4235
 
4236
4236
  # Overrides default host system timezone with the specified one.
4237
- experimental command setTimezoneOverride
4237
+ command setTimezoneOverride
4238
4238
  parameters
4239
4239
  # The timezone identifier. If empty, disables the override and
4240
4240
  # restores default host system timezone.
@@ -5720,6 +5720,8 @@ domain Network
5720
5720
  deprecated optional string headersText
5721
5721
  # Resource mimeType as determined by the browser.
5722
5722
  string mimeType
5723
+ # Resource charset as determined by the browser (if applicable).
5724
+ string charset
5723
5725
  # Refined HTTP request headers that were actually transmitted over the network.
5724
5726
  optional Headers requestHeaders
5725
5727
  # HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.
@@ -6374,7 +6376,7 @@ domain Network
6374
6376
  array of string urls
6375
6377
 
6376
6378
  # Toggles ignoring of service worker for each request.
6377
- experimental command setBypassServiceWorker
6379
+ command setBypassServiceWorker
6378
6380
  parameters
6379
6381
  # Bypass service worker and load from network.
6380
6382
  boolean bypass
@@ -8398,7 +8400,7 @@ domain Page
8398
8400
  boolean enabled
8399
8401
 
8400
8402
  # Enable page Content Security Policy by-passing.
8401
- experimental command setBypassCSP
8403
+ command setBypassCSP
8402
8404
  parameters
8403
8405
  # Whether to bypass page CSP.
8404
8406
  boolean enabled
@@ -8510,7 +8512,7 @@ domain Page
8510
8512
  optional number accuracy
8511
8513
 
8512
8514
  # Controls whether page will emit lifecycle events.
8513
- experimental command setLifecycleEventsEnabled
8515
+ command setLifecycleEventsEnabled
8514
8516
  parameters
8515
8517
  # If true, starts emitting lifecycle events.
8516
8518
  boolean enabled
@@ -8550,7 +8552,7 @@ domain Page
8550
8552
  experimental command crash
8551
8553
 
8552
8554
  # Tries to close page, running its beforeunload hooks, if any.
8553
- experimental command close
8555
+ command close
8554
8556
 
8555
8557
  # Tries to update the web lifecycle state of the page.
8556
8558
  # It will transition the page to the given state according to:
@@ -8620,7 +8622,7 @@ domain Page
8620
8622
  # Intercept file chooser requests and transfer control to protocol clients.
8621
8623
  # When file chooser interception is enabled, native file chooser dialog is not shown.
8622
8624
  # Instead, a protocol event `Page.fileChooserOpened` is emitted.
8623
- experimental command setInterceptFileChooserDialog
8625
+ command setInterceptFileChooserDialog
8624
8626
  parameters
8625
8627
  boolean enabled
8626
8628
 
@@ -9306,7 +9308,7 @@ domain Security
9306
9308
  command enable
9307
9309
 
9308
9310
  # Enable/disable whether all certificate errors should be ignored.
9309
- experimental command setIgnoreCertificateErrors
9311
+ command setIgnoreCertificateErrors
9310
9312
  parameters
9311
9313
  # If true, all certificate errors will be ignored.
9312
9314
  boolean ignore
@@ -10372,23 +10374,23 @@ domain Target
10372
10374
 
10373
10375
  # Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
10374
10376
  # one.
10375
- experimental command createBrowserContext
10377
+ command createBrowserContext
10376
10378
  parameters
10377
10379
  # If specified, disposes this context when debugging session disconnects.
10378
- optional boolean disposeOnDetach
10380
+ experimental optional boolean disposeOnDetach
10379
10381
  # Proxy server, similar to the one passed to --proxy-server
10380
- optional string proxyServer
10382
+ experimental optional string proxyServer
10381
10383
  # Proxy bypass list, similar to the one passed to --proxy-bypass-list
10382
- optional string proxyBypassList
10384
+ experimental optional string proxyBypassList
10383
10385
  # An optional list of origins to grant unlimited cross-origin access to.
10384
10386
  # Parts of the URL other than those constituting origin are ignored.
10385
- optional array of string originsWithUniversalNetworkAccess
10387
+ experimental optional array of string originsWithUniversalNetworkAccess
10386
10388
  returns
10387
10389
  # The id of the context created.
10388
10390
  Browser.BrowserContextID browserContextId
10389
10391
 
10390
10392
  # Returns all browser contexts created with `Target.createBrowserContext` method.
10391
- experimental command getBrowserContexts
10393
+ command getBrowserContexts
10392
10394
  returns
10393
10395
  # An array of browser context ids.
10394
10396
  array of Browser.BrowserContextID browserContextIds
@@ -10428,7 +10430,7 @@ domain Target
10428
10430
 
10429
10431
  # Deletes a BrowserContext. All the belonging pages will be closed without calling their
10430
10432
  # beforeunload hooks.
10431
- experimental command disposeBrowserContext
10433
+ command disposeBrowserContext
10432
10434
  parameters
10433
10435
  Browser.BrowserContextID browserContextId
10434
10436
 
@@ -10466,7 +10468,7 @@ domain Target
10466
10468
  # automatically detaches from all currently attached targets.
10467
10469
  # This also clears all targets added by `autoAttachRelated` from the list of targets to watch
10468
10470
  # for creation of related targets.
10469
- experimental command setAutoAttach
10471
+ command setAutoAttach
10470
10472
  parameters
10471
10473
  # Whether to auto-attach to related targets.
10472
10474
  boolean autoAttach
@@ -10476,7 +10478,7 @@ domain Target
10476
10478
  # Enables "flat" access to the session via specifying sessionId attribute in the commands.
10477
10479
  # We plan to make this the default, deprecate non-flattened mode,
10478
10480
  # and eventually retire it. See crbug.com/991325.
10479
- optional boolean flatten
10481
+ experimental optional boolean flatten
10480
10482
  # Only targets matching filter will be attached.
10481
10483
  experimental optional TargetFilter filter
10482
10484
 
@@ -1665,7 +1665,7 @@ domain Runtime
1665
1665
  # Binding function takes exactly one argument, this argument should be string,
1666
1666
  # in case of any other input, function throws an exception.
1667
1667
  # Each binding function call produces Runtime.bindingCalled notification.
1668
- experimental command addBinding
1668
+ command addBinding
1669
1669
  parameters
1670
1670
  string name
1671
1671
  # If specified, the binding would only be exposed to the specified
@@ -1675,17 +1675,17 @@ domain Runtime
1675
1675
  # Deprecated in favor of `executionContextName` due to an unclear use case
1676
1676
  # and bugs in implementation (crbug.com/1169639). `executionContextId` will be
1677
1677
  # removed in the future.
1678
- deprecated optional ExecutionContextId executionContextId
1678
+ experimental deprecated optional ExecutionContextId executionContextId
1679
1679
  # If specified, the binding is exposed to the executionContext with
1680
1680
  # matching name, even for contexts created after the binding is added.
1681
1681
  # See also `ExecutionContext.name` and `worldName` parameter to
1682
1682
  # `Page.addScriptToEvaluateOnNewDocument`.
1683
1683
  # This parameter is mutually exclusive with `executionContextId`.
1684
- experimental optional string executionContextName
1684
+ optional string executionContextName
1685
1685
 
1686
1686
  # This method does not remove binding function from global object but
1687
1687
  # unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1688
- experimental command removeBinding
1688
+ command removeBinding
1689
1689
  parameters
1690
1690
  string name
1691
1691