chrome-devtools-frontend 1.0.1516909 → 1.0.1519267
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/owner/COMMON_OWNERS +2 -2
- package/docs/checklist/README.md +2 -2
- package/docs/checklist/javascript.md +1 -1
- package/docs/contributing/README.md +1 -1
- package/docs/contributing/settings-experiments-features.md +9 -8
- package/docs/cookbook/devtools_on_devtools.md +2 -2
- package/docs/cookbook/localization.md +10 -10
- package/docs/devtools-protocol.md +9 -8
- package/docs/ecosystem/automatic_workspace_folders.md +3 -3
- package/docs/get_the_code.md +0 -2
- package/docs/styleguide/ux/components.md +166 -85
- package/docs/styleguide/ux/numbers.md +3 -4
- package/eslint.config.mjs +1 -0
- package/front_end/core/common/README.md +13 -12
- package/front_end/core/host/GdpClient.ts +16 -1
- package/front_end/core/host/UserMetrics.ts +4 -2
- package/front_end/core/root/Runtime.ts +13 -0
- package/front_end/core/sdk/CSSMatchedStyles.ts +5 -1
- package/front_end/core/sdk/EnhancedTracesParser.ts +5 -5
- package/front_end/core/sdk/RehydratingConnection.snapshot.txt +211 -0
- package/front_end/core/sdk/TargetManager.ts +4 -0
- package/front_end/entrypoints/main/MainImpl.ts +6 -3
- package/front_end/generated/InspectorBackendCommands.js +10 -7
- package/front_end/generated/SupportedCSSProperties.js +40 -11
- package/front_end/generated/protocol-mapping.d.ts +16 -1
- package/front_end/generated/protocol-proxy-api.d.ts +13 -1
- package/front_end/generated/protocol.ts +95 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +57 -10
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +119 -51
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +0 -31
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +14 -181
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +19 -315
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +224 -50
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +310 -11
- package/front_end/models/ai_assistance/performance/AIContext.ts +15 -2
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +22 -11
- package/front_end/models/badges/AiExplorerBadge.ts +19 -3
- package/front_end/models/badges/Badge.ts +10 -3
- package/front_end/models/badges/CodeWhispererBadge.ts +3 -4
- package/front_end/models/badges/DOMDetectiveBadge.ts +1 -0
- package/front_end/models/badges/SpeedsterBadge.ts +1 -0
- package/front_end/models/badges/StarterBadge.ts +3 -2
- package/front_end/models/badges/UserBadges.ts +21 -3
- package/front_end/models/badges/badges.ts +1 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +2 -2
- package/front_end/models/trace/EventsSerializer.ts +4 -3
- package/front_end/models/trace/README.md +28 -1
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +101 -73
- package/front_end/models/trace/handlers/UserTimingsHandler.ts +1 -1
- package/front_end/models/trace/helpers/Timing.ts +1 -1
- package/front_end/models/trace/helpers/Trace.ts +99 -43
- package/front_end/models/trace/types/TraceEvents.ts +9 -0
- package/front_end/panels/accessibility/ARIAAttributesView.ts +113 -191
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +9 -9
- package/front_end/panels/accessibility/AccessibilitySubPane.ts +6 -4
- package/front_end/panels/accessibility/accessibilityProperties.css +2 -0
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +20 -3
- package/front_end/panels/ai_assistance/components/ChatView.ts +9 -10
- package/front_end/panels/ai_assistance/components/PerformanceAgentMarkdownRenderer.ts +44 -0
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +2 -2
- package/front_end/panels/common/AiCodeCompletionDisclaimer.ts +32 -9
- package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +7 -1
- package/front_end/panels/common/BadgeNotification.ts +21 -5
- package/front_end/panels/common/GdpSignUpDialog.ts +20 -12
- package/front_end/panels/console/ConsolePrompt.ts +1 -1
- package/front_end/panels/console/ConsoleView.ts +6 -2
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +5 -5
- package/front_end/panels/elements/ElementsPanel.ts +4 -0
- package/front_end/panels/elements/ElementsTreeElement.ts +18 -0
- package/front_end/panels/elements/ElementsTreeOutline.ts +13 -0
- package/front_end/panels/elements/StylePropertyTreeElement.ts +21 -6
- package/front_end/panels/media/TickingFlameChart.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotView.ts +34 -19
- package/front_end/panels/recorder/components/RecordingView.ts +2 -2
- package/front_end/panels/search/SearchResultsPane.ts +167 -152
- package/front_end/panels/search/SearchView.ts +36 -26
- package/front_end/panels/search/searchResultsPane.css +9 -0
- package/front_end/panels/security/CookieControlsView.ts +2 -1
- package/front_end/panels/settings/AISettingsTab.ts +6 -3
- package/front_end/panels/settings/components/SyncSection.ts +39 -17
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +1 -1
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +9 -1
- package/front_end/panels/sources/SourcesPanel.ts +4 -1
- package/front_end/panels/sources/sourcesView.css +6 -1
- package/front_end/panels/timeline/AppenderUtils.ts +2 -2
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +13 -4
- package/front_end/panels/timeline/GPUTrackAppender.ts +2 -1
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +5 -1
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +2 -1
- package/front_end/panels/timeline/ThreadAppender.ts +12 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +9 -4
- package/front_end/panels/timeline/TimelinePanel.ts +3 -2
- package/front_end/panels/timeline/TimelineUIUtils.ts +5 -4
- package/front_end/panels/timeline/TimingsTrackAppender.ts +6 -1
- package/front_end/panels/timeline/components/CPUThrottlingSelector.ts +95 -82
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +1 -1
- package/front_end/panels/timeline/components/LiveMetricsView.ts +2 -2
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +1 -1
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +1 -1
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +1 -1
- package/front_end/panels/timeline/components/cpuThrottlingSelector.css +17 -15
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +3 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +6 -9
- package/front_end/third_party/codemirror.next/package.json +2 -1
- package/front_end/third_party/diff/README.chromium +1 -0
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Realm.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js +16 -25
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +19 -28
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.js +16 -25
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.js.map +1 -1
- package/front_end/third_party/puppeteer/package/package.json +10 -3
- package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/Function.ts +22 -30
- package/front_end/ui/components/dialogs/Dialog.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownImage.ts +4 -5
- package/front_end/ui/components/switch/SwitchImpl.ts +12 -1
- package/front_end/ui/components/text_editor/config.ts +22 -9
- package/front_end/ui/components/tooltips/Tooltip.ts +70 -31
- package/front_end/ui/legacy/README.md +33 -24
- package/front_end/ui/legacy/SearchableView.ts +19 -26
- package/front_end/ui/legacy/TextPrompt.ts +166 -1
- package/front_end/ui/legacy/Treeoutline.ts +19 -3
- package/front_end/ui/legacy/UIUtils.ts +15 -2
- package/front_end/ui/legacy/XElement.ts +0 -43
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +20 -4
- package/front_end/ui/legacy/components/source_frame/XMLView.ts +12 -11
- package/front_end/ui/lit/i18n-template.ts +5 -2
- package/front_end/ui/visual_logging/KnownContextValues.ts +23 -6
- package/front_end/ui/visual_logging/README.md +43 -27
- package/package.json +1 -1
@@ -992,6 +992,217 @@ Content:
|
|
992
992
|
"sessionId": 1
|
993
993
|
}
|
994
994
|
|
995
|
+
/* RehydratingConnection says: */
|
996
|
+
{
|
997
|
+
"method": "Debugger.scriptParsed",
|
998
|
+
"params": {
|
999
|
+
"scriptId": "6",
|
1000
|
+
"isolate": "7348673817420155000",
|
1001
|
+
"buildId": "",
|
1002
|
+
"executionContextId": 1,
|
1003
|
+
"startLine": 0,
|
1004
|
+
"startColumn": 0,
|
1005
|
+
"endLine": 0,
|
1006
|
+
"endColumn": 0,
|
1007
|
+
"hash": "",
|
1008
|
+
"isModule": false,
|
1009
|
+
"url": "",
|
1010
|
+
"hasSourceURL": false,
|
1011
|
+
"sourceURL": "",
|
1012
|
+
"pid": 97964,
|
1013
|
+
"sourceText": "(async function(){ a…",
|
1014
|
+
"length": 32
|
1015
|
+
},
|
1016
|
+
"sessionId": 1
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
/* fakeDevToolsFrontend says: */
|
1020
|
+
{
|
1021
|
+
"id": 21,
|
1022
|
+
"sessionId": 1,
|
1023
|
+
"method": "Debugger.getScriptSource",
|
1024
|
+
"params": {
|
1025
|
+
"scriptId": "6"
|
1026
|
+
}
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/* RehydratingConnection says: */
|
1030
|
+
{
|
1031
|
+
"id": 21,
|
1032
|
+
"result": {
|
1033
|
+
"scriptSource": "(async function(){ a…"
|
1034
|
+
},
|
1035
|
+
"sessionId": 1
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
/* RehydratingConnection says: */
|
1039
|
+
{
|
1040
|
+
"method": "Debugger.scriptParsed",
|
1041
|
+
"params": {
|
1042
|
+
"scriptId": "1",
|
1043
|
+
"isolate": "7348673817420155000",
|
1044
|
+
"buildId": "",
|
1045
|
+
"executionContextId": 1,
|
1046
|
+
"startLine": 0,
|
1047
|
+
"startColumn": 0,
|
1048
|
+
"endLine": 0,
|
1049
|
+
"endColumn": 0,
|
1050
|
+
"hash": "",
|
1051
|
+
"isModule": false,
|
1052
|
+
"url": "",
|
1053
|
+
"hasSourceURL": false,
|
1054
|
+
"sourceURL": "",
|
1055
|
+
"pid": 97964
|
1056
|
+
},
|
1057
|
+
"sessionId": 1
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
/* fakeDevToolsFrontend says: */
|
1061
|
+
{
|
1062
|
+
"id": 22,
|
1063
|
+
"sessionId": 1,
|
1064
|
+
"method": "Debugger.getScriptSource",
|
1065
|
+
"params": {
|
1066
|
+
"scriptId": "1"
|
1067
|
+
}
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
/* RehydratingConnection says: */
|
1071
|
+
{
|
1072
|
+
"id": 22,
|
1073
|
+
"result": {
|
1074
|
+
"scriptSource": "No source text avail…"
|
1075
|
+
},
|
1076
|
+
"sessionId": 1
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
/* RehydratingConnection says: */
|
1080
|
+
{
|
1081
|
+
"method": "Debugger.scriptParsed",
|
1082
|
+
"params": {
|
1083
|
+
"scriptId": "2",
|
1084
|
+
"isolate": "7348673817420155000",
|
1085
|
+
"buildId": "",
|
1086
|
+
"executionContextId": 1,
|
1087
|
+
"startLine": 0,
|
1088
|
+
"startColumn": 0,
|
1089
|
+
"endLine": 0,
|
1090
|
+
"endColumn": 0,
|
1091
|
+
"hash": "",
|
1092
|
+
"isModule": false,
|
1093
|
+
"url": "",
|
1094
|
+
"hasSourceURL": false,
|
1095
|
+
"sourceURL": "",
|
1096
|
+
"pid": 97964,
|
1097
|
+
"sourceText": "() {}…",
|
1098
|
+
"length": 5
|
1099
|
+
},
|
1100
|
+
"sessionId": 1
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
/* fakeDevToolsFrontend says: */
|
1104
|
+
{
|
1105
|
+
"id": 23,
|
1106
|
+
"sessionId": 1,
|
1107
|
+
"method": "Debugger.getScriptSource",
|
1108
|
+
"params": {
|
1109
|
+
"scriptId": "2"
|
1110
|
+
}
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
/* RehydratingConnection says: */
|
1114
|
+
{
|
1115
|
+
"id": 23,
|
1116
|
+
"result": {
|
1117
|
+
"scriptSource": "() {}…"
|
1118
|
+
},
|
1119
|
+
"sessionId": 1
|
1120
|
+
}
|
1121
|
+
|
1122
|
+
/* RehydratingConnection says: */
|
1123
|
+
{
|
1124
|
+
"method": "Debugger.scriptParsed",
|
1125
|
+
"params": {
|
1126
|
+
"scriptId": "3",
|
1127
|
+
"isolate": "7348673817420155000",
|
1128
|
+
"buildId": "",
|
1129
|
+
"executionContextId": 1,
|
1130
|
+
"startLine": 0,
|
1131
|
+
"startColumn": 0,
|
1132
|
+
"endLine": 0,
|
1133
|
+
"endColumn": 0,
|
1134
|
+
"hash": "",
|
1135
|
+
"isModule": false,
|
1136
|
+
"url": "extensions::SafeBuiltins",
|
1137
|
+
"hasSourceURL": false,
|
1138
|
+
"sourceURL": "",
|
1139
|
+
"pid": 97964
|
1140
|
+
},
|
1141
|
+
"sessionId": 1
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
/* fakeDevToolsFrontend says: */
|
1145
|
+
{
|
1146
|
+
"id": 24,
|
1147
|
+
"sessionId": 1,
|
1148
|
+
"method": "Debugger.getScriptSource",
|
1149
|
+
"params": {
|
1150
|
+
"scriptId": "3"
|
1151
|
+
}
|
1152
|
+
}
|
1153
|
+
|
1154
|
+
/* RehydratingConnection says: */
|
1155
|
+
{
|
1156
|
+
"id": 24,
|
1157
|
+
"result": {
|
1158
|
+
"scriptSource": "No source text avail…"
|
1159
|
+
},
|
1160
|
+
"sessionId": 1
|
1161
|
+
}
|
1162
|
+
|
1163
|
+
/* RehydratingConnection says: */
|
1164
|
+
{
|
1165
|
+
"method": "Debugger.scriptParsed",
|
1166
|
+
"params": {
|
1167
|
+
"scriptId": "4",
|
1168
|
+
"isolate": "7348673817420155000",
|
1169
|
+
"buildId": "",
|
1170
|
+
"executionContextId": 1,
|
1171
|
+
"startLine": 0,
|
1172
|
+
"startColumn": 0,
|
1173
|
+
"endLine": 0,
|
1174
|
+
"endColumn": 0,
|
1175
|
+
"hash": "",
|
1176
|
+
"isModule": false,
|
1177
|
+
"url": "v8/LoadTimes",
|
1178
|
+
"hasSourceURL": false,
|
1179
|
+
"sourceURL": "",
|
1180
|
+
"pid": 97964,
|
1181
|
+
"sourceText": "var chrome;if (!chro…",
|
1182
|
+
"length": 198
|
1183
|
+
},
|
1184
|
+
"sessionId": 1
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
/* fakeDevToolsFrontend says: */
|
1188
|
+
{
|
1189
|
+
"id": 25,
|
1190
|
+
"sessionId": 1,
|
1191
|
+
"method": "Debugger.getScriptSource",
|
1192
|
+
"params": {
|
1193
|
+
"scriptId": "4"
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
/* RehydratingConnection says: */
|
1198
|
+
{
|
1199
|
+
"id": 25,
|
1200
|
+
"result": {
|
1201
|
+
"scriptSource": "var chrome;if (!chro…"
|
1202
|
+
},
|
1203
|
+
"sessionId": 1
|
1204
|
+
}
|
1205
|
+
|
995
1206
|
/* RehydratingConnection says: */
|
996
1207
|
{
|
997
1208
|
"id": 2,
|
@@ -318,6 +318,10 @@ export class TargetManager extends Common.ObjectWrapper.ObjectWrapper<EventTypes
|
|
318
318
|
* (eg., tab URL of `devtools://devtools/bundled/devtools_app.html` uses a MainConnection but has no CDP server behind it).
|
319
319
|
*/
|
320
320
|
hasFakeConnection(): boolean {
|
321
|
+
// Rehydrated DevTools always has a fake connection, so we shortcut and avoid the race.
|
322
|
+
if (Root.Runtime.getPathName().includes('rehydrated_devtools_app')) {
|
323
|
+
return true;
|
324
|
+
}
|
321
325
|
// There _may_ be a race condition hiding here on the router/connection creation.
|
322
326
|
// So we play it safe and consider "no connection yet" as "not fake".
|
323
327
|
const connection = this.primaryPageTarget()?.router()?.connection();
|
@@ -127,6 +127,7 @@ const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
127
127
|
let loadedPanelCommonModule: typeof PanelCommon|undefined;
|
128
128
|
export class MainImpl {
|
129
129
|
#readyForTestPromise = Promise.withResolvers<void>();
|
130
|
+
#veStartPromise!: Promise<void>;
|
130
131
|
|
131
132
|
constructor() {
|
132
133
|
MainImpl.instanceForTest = this;
|
@@ -184,11 +185,12 @@ export class MainImpl {
|
|
184
185
|
clickLogThrottler: new Common.Throttler.Throttler(10),
|
185
186
|
resizeLogThrottler: new Common.Throttler.Throttler(10),
|
186
187
|
};
|
187
|
-
|
188
|
+
this.#veStartPromise = VisualLogging.startLogging(options);
|
188
189
|
} else {
|
189
|
-
|
190
|
+
this.#veStartPromise = VisualLogging.startLogging();
|
190
191
|
}
|
191
192
|
}
|
193
|
+
|
192
194
|
void this.#createAppUI();
|
193
195
|
}
|
194
196
|
|
@@ -516,7 +518,7 @@ export class MainImpl {
|
|
516
518
|
this.#registerMessageSinkListener();
|
517
519
|
|
518
520
|
// Initialize `GDPClient` and `UserBadges` for Google Developer Program integration
|
519
|
-
if (
|
521
|
+
if (Host.GdpClient.isGdpProfilesAvailable()) {
|
520
522
|
void Host.GdpClient.GdpClient.instance().initialize();
|
521
523
|
void Badges.UserBadges.instance().initialize();
|
522
524
|
Badges.UserBadges.instance().addEventListener(Badges.Events.BADGE_TRIGGERED, async ev => {
|
@@ -584,6 +586,7 @@ export class MainImpl {
|
|
584
586
|
for (const runnableInstanceFunction of Common.Runnable.earlyInitializationRunnables()) {
|
585
587
|
await runnableInstanceFunction().run();
|
586
588
|
}
|
589
|
+
await this.#veStartPromise;
|
587
590
|
// Used for browser tests.
|
588
591
|
Host.InspectorFrontendHost.InspectorFrontendHostInstance.readyForTest();
|
589
592
|
this.#readyForTestPromise.resolve();
|
@@ -96,7 +96,7 @@ inspectorBackend.registerEnum("Audits.HeavyAdReason", {NetworkTotalLimit: "Netwo
|
|
96
96
|
inspectorBackend.registerEnum("Audits.ContentSecurityPolicyViolationType", {KInlineViolation: "kInlineViolation", KEvalViolation: "kEvalViolation", KURLViolation: "kURLViolation", KSRIViolation: "kSRIViolation", KTrustedTypesSinkViolation: "kTrustedTypesSinkViolation", KTrustedTypesPolicyViolation: "kTrustedTypesPolicyViolation", KWasmEvalViolation: "kWasmEvalViolation"});
|
97
97
|
inspectorBackend.registerEnum("Audits.SharedArrayBufferIssueType", {TransferIssue: "TransferIssue", CreationIssue: "CreationIssue"});
|
98
98
|
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader", SourceAndTriggerHeaders: "SourceAndTriggerHeaders", SourceIgnored: "SourceIgnored", TriggerIgnored: "TriggerIgnored", OsSourceIgnored: "OsSourceIgnored", OsTriggerIgnored: "OsTriggerIgnored", InvalidRegisterOsSourceHeader: "InvalidRegisterOsSourceHeader", InvalidRegisterOsTriggerHeader: "InvalidRegisterOsTriggerHeader", WebAndOsHeaders: "WebAndOsHeaders", NoWebOrOsSupport: "NoWebOrOsSupport", NavigationRegistrationWithoutTransientUserActivation: "NavigationRegistrationWithoutTransientUserActivation", InvalidInfoHeader: "InvalidInfoHeader", NoRegisterSourceHeader: "NoRegisterSourceHeader", NoRegisterTriggerHeader: "NoRegisterTriggerHeader", NoRegisterOsSourceHeader: "NoRegisterOsSourceHeader", NoRegisterOsTriggerHeader: "NoRegisterOsTriggerHeader", NavigationRegistrationUniqueScopeAlreadySet: "NavigationRegistrationUniqueScopeAlreadySet"});
|
99
|
-
inspectorBackend.registerEnum("Audits.SharedDictionaryError", {UseErrorCrossOriginNoCorsRequest: "UseErrorCrossOriginNoCorsRequest", UseErrorDictionaryLoadFailure: "UseErrorDictionaryLoadFailure", UseErrorMatchingDictionaryNotUsed: "UseErrorMatchingDictionaryNotUsed", UseErrorUnexpectedContentDictionaryHeader: "UseErrorUnexpectedContentDictionaryHeader", WriteErrorCossOriginNoCorsRequest: "WriteErrorCossOriginNoCorsRequest", WriteErrorDisallowedBySettings: "WriteErrorDisallowedBySettings", WriteErrorExpiredResponse: "WriteErrorExpiredResponse", WriteErrorFeatureDisabled: "WriteErrorFeatureDisabled", WriteErrorInsufficientResources: "WriteErrorInsufficientResources", WriteErrorInvalidMatchField: "WriteErrorInvalidMatchField", WriteErrorInvalidStructuredHeader: "WriteErrorInvalidStructuredHeader", WriteErrorNavigationRequest: "WriteErrorNavigationRequest", WriteErrorNoMatchField: "WriteErrorNoMatchField", WriteErrorNonListMatchDestField: "WriteErrorNonListMatchDestField", WriteErrorNonSecureContext: "WriteErrorNonSecureContext", WriteErrorNonStringIdField: "WriteErrorNonStringIdField", WriteErrorNonStringInMatchDestList: "WriteErrorNonStringInMatchDestList", WriteErrorNonStringMatchField: "WriteErrorNonStringMatchField", WriteErrorNonTokenTypeField: "WriteErrorNonTokenTypeField", WriteErrorRequestAborted: "WriteErrorRequestAborted", WriteErrorShuttingDown: "WriteErrorShuttingDown", WriteErrorTooLongIdField: "WriteErrorTooLongIdField", WriteErrorUnsupportedType: "WriteErrorUnsupportedType"});
|
99
|
+
inspectorBackend.registerEnum("Audits.SharedDictionaryError", {UseErrorCrossOriginNoCorsRequest: "UseErrorCrossOriginNoCorsRequest", UseErrorDictionaryLoadFailure: "UseErrorDictionaryLoadFailure", UseErrorMatchingDictionaryNotUsed: "UseErrorMatchingDictionaryNotUsed", UseErrorUnexpectedContentDictionaryHeader: "UseErrorUnexpectedContentDictionaryHeader", WriteErrorCossOriginNoCorsRequest: "WriteErrorCossOriginNoCorsRequest", WriteErrorDisallowedBySettings: "WriteErrorDisallowedBySettings", WriteErrorExpiredResponse: "WriteErrorExpiredResponse", WriteErrorFeatureDisabled: "WriteErrorFeatureDisabled", WriteErrorInsufficientResources: "WriteErrorInsufficientResources", WriteErrorInvalidMatchField: "WriteErrorInvalidMatchField", WriteErrorInvalidStructuredHeader: "WriteErrorInvalidStructuredHeader", WriteErrorInvalidTTLField: "WriteErrorInvalidTTLField", WriteErrorNavigationRequest: "WriteErrorNavigationRequest", WriteErrorNoMatchField: "WriteErrorNoMatchField", WriteErrorNonIntegerTTLField: "WriteErrorNonIntegerTTLField", WriteErrorNonListMatchDestField: "WriteErrorNonListMatchDestField", WriteErrorNonSecureContext: "WriteErrorNonSecureContext", WriteErrorNonStringIdField: "WriteErrorNonStringIdField", WriteErrorNonStringInMatchDestList: "WriteErrorNonStringInMatchDestList", WriteErrorNonStringMatchField: "WriteErrorNonStringMatchField", WriteErrorNonTokenTypeField: "WriteErrorNonTokenTypeField", WriteErrorRequestAborted: "WriteErrorRequestAborted", WriteErrorShuttingDown: "WriteErrorShuttingDown", WriteErrorTooLongIdField: "WriteErrorTooLongIdField", WriteErrorUnsupportedType: "WriteErrorUnsupportedType"});
|
100
100
|
inspectorBackend.registerEnum("Audits.SRIMessageSignatureError", {MissingSignatureHeader: "MissingSignatureHeader", MissingSignatureInputHeader: "MissingSignatureInputHeader", InvalidSignatureHeader: "InvalidSignatureHeader", InvalidSignatureInputHeader: "InvalidSignatureInputHeader", SignatureHeaderValueIsNotByteSequence: "SignatureHeaderValueIsNotByteSequence", SignatureHeaderValueIsParameterized: "SignatureHeaderValueIsParameterized", SignatureHeaderValueIsIncorrectLength: "SignatureHeaderValueIsIncorrectLength", SignatureInputHeaderMissingLabel: "SignatureInputHeaderMissingLabel", SignatureInputHeaderValueNotInnerList: "SignatureInputHeaderValueNotInnerList", SignatureInputHeaderValueMissingComponents: "SignatureInputHeaderValueMissingComponents", SignatureInputHeaderInvalidComponentType: "SignatureInputHeaderInvalidComponentType", SignatureInputHeaderInvalidComponentName: "SignatureInputHeaderInvalidComponentName", SignatureInputHeaderInvalidHeaderComponentParameter: "SignatureInputHeaderInvalidHeaderComponentParameter", SignatureInputHeaderInvalidDerivedComponentParameter: "SignatureInputHeaderInvalidDerivedComponentParameter", SignatureInputHeaderKeyIdLength: "SignatureInputHeaderKeyIdLength", SignatureInputHeaderInvalidParameter: "SignatureInputHeaderInvalidParameter", SignatureInputHeaderMissingRequiredParameters: "SignatureInputHeaderMissingRequiredParameters", ValidationFailedSignatureExpired: "ValidationFailedSignatureExpired", ValidationFailedInvalidLength: "ValidationFailedInvalidLength", ValidationFailedSignatureMismatch: "ValidationFailedSignatureMismatch", ValidationFailedIntegrityMismatch: "ValidationFailedIntegrityMismatch"});
|
101
101
|
inspectorBackend.registerEnum("Audits.UnencodedDigestError", {MalformedDictionary: "MalformedDictionary", UnknownAlgorithm: "UnknownAlgorithm", IncorrectDigestType: "IncorrectDigestType", IncorrectDigestLength: "IncorrectDigestLength"});
|
102
102
|
inspectorBackend.registerEnum("Audits.GenericIssueErrorType", {FormLabelForNameError: "FormLabelForNameError", FormDuplicateIdForInputError: "FormDuplicateIdForInputError", FormInputWithNoLabelError: "FormInputWithNoLabelError", FormAutocompleteAttributeEmptyError: "FormAutocompleteAttributeEmptyError", FormEmptyIdAndNameAttributesForInputError: "FormEmptyIdAndNameAttributesForInputError", FormAriaLabelledByToNonExistingId: "FormAriaLabelledByToNonExistingId", FormInputAssignedAutocompleteValueToIdOrNameAttributeError: "FormInputAssignedAutocompleteValueToIdOrNameAttributeError", FormLabelHasNeitherForNorNestedInput: "FormLabelHasNeitherForNorNestedInput", FormLabelForMatchesNonExistingIdError: "FormLabelForMatchesNonExistingIdError", FormInputHasWrongButWellIntendedAutocompleteValueError: "FormInputHasWrongButWellIntendedAutocompleteValueError", ResponseWasBlockedByORB: "ResponseWasBlockedByORB"});
|
@@ -832,7 +832,7 @@ inspectorBackend.registerEvent("Network.directUDPSocketAborted", ["identifier",
|
|
832
832
|
inspectorBackend.registerEvent("Network.directUDPSocketClosed", ["identifier", "timestamp"]);
|
833
833
|
inspectorBackend.registerEvent("Network.directUDPSocketChunkSent", ["identifier", "message", "timestamp"]);
|
834
834
|
inspectorBackend.registerEvent("Network.directUDPSocketChunkReceived", ["identifier", "message", "timestamp"]);
|
835
|
-
inspectorBackend.registerEvent("Network.requestWillBeSentExtraInfo", ["requestId", "associatedCookies", "headers", "connectTiming", "clientSecurityState", "siteHasCookieInOtherPartition"]);
|
835
|
+
inspectorBackend.registerEvent("Network.requestWillBeSentExtraInfo", ["requestId", "associatedCookies", "headers", "connectTiming", "clientSecurityState", "siteHasCookieInOtherPartition", "appliedNetworkConditionsId"]);
|
836
836
|
inspectorBackend.registerEvent("Network.responseReceivedExtraInfo", ["requestId", "blockedCookies", "headers", "resourceIPAddressSpace", "statusCode", "headersText", "cookiePartitionKey", "cookiePartitionKeyOpaque", "exemptedCookies"]);
|
837
837
|
inspectorBackend.registerEvent("Network.responseReceivedEarlyHints", ["requestId", "headers"]);
|
838
838
|
inspectorBackend.registerEnum("Network.TrustTokenOperationDoneEventStatus", {Ok: "Ok", InvalidArgument: "InvalidArgument", MissingIssuerKeys: "MissingIssuerKeys", FailedPrecondition: "FailedPrecondition", ResourceExhausted: "ResourceExhausted", AlreadyExists: "AlreadyExists", ResourceLimited: "ResourceLimited", Unauthorized: "Unauthorized", BadResponse: "BadResponse", InternalError: "InternalError", UnknownError: "UnknownError", FulfilledLocally: "FulfilledLocally", SiteIssuerLimit: "SiteIssuerLimit"});
|
@@ -857,7 +857,9 @@ inspectorBackend.registerCommand("Network.clearBrowserCookies", [], [], "Clears
|
|
857
857
|
inspectorBackend.registerCommand("Network.continueInterceptedRequest", [{"name": "interceptionId", "type": "string", "optional": false, "description": "", "typeRef": "Network.InterceptionId"}, {"name": "errorReason", "type": "string", "optional": true, "description": "If set this causes the request to fail with the given reason. Passing `Aborted` for requests marked with `isNavigationRequest` also cancels the navigation. Must not be set in response to an authChallenge.", "typeRef": "Network.ErrorReason"}, {"name": "rawResponse", "type": "string", "optional": true, "description": "If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge.", "typeRef": null}, {"name": "url", "type": "string", "optional": true, "description": "If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.", "typeRef": null}, {"name": "method", "type": "string", "optional": true, "description": "If set this allows the request method to be overridden. Must not be set in response to an authChallenge.", "typeRef": null}, {"name": "postData", "type": "string", "optional": true, "description": "If set this allows postData to be set. Must not be set in response to an authChallenge.", "typeRef": null}, {"name": "headers", "type": "object", "optional": true, "description": "If set this allows the request headers to be changed. Must not be set in response to an authChallenge.", "typeRef": "Network.Headers"}, {"name": "authChallengeResponse", "type": "object", "optional": true, "description": "Response to a requestIntercepted with an authChallenge. Must not be set otherwise.", "typeRef": "Network.AuthChallengeResponse"}], [], "Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.");
|
858
858
|
inspectorBackend.registerCommand("Network.deleteCookies", [{"name": "name", "type": "string", "optional": false, "description": "Name of the cookies to remove.", "typeRef": null}, {"name": "url", "type": "string", "optional": true, "description": "If specified, deletes all the cookies with the given name where domain and path match provided URL.", "typeRef": null}, {"name": "domain", "type": "string", "optional": true, "description": "If specified, deletes only cookies with the exact domain.", "typeRef": null}, {"name": "path", "type": "string", "optional": true, "description": "If specified, deletes only cookies with the exact path.", "typeRef": null}, {"name": "partitionKey", "type": "object", "optional": true, "description": "If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.", "typeRef": "Network.CookiePartitionKey"}], [], "Deletes browser cookies with matching name and url or domain/path/partitionKey pair.");
|
859
859
|
inspectorBackend.registerCommand("Network.disable", [], [], "Disables network tracking, prevents network events from being sent to the client.");
|
860
|
-
inspectorBackend.registerCommand("Network.emulateNetworkConditions", [{"name": "offline", "type": "boolean", "optional": false, "description": "True to emulate internet disconnection.", "typeRef": null}, {"name": "latency", "type": "number", "optional": false, "description": "Minimum latency from request sent to response headers received (ms).", "typeRef": null}, {"name": "downloadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.", "typeRef": null}, {"name": "uploadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.", "typeRef": null}, {"name": "connectionType", "type": "string", "optional": true, "description": "Connection type if known.", "typeRef": "Network.ConnectionType"}, {"name": "packetLoss", "type": "number", "optional": true, "description": "WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.", "typeRef": null}, {"name": "packetQueueLength", "type": "number", "optional": true, "description": "WebRTC packet queue length (packet). 0 removes any queue length limitations.", "typeRef": null}, {"name": "packetReordering", "type": "boolean", "optional": true, "description": "WebRTC packetReordering feature.", "typeRef": null}], [], "Activates emulation of network conditions.");
|
860
|
+
inspectorBackend.registerCommand("Network.emulateNetworkConditions", [{"name": "offline", "type": "boolean", "optional": false, "description": "True to emulate internet disconnection.", "typeRef": null}, {"name": "latency", "type": "number", "optional": false, "description": "Minimum latency from request sent to response headers received (ms).", "typeRef": null}, {"name": "downloadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.", "typeRef": null}, {"name": "uploadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.", "typeRef": null}, {"name": "connectionType", "type": "string", "optional": true, "description": "Connection type if known.", "typeRef": "Network.ConnectionType"}, {"name": "packetLoss", "type": "number", "optional": true, "description": "WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.", "typeRef": null}, {"name": "packetQueueLength", "type": "number", "optional": true, "description": "WebRTC packet queue length (packet). 0 removes any queue length limitations.", "typeRef": null}, {"name": "packetReordering", "type": "boolean", "optional": true, "description": "WebRTC packetReordering feature.", "typeRef": null}], [], "Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule and overrideNetworkState commands, which can be used together to the same effect.");
|
861
|
+
inspectorBackend.registerCommand("Network.emulateNetworkConditionsByRule", [{"name": "offline", "type": "boolean", "optional": false, "description": "True to emulate internet disconnection.", "typeRef": null}, {"name": "matchedNetworkConditions", "type": "array", "optional": false, "description": "Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are also applied for throttling of p2p connections.", "typeRef": "Network.NetworkConditions"}], ["ruleIds"], "Activates emulation of network conditions for individual requests using URL match patterns.");
|
862
|
+
inspectorBackend.registerCommand("Network.overrideNetworkState", [{"name": "offline", "type": "boolean", "optional": false, "description": "True to emulate internet disconnection.", "typeRef": null}, {"name": "latency", "type": "number", "optional": false, "description": "Minimum latency from request sent to response headers received (ms).", "typeRef": null}, {"name": "downloadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.", "typeRef": null}, {"name": "uploadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.", "typeRef": null}, {"name": "connectionType", "type": "string", "optional": true, "description": "Connection type if known.", "typeRef": "Network.ConnectionType"}], [], "Override the state of navigator.onLine and navigator.connection.");
|
861
863
|
inspectorBackend.registerCommand("Network.enable", [{"name": "maxTotalBufferSize", "type": "number", "optional": true, "description": "Buffer size in bytes to use when preserving network payloads (XHRs, etc).", "typeRef": null}, {"name": "maxResourceBufferSize", "type": "number", "optional": true, "description": "Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).", "typeRef": null}, {"name": "maxPostDataSize", "type": "number", "optional": true, "description": "Longest post body size (in bytes) that would be included in requestWillBeSent notification", "typeRef": null}, {"name": "reportDirectSocketTraffic", "type": "boolean", "optional": true, "description": "Whether DirectSocket chunk send/receive events should be reported.", "typeRef": null}, {"name": "enableDurableMessages", "type": "boolean", "optional": true, "description": "Enable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false.", "typeRef": null}], [], "Enables network tracking, network events will now be delivered to the client.");
|
862
864
|
inspectorBackend.registerCommand("Network.getAllCookies", [], ["cookies"], "Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the `cookies` field. Deprecated. Use Storage.getCookies instead.");
|
863
865
|
inspectorBackend.registerCommand("Network.getCertificate", [{"name": "origin", "type": "string", "optional": false, "description": "Origin to get certificate for.", "typeRef": null}], ["tableNames"], "Returns the DER-encoded certificate.");
|
@@ -884,7 +886,7 @@ inspectorBackend.registerCommand("Network.loadNetworkResource", [{"name": "frame
|
|
884
886
|
inspectorBackend.registerCommand("Network.setCookieControls", [{"name": "enableThirdPartyCookieRestriction", "type": "boolean", "optional": false, "description": "Whether 3pc restriction is enabled.", "typeRef": null}, {"name": "disableThirdPartyCookieMetadata", "type": "boolean", "optional": false, "description": "Whether 3pc grace period exception should be enabled; false by default.", "typeRef": null}, {"name": "disableThirdPartyCookieHeuristics", "type": "boolean", "optional": false, "description": "Whether 3pc heuristics exceptions should be enabled; false by default.", "typeRef": null}], [], "Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed");
|
885
887
|
inspectorBackend.registerType("Network.ResourceTiming", [{"name": "requestTime", "type": "number", "optional": false, "description": "Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.", "typeRef": null}, {"name": "proxyStart", "type": "number", "optional": false, "description": "Started resolving proxy.", "typeRef": null}, {"name": "proxyEnd", "type": "number", "optional": false, "description": "Finished resolving proxy.", "typeRef": null}, {"name": "dnsStart", "type": "number", "optional": false, "description": "Started DNS address resolve.", "typeRef": null}, {"name": "dnsEnd", "type": "number", "optional": false, "description": "Finished DNS address resolve.", "typeRef": null}, {"name": "connectStart", "type": "number", "optional": false, "description": "Started connecting to the remote host.", "typeRef": null}, {"name": "connectEnd", "type": "number", "optional": false, "description": "Connected to the remote host.", "typeRef": null}, {"name": "sslStart", "type": "number", "optional": false, "description": "Started SSL handshake.", "typeRef": null}, {"name": "sslEnd", "type": "number", "optional": false, "description": "Finished SSL handshake.", "typeRef": null}, {"name": "workerStart", "type": "number", "optional": false, "description": "Started running ServiceWorker.", "typeRef": null}, {"name": "workerReady", "type": "number", "optional": false, "description": "Finished Starting ServiceWorker.", "typeRef": null}, {"name": "workerFetchStart", "type": "number", "optional": false, "description": "Started fetch event.", "typeRef": null}, {"name": "workerRespondWithSettled", "type": "number", "optional": false, "description": "Settled fetch event respondWith promise.", "typeRef": null}, {"name": "workerRouterEvaluationStart", "type": "number", "optional": true, "description": "Started ServiceWorker static routing source evaluation.", "typeRef": null}, {"name": "workerCacheLookupStart", "type": "number", "optional": true, "description": "Started cache lookup when the source was evaluated to `cache`.", "typeRef": null}, {"name": "sendStart", "type": "number", "optional": false, "description": "Started sending request.", "typeRef": null}, {"name": "sendEnd", "type": "number", "optional": false, "description": "Finished sending request.", "typeRef": null}, {"name": "pushStart", "type": "number", "optional": false, "description": "Time the server started pushing request.", "typeRef": null}, {"name": "pushEnd", "type": "number", "optional": false, "description": "Time the server finished pushing request.", "typeRef": null}, {"name": "receiveHeadersStart", "type": "number", "optional": false, "description": "Started receiving response headers.", "typeRef": null}, {"name": "receiveHeadersEnd", "type": "number", "optional": false, "description": "Finished receiving response headers.", "typeRef": null}]);
|
886
888
|
inspectorBackend.registerType("Network.PostDataEntry", [{"name": "bytes", "type": "string", "optional": true, "description": "", "typeRef": null}]);
|
887
|
-
inspectorBackend.registerType("Network.Request", [{"name": "url", "type": "string", "optional": false, "description": "Request URL (without fragment).", "typeRef": null}, {"name": "urlFragment", "type": "string", "optional": true, "description": "Fragment of the requested URL starting with hash, if present.", "typeRef": null}, {"name": "method", "type": "string", "optional": false, "description": "HTTP request method.", "typeRef": null}, {"name": "headers", "type": "object", "optional": false, "description": "HTTP request headers.", "typeRef": "Network.Headers"}, {"name": "postData", "type": "string", "optional": true, "description": "HTTP POST request data. Use postDataEntries instead.", "typeRef": null}, {"name": "hasPostData", "type": "boolean", "optional": true, "description": "True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.", "typeRef": null}, {"name": "postDataEntries", "type": "array", "optional": true, "description": "Request body elements (post data broken into individual entries).", "typeRef": "Network.PostDataEntry"}, {"name": "mixedContentType", "type": "string", "optional": true, "description": "The mixed content type of the request.", "typeRef": "Security.MixedContentType"}, {"name": "initialPriority", "type": "string", "optional": false, "description": "Priority of the resource request at the time request is sent.", "typeRef": "Network.ResourcePriority"}, {"name": "referrerPolicy", "type": "string", "optional": false, "description": "The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/", "typeRef": null}, {"name": "isLinkPreload", "type": "boolean", "optional": true, "description": "Whether is loaded via link preload.", "typeRef": null}, {"name": "trustTokenParams", "type": "object", "optional": true, "description": "Set for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via \\\"fetch\\\") as understood by the backend.", "typeRef": "Network.TrustTokenParams"}, {"name": "isSameSite", "type": "boolean", "optional": true, "description": "True if this resource request is considered to be the 'same site' as the request corresponding to the main frame.", "typeRef": null}]);
|
889
|
+
inspectorBackend.registerType("Network.Request", [{"name": "url", "type": "string", "optional": false, "description": "Request URL (without fragment).", "typeRef": null}, {"name": "urlFragment", "type": "string", "optional": true, "description": "Fragment of the requested URL starting with hash, if present.", "typeRef": null}, {"name": "method", "type": "string", "optional": false, "description": "HTTP request method.", "typeRef": null}, {"name": "headers", "type": "object", "optional": false, "description": "HTTP request headers.", "typeRef": "Network.Headers"}, {"name": "postData", "type": "string", "optional": true, "description": "HTTP POST request data. Use postDataEntries instead.", "typeRef": null}, {"name": "hasPostData", "type": "boolean", "optional": true, "description": "True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.", "typeRef": null}, {"name": "postDataEntries", "type": "array", "optional": true, "description": "Request body elements (post data broken into individual entries).", "typeRef": "Network.PostDataEntry"}, {"name": "mixedContentType", "type": "string", "optional": true, "description": "The mixed content type of the request.", "typeRef": "Security.MixedContentType"}, {"name": "initialPriority", "type": "string", "optional": false, "description": "Priority of the resource request at the time request is sent.", "typeRef": "Network.ResourcePriority"}, {"name": "referrerPolicy", "type": "string", "optional": false, "description": "The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/", "typeRef": null}, {"name": "isLinkPreload", "type": "boolean", "optional": true, "description": "Whether is loaded via link preload.", "typeRef": null}, {"name": "trustTokenParams", "type": "object", "optional": true, "description": "Set for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via \\\"fetch\\\") as understood by the backend.", "typeRef": "Network.TrustTokenParams"}, {"name": "isSameSite", "type": "boolean", "optional": true, "description": "True if this resource request is considered to be the 'same site' as the request corresponding to the main frame.", "typeRef": null}, {"name": "isAdRelated", "type": "boolean", "optional": true, "description": "True when the resource request is ad-related.", "typeRef": null}]);
|
888
890
|
inspectorBackend.registerType("Network.SignedCertificateTimestamp", [{"name": "status", "type": "string", "optional": false, "description": "Validation status.", "typeRef": null}, {"name": "origin", "type": "string", "optional": false, "description": "Origin.", "typeRef": null}, {"name": "logDescription", "type": "string", "optional": false, "description": "Log name / description.", "typeRef": null}, {"name": "logId", "type": "string", "optional": false, "description": "Log ID.", "typeRef": null}, {"name": "timestamp", "type": "number", "optional": false, "description": "Issuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, 1970, UTC, not the number of seconds.", "typeRef": null}, {"name": "hashAlgorithm", "type": "string", "optional": false, "description": "Hash algorithm.", "typeRef": null}, {"name": "signatureAlgorithm", "type": "string", "optional": false, "description": "Signature algorithm.", "typeRef": null}, {"name": "signatureData", "type": "string", "optional": false, "description": "Signature data.", "typeRef": null}]);
|
889
891
|
inspectorBackend.registerType("Network.SecurityDetails", [{"name": "protocol", "type": "string", "optional": false, "description": "Protocol name (e.g. \\\"TLS 1.2\\\" or \\\"QUIC\\\").", "typeRef": null}, {"name": "keyExchange", "type": "string", "optional": false, "description": "Key Exchange used by the connection, or the empty string if not applicable.", "typeRef": null}, {"name": "keyExchangeGroup", "type": "string", "optional": true, "description": "(EC)DH group used by the connection, if applicable.", "typeRef": null}, {"name": "cipher", "type": "string", "optional": false, "description": "Cipher name.", "typeRef": null}, {"name": "mac", "type": "string", "optional": true, "description": "TLS MAC. Note that AEAD ciphers do not have separate MACs.", "typeRef": null}, {"name": "certificateId", "type": "number", "optional": false, "description": "Certificate ID value.", "typeRef": "Security.CertificateId"}, {"name": "subjectName", "type": "string", "optional": false, "description": "Certificate subject name.", "typeRef": null}, {"name": "sanList", "type": "array", "optional": false, "description": "Subject Alternative Name (SAN) DNS names and IP addresses.", "typeRef": "string"}, {"name": "issuer", "type": "string", "optional": false, "description": "Name of the issuing CA.", "typeRef": null}, {"name": "validFrom", "type": "number", "optional": false, "description": "Certificate valid from date.", "typeRef": "Network.TimeSinceEpoch"}, {"name": "validTo", "type": "number", "optional": false, "description": "Certificate valid to (expiration) date", "typeRef": "Network.TimeSinceEpoch"}, {"name": "signedCertificateTimestampList", "type": "array", "optional": false, "description": "List of signed certificate timestamps (SCTs).", "typeRef": "Network.SignedCertificateTimestamp"}, {"name": "certificateTransparencyCompliance", "type": "string", "optional": false, "description": "Whether the request complied with Certificate Transparency policy", "typeRef": "Network.CertificateTransparencyCompliance"}, {"name": "serverSignatureAlgorithm", "type": "number", "optional": true, "description": "The signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point. Omitted if not applicable or not known.", "typeRef": null}, {"name": "encryptedClientHello", "type": "boolean", "optional": false, "description": "Whether the connection used Encrypted ClientHello", "typeRef": null}]);
|
890
892
|
inspectorBackend.registerType("Network.CorsErrorStatus", [{"name": "corsError", "type": "string", "optional": false, "description": "", "typeRef": "Network.CorsError"}, {"name": "failedParameter", "type": "string", "optional": false, "description": "", "typeRef": null}]);
|
@@ -909,6 +911,7 @@ inspectorBackend.registerType("Network.SignedExchangeSignature", [{"name": "labe
|
|
909
911
|
inspectorBackend.registerType("Network.SignedExchangeHeader", [{"name": "requestUrl", "type": "string", "optional": false, "description": "Signed exchange request URL.", "typeRef": null}, {"name": "responseCode", "type": "number", "optional": false, "description": "Signed exchange response code.", "typeRef": null}, {"name": "responseHeaders", "type": "object", "optional": false, "description": "Signed exchange response headers.", "typeRef": "Network.Headers"}, {"name": "signatures", "type": "array", "optional": false, "description": "Signed exchange response signature.", "typeRef": "Network.SignedExchangeSignature"}, {"name": "headerIntegrity", "type": "string", "optional": false, "description": "Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.", "typeRef": null}]);
|
910
912
|
inspectorBackend.registerType("Network.SignedExchangeError", [{"name": "message", "type": "string", "optional": false, "description": "Error message.", "typeRef": null}, {"name": "signatureIndex", "type": "number", "optional": true, "description": "The index of the signature which caused the error.", "typeRef": null}, {"name": "errorField", "type": "string", "optional": true, "description": "The field which caused the error.", "typeRef": "Network.SignedExchangeErrorField"}]);
|
911
913
|
inspectorBackend.registerType("Network.SignedExchangeInfo", [{"name": "outerResponse", "type": "object", "optional": false, "description": "The outer response of signed HTTP exchange which was received from network.", "typeRef": "Network.Response"}, {"name": "hasExtraInfo", "type": "boolean", "optional": false, "description": "Whether network response for the signed exchange was accompanied by extra headers.", "typeRef": null}, {"name": "header", "type": "object", "optional": true, "description": "Information about the signed exchange header.", "typeRef": "Network.SignedExchangeHeader"}, {"name": "securityDetails", "type": "object", "optional": true, "description": "Security details for the signed exchange header.", "typeRef": "Network.SecurityDetails"}, {"name": "errors", "type": "array", "optional": true, "description": "Errors occurred while handling the signed exchange.", "typeRef": "Network.SignedExchangeError"}]);
|
914
|
+
inspectorBackend.registerType("Network.NetworkConditions", [{"name": "urlPattern", "type": "string", "optional": false, "description": "Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p connections).", "typeRef": null}, {"name": "latency", "type": "number", "optional": false, "description": "Minimum latency from request sent to response headers received (ms).", "typeRef": null}, {"name": "downloadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.", "typeRef": null}, {"name": "uploadThroughput", "type": "number", "optional": false, "description": "Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.", "typeRef": null}, {"name": "connectionType", "type": "string", "optional": true, "description": "Connection type if known.", "typeRef": "Network.ConnectionType"}, {"name": "packetLoss", "type": "number", "optional": true, "description": "WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.", "typeRef": null}, {"name": "packetQueueLength", "type": "number", "optional": true, "description": "WebRTC packet queue length (packet). 0 removes any queue length limitations.", "typeRef": null}, {"name": "packetReordering", "type": "boolean", "optional": true, "description": "WebRTC packetReordering feature.", "typeRef": null}]);
|
912
915
|
inspectorBackend.registerType("Network.DirectTCPSocketOptions", [{"name": "noDelay", "type": "boolean", "optional": false, "description": "TCP_NODELAY option", "typeRef": null}, {"name": "keepAliveDelay", "type": "number", "optional": true, "description": "Expected to be unsigned integer.", "typeRef": null}, {"name": "sendBufferSize", "type": "number", "optional": true, "description": "Expected to be unsigned integer.", "typeRef": null}, {"name": "receiveBufferSize", "type": "number", "optional": true, "description": "Expected to be unsigned integer.", "typeRef": null}, {"name": "dnsQueryType", "type": "string", "optional": true, "description": "", "typeRef": "Network.DirectSocketDnsQueryType"}]);
|
913
916
|
inspectorBackend.registerType("Network.DirectUDPSocketOptions", [{"name": "remoteAddr", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "remotePort", "type": "number", "optional": true, "description": "Unsigned int 16.", "typeRef": null}, {"name": "localAddr", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "localPort", "type": "number", "optional": true, "description": "Unsigned int 16.", "typeRef": null}, {"name": "dnsQueryType", "type": "string", "optional": true, "description": "", "typeRef": "Network.DirectSocketDnsQueryType"}, {"name": "sendBufferSize", "type": "number", "optional": true, "description": "Expected to be unsigned integer.", "typeRef": null}, {"name": "receiveBufferSize", "type": "number", "optional": true, "description": "Expected to be unsigned integer.", "typeRef": null}]);
|
914
917
|
inspectorBackend.registerType("Network.DirectUDPMessage", [{"name": "data", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "remoteAddr", "type": "string", "optional": true, "description": "Null for connected mode.", "typeRef": null}, {"name": "remotePort", "type": "number", "optional": true, "description": "Null for connected mode. Expected to be unsigned integer.", "typeRef": null}]);
|
@@ -1553,11 +1556,11 @@ inspectorBackend.registerType("Profiler.ScriptCoverage", [{"name": "scriptId", "
|
|
1553
1556
|
inspectorBackend.registerEnum("Runtime.SerializationOptionsSerialization", {Deep: "deep", Json: "json", IdOnly: "idOnly"});
|
1554
1557
|
inspectorBackend.registerEnum("Runtime.DeepSerializedValueType", {Undefined: "undefined", Null: "null", String: "string", Number: "number", Boolean: "boolean", Bigint: "bigint", Regexp: "regexp", Date: "date", Symbol: "symbol", Array: "array", Object: "object", Function: "function", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Node: "node", Window: "window", Generator: "generator"});
|
1555
1558
|
inspectorBackend.registerEnum("Runtime.RemoteObjectType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol", Bigint: "bigint"});
|
1556
|
-
inspectorBackend.registerEnum("Runtime.RemoteObjectSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Generator: "generator", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Dataview: "dataview", Webassemblymemory: "webassemblymemory", Wasmvalue: "wasmvalue"});
|
1559
|
+
inspectorBackend.registerEnum("Runtime.RemoteObjectSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Generator: "generator", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Dataview: "dataview", Webassemblymemory: "webassemblymemory", Wasmvalue: "wasmvalue", Trustedtype: "trustedtype"});
|
1557
1560
|
inspectorBackend.registerEnum("Runtime.ObjectPreviewType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol", Bigint: "bigint"});
|
1558
|
-
inspectorBackend.registerEnum("Runtime.ObjectPreviewSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Generator: "generator", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Dataview: "dataview", Webassemblymemory: "webassemblymemory", Wasmvalue: "wasmvalue"});
|
1561
|
+
inspectorBackend.registerEnum("Runtime.ObjectPreviewSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Generator: "generator", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Dataview: "dataview", Webassemblymemory: "webassemblymemory", Wasmvalue: "wasmvalue", Trustedtype: "trustedtype"});
|
1559
1562
|
inspectorBackend.registerEnum("Runtime.PropertyPreviewType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol", Accessor: "accessor", Bigint: "bigint"});
|
1560
|
-
inspectorBackend.registerEnum("Runtime.PropertyPreviewSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Generator: "generator", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Dataview: "dataview", Webassemblymemory: "webassemblymemory", Wasmvalue: "wasmvalue"});
|
1563
|
+
inspectorBackend.registerEnum("Runtime.PropertyPreviewSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Generator: "generator", Error: "error", Proxy: "proxy", Promise: "promise", Typedarray: "typedarray", Arraybuffer: "arraybuffer", Dataview: "dataview", Webassemblymemory: "webassemblymemory", Wasmvalue: "wasmvalue", Trustedtype: "trustedtype"});
|
1561
1564
|
inspectorBackend.registerEvent("Runtime.bindingCalled", ["name", "payload", "executionContextId"]);
|
1562
1565
|
inspectorBackend.registerEnum("Runtime.ConsoleAPICalledEventType", {Log: "log", Debug: "debug", Info: "info", Error: "error", Warning: "warning", Dir: "dir", DirXML: "dirxml", Table: "table", Trace: "trace", Clear: "clear", StartGroup: "startGroup", StartGroupCollapsed: "startGroupCollapsed", EndGroup: "endGroup", Assert: "assert", Profile: "profile", ProfileEnd: "profileEnd", Count: "count", TimeEnd: "timeEnd"});
|
1563
1566
|
inspectorBackend.registerEvent("Runtime.consoleAPICalled", ["type", "args", "executionContextId", "timestamp", "stackTrace", "context"]);
|
@@ -473,6 +473,7 @@ export const generatedProperties = [
|
|
473
473
|
"font-family",
|
474
474
|
"font-feature-settings",
|
475
475
|
"font-kerning",
|
476
|
+
"font-language-override",
|
476
477
|
"font-optical-sizing",
|
477
478
|
"font-palette",
|
478
479
|
"font-size",
|
@@ -517,8 +518,8 @@ export const generatedProperties = [
|
|
517
518
|
"inset-block-start",
|
518
519
|
"inset-inline-end",
|
519
520
|
"inset-inline-start",
|
520
|
-
"interest-
|
521
|
-
"interest-
|
521
|
+
"interest-delay-end",
|
522
|
+
"interest-delay-start",
|
522
523
|
"interpolate-size",
|
523
524
|
"isolation",
|
524
525
|
"item-tolerance",
|
@@ -640,6 +641,7 @@ export const generatedProperties = [
|
|
640
641
|
"row-rule-style",
|
641
642
|
"row-rule-width",
|
642
643
|
"ruby-align",
|
644
|
+
"ruby-overhang",
|
643
645
|
"ruby-position",
|
644
646
|
"rx",
|
645
647
|
"ry",
|
@@ -737,7 +739,7 @@ export const generatedProperties = [
|
|
737
739
|
"timeline-trigger-name",
|
738
740
|
"timeline-trigger-range-end",
|
739
741
|
"timeline-trigger-range-start",
|
740
|
-
"timeline-trigger-
|
742
|
+
"timeline-trigger-source",
|
741
743
|
"top",
|
742
744
|
"touch-action",
|
743
745
|
"transform",
|
@@ -2264,7 +2266,8 @@ export const generatedProperties = [
|
|
2264
2266
|
"font-size-adjust",
|
2265
2267
|
"font-kerning",
|
2266
2268
|
"font-feature-settings",
|
2267
|
-
"font-variation-settings"
|
2269
|
+
"font-variation-settings",
|
2270
|
+
"font-language-override"
|
2268
2271
|
],
|
2269
2272
|
"name": "font"
|
2270
2273
|
},
|
@@ -2291,6 +2294,13 @@ export const generatedProperties = [
|
|
2291
2294
|
],
|
2292
2295
|
"name": "font-kerning"
|
2293
2296
|
},
|
2297
|
+
{
|
2298
|
+
"inherited": true,
|
2299
|
+
"keywords": [
|
2300
|
+
"normal"
|
2301
|
+
],
|
2302
|
+
"name": "font-language-override"
|
2303
|
+
},
|
2294
2304
|
{
|
2295
2305
|
"inherited": true,
|
2296
2306
|
"keywords": [
|
@@ -2752,16 +2762,16 @@ export const generatedProperties = [
|
|
2752
2762
|
},
|
2753
2763
|
{
|
2754
2764
|
"longhands": [
|
2755
|
-
"interest-
|
2756
|
-
"interest-
|
2765
|
+
"interest-delay-start",
|
2766
|
+
"interest-delay-end"
|
2757
2767
|
],
|
2758
2768
|
"name": "interest-delay"
|
2759
2769
|
},
|
2760
2770
|
{
|
2761
|
-
"name": "interest-
|
2771
|
+
"name": "interest-delay-end"
|
2762
2772
|
},
|
2763
2773
|
{
|
2764
|
-
"name": "interest-
|
2774
|
+
"name": "interest-delay-start"
|
2765
2775
|
},
|
2766
2776
|
{
|
2767
2777
|
"inherited": true,
|
@@ -3723,6 +3733,14 @@ export const generatedProperties = [
|
|
3723
3733
|
],
|
3724
3734
|
"name": "ruby-align"
|
3725
3735
|
},
|
3736
|
+
{
|
3737
|
+
"inherited": true,
|
3738
|
+
"keywords": [
|
3739
|
+
"auto",
|
3740
|
+
"none"
|
3741
|
+
],
|
3742
|
+
"name": "ruby-overhang"
|
3743
|
+
},
|
3726
3744
|
{
|
3727
3745
|
"inherited": true,
|
3728
3746
|
"keywords": [
|
@@ -4413,7 +4431,7 @@ export const generatedProperties = [
|
|
4413
4431
|
{
|
4414
4432
|
"longhands": [
|
4415
4433
|
"timeline-trigger-name",
|
4416
|
-
"timeline-trigger-
|
4434
|
+
"timeline-trigger-source",
|
4417
4435
|
"timeline-trigger-behavior",
|
4418
4436
|
"timeline-trigger-range-start",
|
4419
4437
|
"timeline-trigger-range-end",
|
@@ -4451,7 +4469,7 @@ export const generatedProperties = [
|
|
4451
4469
|
"none",
|
4452
4470
|
"auto"
|
4453
4471
|
],
|
4454
|
-
"name": "timeline-trigger-
|
4472
|
+
"name": "timeline-trigger-source"
|
4455
4473
|
},
|
4456
4474
|
{
|
4457
4475
|
"keywords": [
|
@@ -5660,6 +5678,11 @@ export const generatedPropertyValues = {
|
|
5660
5678
|
"none"
|
5661
5679
|
]
|
5662
5680
|
},
|
5681
|
+
"font-language-override": {
|
5682
|
+
"values": [
|
5683
|
+
"normal"
|
5684
|
+
]
|
5685
|
+
},
|
5663
5686
|
"font-optical-sizing": {
|
5664
5687
|
"values": [
|
5665
5688
|
"auto",
|
@@ -6468,6 +6491,12 @@ export const generatedPropertyValues = {
|
|
6468
6491
|
"space-between"
|
6469
6492
|
]
|
6470
6493
|
},
|
6494
|
+
"ruby-overhang": {
|
6495
|
+
"values": [
|
6496
|
+
"auto",
|
6497
|
+
"none"
|
6498
|
+
]
|
6499
|
+
},
|
6471
6500
|
"ruby-position": {
|
6472
6501
|
"values": [
|
6473
6502
|
"over",
|
@@ -6825,7 +6854,7 @@ export const generatedPropertyValues = {
|
|
6825
6854
|
"state"
|
6826
6855
|
]
|
6827
6856
|
},
|
6828
|
-
"timeline-trigger-
|
6857
|
+
"timeline-trigger-source": {
|
6829
6858
|
"values": [
|
6830
6859
|
"none",
|
6831
6860
|
"auto"
|
@@ -3340,12 +3340,27 @@ export namespace ProtocolMapping {
|
|
3340
3340
|
returnType: void;
|
3341
3341
|
};
|
3342
3342
|
/**
|
3343
|
-
* Activates emulation of network conditions.
|
3343
|
+
* Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
|
3344
|
+
* and overrideNetworkState commands, which can be used together to the same effect.
|
3344
3345
|
*/
|
3345
3346
|
'Network.emulateNetworkConditions': {
|
3346
3347
|
paramsType: [Protocol.Network.EmulateNetworkConditionsRequest];
|
3347
3348
|
returnType: void;
|
3348
3349
|
};
|
3350
|
+
/**
|
3351
|
+
* Activates emulation of network conditions for individual requests using URL match patterns.
|
3352
|
+
*/
|
3353
|
+
'Network.emulateNetworkConditionsByRule': {
|
3354
|
+
paramsType: [Protocol.Network.EmulateNetworkConditionsByRuleRequest];
|
3355
|
+
returnType: Protocol.Network.EmulateNetworkConditionsByRuleResponse;
|
3356
|
+
};
|
3357
|
+
/**
|
3358
|
+
* Override the state of navigator.onLine and navigator.connection.
|
3359
|
+
*/
|
3360
|
+
'Network.overrideNetworkState': {
|
3361
|
+
paramsType: [Protocol.Network.OverrideNetworkStateRequest];
|
3362
|
+
returnType: void;
|
3363
|
+
};
|
3349
3364
|
/**
|
3350
3365
|
* Enables network tracking, network events will now be delivered to the client.
|
3351
3366
|
*/
|
@@ -2514,10 +2514,22 @@ declare namespace ProtocolProxyApi {
|
|
2514
2514
|
invoke_disable(): Promise<Protocol.ProtocolResponseWithError>;
|
2515
2515
|
|
2516
2516
|
/**
|
2517
|
-
* Activates emulation of network conditions.
|
2517
|
+
* Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
|
2518
|
+
* and overrideNetworkState commands, which can be used together to the same effect.
|
2519
|
+
* @deprecated
|
2518
2520
|
*/
|
2519
2521
|
invoke_emulateNetworkConditions(params: Protocol.Network.EmulateNetworkConditionsRequest): Promise<Protocol.ProtocolResponseWithError>;
|
2520
2522
|
|
2523
|
+
/**
|
2524
|
+
* Activates emulation of network conditions for individual requests using URL match patterns.
|
2525
|
+
*/
|
2526
|
+
invoke_emulateNetworkConditionsByRule(params: Protocol.Network.EmulateNetworkConditionsByRuleRequest): Promise<Protocol.Network.EmulateNetworkConditionsByRuleResponse>;
|
2527
|
+
|
2528
|
+
/**
|
2529
|
+
* Override the state of navigator.onLine and navigator.connection.
|
2530
|
+
*/
|
2531
|
+
invoke_overrideNetworkState(params: Protocol.Network.OverrideNetworkStateRequest): Promise<Protocol.ProtocolResponseWithError>;
|
2532
|
+
|
2521
2533
|
/**
|
2522
2534
|
* Enables network tracking, network events will now be delivered to the client.
|
2523
2535
|
*/
|