chrome-devtools-frontend 1.0.1028166 → 1.0.1029692
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/gni/devtools_grd_files.gni +5 -5
- package/config/gni/devtools_image_files.gni +1 -0
- package/front_end/Images/src/clear-warning_icon.svg +99 -0
- package/front_end/core/common/WasmDisassembly.ts +6 -1
- package/front_end/core/host/ResourceLoader.ts +17 -3
- package/front_end/core/i18n/locales/en-US.json +15 -3
- package/front_end/core/i18n/locales/en-XL.json +15 -3
- package/front_end/core/sdk/NetworkManager.ts +3 -1
- package/front_end/core/sdk/Script.ts +39 -13
- package/front_end/generated/InspectorBackendCommands.js +9 -9
- package/front_end/generated/SupportedCSSProperties.js +2 -4
- package/front_end/generated/protocol.ts +48 -11
- package/front_end/models/bindings/ContentProviderBasedProject.ts +7 -1
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +26 -36
- package/front_end/models/issues_manager/DeprecationIssue.ts +17 -2
- package/front_end/models/issues_manager/descriptions/arInsecureContext.md +7 -0
- package/front_end/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
- package/front_end/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
- package/front_end/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +7 -4
- package/front_end/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +1 -1
- package/front_end/models/text_utils/ContentProvider.ts +9 -1
- package/front_end/panels/application/components/Prerender2.ts +12 -0
- package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +11 -42
- package/front_end/panels/network/components/RequestHeadersView.ts +86 -46
- package/front_end/panels/network/network-meta.ts +16 -0
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +41 -21
- package/front_end/panels/timeline/TimelineLoader.ts +2 -1
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +25 -7
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +22 -30
- package/front_end/ui/legacy/SplitWidget.ts +2 -0
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +9 -51
- package/package.json +1 -1
- package/front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyFrameOrigin.md +0 -4
- package/front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyOrigin.md +0 -5
- package/front_end/models/issues_manager/descriptions/arAttributionUntrustworthyFrameOrigin.md +0 -4
- package/front_end/models/issues_manager/descriptions/arAttributionUntrustworthyOrigin.md +0 -4
- package/front_end/models/issues_manager/descriptions/arInvalidHeader.md +0 -3
@@ -47,6 +47,7 @@ grd_files_release_sources = [
|
|
47
47
|
"front_end/Images/chromeSelectDark.svg",
|
48
48
|
"front_end/Images/circled_backslash_icon.svg",
|
49
49
|
"front_end/Images/circled_exclamation_icon.svg",
|
50
|
+
"front_end/Images/clear-warning_icon.svg",
|
50
51
|
"front_end/Images/close-icon.svg",
|
51
52
|
"front_end/Images/copy_icon.svg",
|
52
53
|
"front_end/Images/cssoverview_icons_2x.avif",
|
@@ -278,12 +279,11 @@ grd_files_release_sources = [
|
|
278
279
|
"front_end/models/issues_manager/descriptions/TwaDigitalAssetLinksFailed.md",
|
279
280
|
"front_end/models/issues_manager/descriptions/TwaHttpError.md",
|
280
281
|
"front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
|
281
|
-
"front_end/models/issues_manager/descriptions/
|
282
|
-
"front_end/models/issues_manager/descriptions/
|
283
|
-
"front_end/models/issues_manager/descriptions/
|
284
|
-
"front_end/models/issues_manager/descriptions/arAttributionUntrustworthyOrigin.md",
|
285
|
-
"front_end/models/issues_manager/descriptions/arInvalidHeader.md",
|
282
|
+
"front_end/models/issues_manager/descriptions/arInsecureContext.md",
|
283
|
+
"front_end/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md",
|
284
|
+
"front_end/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md",
|
286
285
|
"front_end/models/issues_manager/descriptions/arPermissionPolicyDisabled.md",
|
286
|
+
"front_end/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md",
|
287
287
|
"front_end/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md",
|
288
288
|
"front_end/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md",
|
289
289
|
"front_end/models/issues_manager/descriptions/corsAllowCredentialsRequired.md",
|
@@ -0,0 +1,99 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
|
4
|
+
<svg
|
5
|
+
width="10"
|
6
|
+
height="10"
|
7
|
+
viewBox="0 0 2.6458333 2.6458334"
|
8
|
+
version="1.1"
|
9
|
+
id="svg278"
|
10
|
+
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
11
|
+
sodipodi:docname="clear-warning_icon.svg"
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
13
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
16
|
+
<sodipodi:namedview
|
17
|
+
id="namedview280"
|
18
|
+
pagecolor="#ffffff"
|
19
|
+
bordercolor="#666666"
|
20
|
+
borderopacity="1.0"
|
21
|
+
inkscape:pageshadow="2"
|
22
|
+
inkscape:pageopacity="0.0"
|
23
|
+
inkscape:pagecheckerboard="0"
|
24
|
+
inkscape:document-units="mm"
|
25
|
+
showgrid="false"
|
26
|
+
units="px"
|
27
|
+
inkscape:zoom="5.1337949"
|
28
|
+
inkscape:cx="-96.712084"
|
29
|
+
inkscape:cy="68.760051"
|
30
|
+
inkscape:window-width="2028"
|
31
|
+
inkscape:window-height="1445"
|
32
|
+
inkscape:window-x="0"
|
33
|
+
inkscape:window-y="0"
|
34
|
+
inkscape:window-maximized="1"
|
35
|
+
inkscape:current-layer="layer1" />
|
36
|
+
<defs
|
37
|
+
id="defs275">
|
38
|
+
<mask
|
39
|
+
id="path4453-6-mask">
|
40
|
+
<rect
|
41
|
+
id="rect8990"
|
42
|
+
style="fill:#ffffff"
|
43
|
+
height="10"
|
44
|
+
width="10"
|
45
|
+
x="0"
|
46
|
+
y="0" />
|
47
|
+
<path
|
48
|
+
style="fill:#000000"
|
49
|
+
inkscape:connector-curvature="0"
|
50
|
+
id="path4453-6"
|
51
|
+
d="m 64,3 h 2 V 5.25 L 65.5,7 h -1 L 64,5.25 V 3 m 0,5 h 2 v 1 h -2"
|
52
|
+
transform="translate(-60)" />
|
53
|
+
</mask>
|
54
|
+
</defs>
|
55
|
+
<g
|
56
|
+
inkscape:label="Layer 1"
|
57
|
+
inkscape:groupmode="layer"
|
58
|
+
id="layer1">
|
59
|
+
<g
|
60
|
+
mask="url(#path4453-6-mask)"
|
61
|
+
transform="matrix(0.26458333,0,0,0.26458333,1.6666664e-8,-1.6329569e-5)"
|
62
|
+
id="g4443-7">
|
63
|
+
<path
|
64
|
+
style="stroke:#c19600;stroke-width:2;stroke-linejoin:round"
|
65
|
+
inkscape:connector-curvature="0"
|
66
|
+
id="path4447-5"
|
67
|
+
d="m 61,9 4,-8 4,8 z"
|
68
|
+
transform="translate(-60)" />
|
69
|
+
<path
|
70
|
+
style="fill:#f4bd00;stroke:#f5bd00;stroke-width:1.5;stroke-linejoin:round"
|
71
|
+
inkscape:connector-curvature="0"
|
72
|
+
id="path4449-3"
|
73
|
+
d="m 61,9 4,-8 4,8 z"
|
74
|
+
transform="translate(-60)" />
|
75
|
+
<path
|
76
|
+
style="fill:#ad8601"
|
77
|
+
inkscape:connector-curvature="0"
|
78
|
+
id="path4451-5"
|
79
|
+
d="m 63.75,2.75 h 2.5 v 2.5 L 65.75,7 h -1.5 l -0.5,-1.75 v -2.5 m 0,5.25 h 2.5 v 1.25 h -2.5"
|
80
|
+
transform="translate(-60)" />
|
81
|
+
<mask
|
82
|
+
id="mask258">
|
83
|
+
<rect
|
84
|
+
id="rect254"
|
85
|
+
style="fill:#ffffff"
|
86
|
+
height="10"
|
87
|
+
width="10"
|
88
|
+
x="0"
|
89
|
+
y="0" />
|
90
|
+
<path
|
91
|
+
style="fill:#000000"
|
92
|
+
inkscape:connector-curvature="0"
|
93
|
+
id="path256"
|
94
|
+
d="m 64,3 h 2 V 5.25 L 65.5,7 h -1 L 64,5.25 V 3 m 0,5 h 2 v 1 h -2"
|
95
|
+
transform="translate(-60)" />
|
96
|
+
</mask>
|
97
|
+
</g>
|
98
|
+
</g>
|
99
|
+
</svg>
|
@@ -14,10 +14,15 @@ interface FunctionBodyOffset {
|
|
14
14
|
end: number;
|
15
15
|
}
|
16
16
|
export class WasmDisassembly {
|
17
|
+
readonly lines: string[];
|
17
18
|
readonly #offsets: number[];
|
18
19
|
#functionBodyOffsets: FunctionBodyOffset[];
|
19
20
|
|
20
|
-
constructor(offsets: number[], functionBodyOffsets: FunctionBodyOffset[]) {
|
21
|
+
constructor(lines: string[], offsets: number[], functionBodyOffsets: FunctionBodyOffset[]) {
|
22
|
+
if (lines.length !== offsets.length) {
|
23
|
+
throw new Error('Lines and offsets don\'t match');
|
24
|
+
}
|
25
|
+
this.lines = lines;
|
21
26
|
this.#offsets = offsets;
|
22
27
|
this.#functionBodyOffsets = functionBodyOffsets;
|
23
28
|
}
|
@@ -105,9 +105,10 @@ export let load = function(
|
|
105
105
|
arg0: boolean, arg1: {
|
106
106
|
[x: string]: string,
|
107
107
|
},
|
108
|
-
arg2: string, arg3: LoadErrorDescription) => void
|
108
|
+
arg2: string, arg3: LoadErrorDescription) => void,
|
109
|
+
allowFileUNCPaths: boolean): void {
|
109
110
|
const stream = new Common.StringOutputStream.StringOutputStream();
|
110
|
-
loadAsStream(url, headers, stream, mycallback);
|
111
|
+
loadAsStream(url, headers, stream, mycallback, allowFileUNCPaths);
|
111
112
|
|
112
113
|
function mycallback(
|
113
114
|
success: boolean, headers: {
|
@@ -242,7 +243,8 @@ export const loadAsStream = function(
|
|
242
243
|
((arg0: boolean, arg1: {
|
243
244
|
[x: string]: string,
|
244
245
|
},
|
245
|
-
arg2: LoadErrorDescription) => void)
|
246
|
+
arg2: LoadErrorDescription) => void),
|
247
|
+
allowFileUNCPaths?: boolean): void {
|
246
248
|
const streamId = _bindOutputStream(stream);
|
247
249
|
const parsedURL = new Common.ParsedURL.ParsedURL(url);
|
248
250
|
if (parsedURL.isDataURL()) {
|
@@ -250,6 +252,18 @@ export const loadAsStream = function(
|
|
250
252
|
return;
|
251
253
|
}
|
252
254
|
|
255
|
+
if (!allowFileUNCPaths && url.startsWith('file:////')) {
|
256
|
+
if (callback) {
|
257
|
+
callback(/* success */ false, /* headers */ {}, {
|
258
|
+
statusCode: 400, // BAD_REQUEST
|
259
|
+
netError: -20, // BLOCKED_BY_CLIENT
|
260
|
+
netErrorName: 'net::BLOCKED_BY_CLIENT',
|
261
|
+
message: 'Loading from a Windows Share via UNC path is prohibited for security reasons.',
|
262
|
+
});
|
263
|
+
}
|
264
|
+
return;
|
265
|
+
}
|
266
|
+
|
253
267
|
const rawHeaders = [];
|
254
268
|
if (headers) {
|
255
269
|
for (const key in headers) {
|
@@ -1451,6 +1451,9 @@
|
|
1451
1451
|
"models/issues_manager/DeprecationIssue.ts | openWebDatabaseInsecureContext": {
|
1452
1452
|
"message": "WebSQL in non-secure contexts is deprecated and will be removed in M107. Please use Web Storage or Indexed Database."
|
1453
1453
|
},
|
1454
|
+
"models/issues_manager/DeprecationIssue.ts | persistentQuotaType": {
|
1455
|
+
"message": "StorageType.persistent is deprecated. Please use standardized navigator.storage instead."
|
1456
|
+
},
|
1454
1457
|
"models/issues_manager/DeprecationIssue.ts | pictureSourceSrc": {
|
1455
1458
|
"message": "<source src> with a <picture> parent is invalid and therefore ignored. Please use <source srcset> instead."
|
1456
1459
|
},
|
@@ -3284,6 +3287,9 @@
|
|
3284
3287
|
"panels/application/components/Prerender2.ts | EmbedderTriggeredAndSameOriginRedirected": {
|
3285
3288
|
"message": "Prerendering triggered by Chrome internal (e.g., Omnibox prerendering) is canceled because the navigation is redirected to another same-origin page."
|
3286
3289
|
},
|
3290
|
+
"panels/application/components/Prerender2.ts | FailToGetMemoryUsage": {
|
3291
|
+
"message": "Fail to get memory usage"
|
3292
|
+
},
|
3287
3293
|
"panels/application/components/Prerender2.ts | InProgressNavigation": {
|
3288
3294
|
"message": "InProgressNavigation."
|
3289
3295
|
},
|
@@ -3305,6 +3311,9 @@
|
|
3305
3311
|
"panels/application/components/Prerender2.ts | MaxNumOfRunningPrerendersExceeded": {
|
3306
3312
|
"message": "Max number of prerendering exceeded."
|
3307
3313
|
},
|
3314
|
+
"panels/application/components/Prerender2.ts | MemoryLimitExceeded": {
|
3315
|
+
"message": "Memory limit exceeded"
|
3316
|
+
},
|
3308
3317
|
"panels/application/components/Prerender2.ts | MixedContent": {
|
3309
3318
|
"message": "Prerendering is canceled by a mixed content frame."
|
3310
3319
|
},
|
@@ -5702,9 +5711,6 @@
|
|
5702
5711
|
"panels/issues/AttributionReportingIssueDetailsView.ts | element": {
|
5703
5712
|
"message": "Element"
|
5704
5713
|
},
|
5705
|
-
"panels/issues/AttributionReportingIssueDetailsView.ts | frame": {
|
5706
|
-
"message": "Frame"
|
5707
|
-
},
|
5708
5714
|
"panels/issues/AttributionReportingIssueDetailsView.ts | invalidHeaderValue": {
|
5709
5715
|
"message": "Invalid Header Value"
|
5710
5716
|
},
|
@@ -7001,6 +7007,9 @@
|
|
7001
7007
|
"panels/network/network-meta.ts | dontGroupNetworkLogItemsByFrame": {
|
7002
7008
|
"message": "Don't group network log items by frame"
|
7003
7009
|
},
|
7010
|
+
"panels/network/network-meta.ts | enableUNCLoading": {
|
7011
|
+
"message": "Allow DevTools to load resources, such as source maps, from Windows Shares via UNC paths. Disabled by default for security reasons."
|
7012
|
+
},
|
7004
7013
|
"panels/network/network-meta.ts | frame": {
|
7005
7014
|
"message": "frame"
|
7006
7015
|
},
|
@@ -8786,6 +8795,9 @@
|
|
8786
8795
|
"panels/protocol_monitor/ProtocolMonitor.ts | sendRawCDPCommand": {
|
8787
8796
|
"message": "Send a raw CDP command"
|
8788
8797
|
},
|
8798
|
+
"panels/protocol_monitor/ProtocolMonitor.ts | sendRawCDPCommandExplanation": {
|
8799
|
+
"message": "Format: 'Domain.commandName' for a command without parameters, or '{\"command\":\"Domain.commandName\", \"parameters\": {...}}' as a JSON object for a command with parameters. 'cmd'/'method' and 'args'/'params'/'arguments' are also supported as alternative keys for the JSON object."
|
8800
|
+
},
|
8789
8801
|
"panels/protocol_monitor/ProtocolMonitor.ts | session": {
|
8790
8802
|
"message": "Session"
|
8791
8803
|
},
|
@@ -1451,6 +1451,9 @@
|
|
1451
1451
|
"models/issues_manager/DeprecationIssue.ts | openWebDatabaseInsecureContext": {
|
1452
1452
|
"message": "Ŵéb̂ŚQ̂Ĺ îń n̂ón̂-śêćûŕê ćôńt̂éx̂t́ŝ íŝ d́êṕr̂éĉát̂éd̂ án̂d́ ŵíl̂ĺ b̂é r̂ém̂óv̂éd̂ ín̂ Ḿ107. P̂ĺêáŝé ûśê Ẃêb́ Ŝt́ôŕâǵê ór̂ Ín̂d́êx́êd́ D̂át̂áb̂áŝé."
|
1453
1453
|
},
|
1454
|
+
"models/issues_manager/DeprecationIssue.ts | persistentQuotaType": {
|
1455
|
+
"message": "StorageType.persistent îś d̂ép̂ŕêćât́êd́. P̂ĺêáŝé ûśê śt̂án̂d́âŕd̂íẑéd̂ navigator.storage ín̂śt̂éâd́."
|
1456
|
+
},
|
1454
1457
|
"models/issues_manager/DeprecationIssue.ts | pictureSourceSrc": {
|
1455
1458
|
"message": "<source src> ŵít̂h́ â <picture> ṕâŕêńt̂ íŝ ín̂v́âĺîd́ âńd̂ t́ĥér̂éf̂ór̂é îǵn̂ór̂éd̂. Ṕl̂éâśê úŝé <source srcset> îńŝt́êád̂."
|
1456
1459
|
},
|
@@ -3284,6 +3287,9 @@
|
|
3284
3287
|
"panels/application/components/Prerender2.ts | EmbedderTriggeredAndSameOriginRedirected": {
|
3285
3288
|
"message": "P̂ŕêŕêńd̂ér̂ín̂ǵ t̂ŕîǵĝér̂éd̂ b́ŷ Ćĥŕôḿê ín̂t́êŕn̂ál̂ (é.ĝ., Óm̂ńîb́ôx́ p̂ŕêŕêńd̂ér̂ín̂ǵ) îś ĉán̂ćêĺêd́ b̂éĉáûśê t́ĥé n̂áv̂íĝát̂íôń îś r̂éd̂ír̂éĉt́êd́ t̂ó âńôt́ĥér̂ śâḿê-ór̂íĝín̂ ṕâǵê."
|
3286
3289
|
},
|
3290
|
+
"panels/application/components/Prerender2.ts | FailToGetMemoryUsage": {
|
3291
|
+
"message": "F̂áîĺ t̂ó ĝét̂ ḿêḿôŕŷ úŝáĝé"
|
3292
|
+
},
|
3287
3293
|
"panels/application/components/Prerender2.ts | InProgressNavigation": {
|
3288
3294
|
"message": "ÎńP̂ŕôǵr̂éŝśN̂áv̂íĝát̂íôń."
|
3289
3295
|
},
|
@@ -3305,6 +3311,9 @@
|
|
3305
3311
|
"panels/application/components/Prerender2.ts | MaxNumOfRunningPrerendersExceeded": {
|
3306
3312
|
"message": "M̂áx̂ ńûḿb̂ér̂ óf̂ ṕr̂ér̂én̂d́êŕîńĝ éx̂ćêéd̂éd̂."
|
3307
3313
|
},
|
3314
|
+
"panels/application/components/Prerender2.ts | MemoryLimitExceeded": {
|
3315
|
+
"message": "M̂ém̂ór̂ý l̂ím̂ít̂ éx̂ćêéd̂éd̂"
|
3316
|
+
},
|
3308
3317
|
"panels/application/components/Prerender2.ts | MixedContent": {
|
3309
3318
|
"message": "P̂ŕêŕêńd̂ér̂ín̂ǵ îś ĉán̂ćêĺêd́ b̂ý â ḿîx́êd́ ĉón̂t́êńt̂ f́r̂ám̂é."
|
3310
3319
|
},
|
@@ -5702,9 +5711,6 @@
|
|
5702
5711
|
"panels/issues/AttributionReportingIssueDetailsView.ts | element": {
|
5703
5712
|
"message": "Êĺêḿêńt̂"
|
5704
5713
|
},
|
5705
|
-
"panels/issues/AttributionReportingIssueDetailsView.ts | frame": {
|
5706
|
-
"message": "F̂ŕâḿê"
|
5707
|
-
},
|
5708
5714
|
"panels/issues/AttributionReportingIssueDetailsView.ts | invalidHeaderValue": {
|
5709
5715
|
"message": "Îńv̂ál̂íd̂ H́êád̂ér̂ V́âĺûé"
|
5710
5716
|
},
|
@@ -7001,6 +7007,9 @@
|
|
7001
7007
|
"panels/network/network-meta.ts | dontGroupNetworkLogItemsByFrame": {
|
7002
7008
|
"message": "D̂ón̂'t́ ĝŕôúp̂ ńêt́ŵór̂ḱ l̂óĝ ít̂ém̂ś b̂ý f̂ŕâḿê"
|
7003
7009
|
},
|
7010
|
+
"panels/network/network-meta.ts | enableUNCLoading": {
|
7011
|
+
"message": "Âĺl̂óŵ DevTools t́ô ĺôád̂ ŕêśôúr̂ćêś, ŝúĉh́ âś ŝóûŕĉé m̂áp̂ś, f̂ŕôḿ Ŵín̂d́ôẃŝ Śĥár̂éŝ v́îá UNC p̂át̂h́ŝ. D́îśâb́l̂éd̂ b́ŷ d́êf́âúl̂t́ f̂ór̂ śêćûŕît́ŷ ŕêáŝón̂ś."
|
7012
|
+
},
|
7004
7013
|
"panels/network/network-meta.ts | frame": {
|
7005
7014
|
"message": "f̂ŕâḿê"
|
7006
7015
|
},
|
@@ -8786,6 +8795,9 @@
|
|
8786
8795
|
"panels/protocol_monitor/ProtocolMonitor.ts | sendRawCDPCommand": {
|
8787
8796
|
"message": "Ŝén̂d́ â ŕâẃ CDP ĉóm̂ḿâńd̂"
|
8788
8797
|
},
|
8798
|
+
"panels/protocol_monitor/ProtocolMonitor.ts | sendRawCDPCommandExplanation": {
|
8799
|
+
"message": "F̂ór̂ḿât́: 'Domain.commandName' f̂ór̂ á ĉóm̂ḿâńd̂ ẃît́ĥóût́ p̂ár̂ám̂ét̂ér̂ś, ôŕ '{\"command\":\"Domain.commandName\", \"parameters\": {...}}' âś â J́ŜÓN̂ ób̂j́êćt̂ f́ôŕ â ćôḿm̂án̂d́ ŵít̂h́ p̂ár̂ám̂ét̂ér̂ś. 'cmd'/'method' âńd̂ 'args'/'params'/'arguments' ár̂é âĺŝó ŝúp̂ṕôŕt̂éd̂ áŝ ál̂t́êŕn̂át̂ív̂é k̂éŷś f̂ór̂ t́ĥé JSON ôb́ĵéĉt́."
|
8800
|
+
},
|
8789
8801
|
"panels/protocol_monitor/ProtocolMonitor.ts | session": {
|
8790
8802
|
"message": "Ŝéŝśîón̂"
|
8791
8803
|
},
|
@@ -1504,10 +1504,12 @@ export class MultitargetNetworkManager extends Common.ObjectWrapper.ObjectWrappe
|
|
1504
1504
|
headers['Cache-Control'] = 'no-cache';
|
1505
1505
|
}
|
1506
1506
|
|
1507
|
+
const allowFileUNCPaths = Common.Settings.Settings.instance().moduleSetting('network.enable-unc-loading').get();
|
1508
|
+
|
1507
1509
|
return new Promise(
|
1508
1510
|
resolve => Host.ResourceLoader.load(url, headers, (success, _responseHeaders, content, errorDescription) => {
|
1509
1511
|
resolve({success, content, errorDescription});
|
1510
|
-
}));
|
1512
|
+
}, allowFileUNCPaths));
|
1511
1513
|
}
|
1512
1514
|
}
|
1513
1515
|
|
@@ -194,28 +194,54 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
194
194
|
this.#originalContentProviderInternal =
|
195
195
|
new TextUtils.StaticContentProvider.StaticContentProvider(this.contentURL(), this.contentType(), () => {
|
196
196
|
if (!lazyContentPromise) {
|
197
|
-
lazyContentPromise = (async(): Promise<{
|
198
|
-
content: null,
|
199
|
-
error: Common.UIString.LocalizedString,
|
200
|
-
isEncoded: boolean,
|
201
|
-
}|{
|
202
|
-
content: string,
|
203
|
-
isEncoded: boolean,
|
204
|
-
error?: undefined,
|
205
|
-
}> => {
|
197
|
+
lazyContentPromise = (async(): Promise<TextUtils.ContentProvider.DeferredContent> => {
|
206
198
|
if (!this.scriptId) {
|
207
199
|
return {content: null, error: i18nString(UIStrings.scriptRemovedOrDeleted), isEncoded: false};
|
208
200
|
}
|
201
|
+
if (this.isWasm()) {
|
202
|
+
const result = await this.debuggerModel.target().debuggerAgent().invoke_disassembleWasmModule(
|
203
|
+
{scriptId: this.scriptId});
|
204
|
+
|
205
|
+
if (result.getError()) {
|
206
|
+
throw new Error(result.getError());
|
207
|
+
}
|
208
|
+
|
209
|
+
const {streamId, functionBodyOffsets, chunk: {lines, bytecodeOffsets}} = result;
|
210
|
+
const lineChunks = [];
|
211
|
+
const bytecodeOffsetChunks = [];
|
212
|
+
if (streamId) {
|
213
|
+
while (true) {
|
214
|
+
const result =
|
215
|
+
await this.debuggerModel.target().debuggerAgent().invoke_nextWasmDisassemblyChunk({streamId});
|
216
|
+
|
217
|
+
if (result.getError()) {
|
218
|
+
throw new Error(result.getError());
|
219
|
+
}
|
220
|
+
|
221
|
+
const {chunk: {lines: linesChunk, bytecodeOffsets: bytecodeOffsetsChunk}} = result;
|
222
|
+
if (linesChunk.length === 0) {
|
223
|
+
break;
|
224
|
+
}
|
225
|
+
lineChunks.push(linesChunk);
|
226
|
+
bytecodeOffsetChunks.push(bytecodeOffsetsChunk);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
const functionBodyRanges: Array<{start: number, end: number}> = [];
|
230
|
+
// functionBodyOffsets contains a sequence of pairs of start and end offsets
|
231
|
+
for (let i = 0; i < functionBodyOffsets.length; i += 2) {
|
232
|
+
functionBodyRanges.push({start: functionBodyOffsets[i], end: functionBodyOffsets[i + 1]});
|
233
|
+
}
|
234
|
+
const wasmDisassemblyInfo = new Common.WasmDisassembly.WasmDisassembly(
|
235
|
+
lines.concat(...lineChunks), bytecodeOffsets.concat(...bytecodeOffsetChunks), functionBodyRanges);
|
236
|
+
return {content: '', isEncoded: false, wasmDisassemblyInfo};
|
237
|
+
}
|
209
238
|
try {
|
210
239
|
const result = await this.debuggerModel.target().debuggerAgent().invoke_getScriptSource(
|
211
240
|
{scriptId: this.scriptId});
|
212
241
|
if (result.getError()) {
|
213
242
|
throw new Error(result.getError());
|
214
243
|
}
|
215
|
-
const {scriptSource
|
216
|
-
if (bytecode) {
|
217
|
-
return {content: bytecode, isEncoded: true};
|
218
|
-
}
|
244
|
+
const {scriptSource} = result;
|
219
245
|
let content: string = scriptSource || '';
|
220
246
|
if (this.hasSourceURL && this.sourceURL.startsWith('snippet://')) {
|
221
247
|
// TODO(crbug.com/1330846): Find a better way to establish the snippet automapping binding then adding
|
@@ -63,9 +63,9 @@ inspectorBackend.registerEnum("Audits.HeavyAdReason", {NetworkTotalLimit: "Netwo
|
|
63
63
|
inspectorBackend.registerEnum("Audits.ContentSecurityPolicyViolationType", {KInlineViolation: "kInlineViolation", KEvalViolation: "kEvalViolation", KURLViolation: "kURLViolation", KTrustedTypesSinkViolation: "kTrustedTypesSinkViolation", KTrustedTypesPolicyViolation: "kTrustedTypesPolicyViolation", KWasmEvalViolation: "kWasmEvalViolation"});
|
64
64
|
inspectorBackend.registerEnum("Audits.SharedArrayBufferIssueType", {TransferIssue: "TransferIssue", CreationIssue: "CreationIssue"});
|
65
65
|
inspectorBackend.registerEnum("Audits.TwaQualityEnforcementViolationType", {KHttpError: "kHttpError", KUnavailableOffline: "kUnavailableOffline", KDigitalAssetLinks: "kDigitalAssetLinks"});
|
66
|
-
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled",
|
66
|
+
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader", InvalidEligibleHeader: "InvalidEligibleHeader"});
|
67
67
|
inspectorBackend.registerEnum("Audits.GenericIssueErrorType", {CrossOriginPortalPostMessageError: "CrossOriginPortalPostMessageError"});
|
68
|
-
inspectorBackend.registerEnum("Audits.DeprecationIssueType", {AuthorizationCoveredByWildcard: "AuthorizationCoveredByWildcard", CanRequestURLHTTPContainingNewline: "CanRequestURLHTTPContainingNewline", ChromeLoadTimesConnectionInfo: "ChromeLoadTimesConnectionInfo", ChromeLoadTimesFirstPaintAfterLoadTime: "ChromeLoadTimesFirstPaintAfterLoadTime", ChromeLoadTimesWasAlternateProtocolAvailable: "ChromeLoadTimesWasAlternateProtocolAvailable", CookieWithTruncatingChar: "CookieWithTruncatingChar", CrossOriginAccessBasedOnDocumentDomain: "CrossOriginAccessBasedOnDocumentDomain", CrossOriginWindowAlert: "CrossOriginWindowAlert", CrossOriginWindowConfirm: "CrossOriginWindowConfirm", CSSSelectorInternalMediaControlsOverlayCastButton: "CSSSelectorInternalMediaControlsOverlayCastButton", DeprecationExample: "DeprecationExample", DocumentDomainSettingWithoutOriginAgentClusterHeader: "DocumentDomainSettingWithoutOriginAgentClusterHeader", EventPath: "EventPath", ExpectCTHeader: "ExpectCTHeader", GeolocationInsecureOrigin: "GeolocationInsecureOrigin", GeolocationInsecureOriginDeprecatedNotRemoved: "GeolocationInsecureOriginDeprecatedNotRemoved", GetUserMediaInsecureOrigin: "GetUserMediaInsecureOrigin", HostCandidateAttributeGetter: "HostCandidateAttributeGetter", IdentityInCanMakePaymentEvent: "IdentityInCanMakePaymentEvent", InsecurePrivateNetworkSubresourceRequest: "InsecurePrivateNetworkSubresourceRequest", LegacyConstraintGoogIPv6: "LegacyConstraintGoogIPv6", LocalCSSFileExtensionRejected: "LocalCSSFileExtensionRejected", MediaSourceAbortRemove: "MediaSourceAbortRemove", MediaSourceDurationTruncatingBuffered: "MediaSourceDurationTruncatingBuffered", NavigateEventRestoreScroll: "NavigateEventRestoreScroll", NavigateEventTransitionWhile: "NavigateEventTransitionWhile", NoSysexWebMIDIWithoutPermission: "NoSysexWebMIDIWithoutPermission", NotificationInsecureOrigin: "NotificationInsecureOrigin", NotificationPermissionRequestedIframe: "NotificationPermissionRequestedIframe", ObsoleteWebRtcCipherSuite: "ObsoleteWebRtcCipherSuite", OpenWebDatabaseInsecureContext: "OpenWebDatabaseInsecureContext", OverflowVisibleOnReplacedElement: "OverflowVisibleOnReplacedElement", PictureSourceSrc: "PictureSourceSrc", PrefixedCancelAnimationFrame: "PrefixedCancelAnimationFrame", PrefixedRequestAnimationFrame: "PrefixedRequestAnimationFrame", PrefixedStorageInfo: "PrefixedStorageInfo", PrefixedVideoDisplayingFullscreen: "PrefixedVideoDisplayingFullscreen", PrefixedVideoEnterFullscreen: "PrefixedVideoEnterFullscreen", PrefixedVideoEnterFullScreen: "PrefixedVideoEnterFullScreen", PrefixedVideoExitFullscreen: "PrefixedVideoExitFullscreen", PrefixedVideoExitFullScreen: "PrefixedVideoExitFullScreen", PrefixedVideoSupportsFullscreen: "PrefixedVideoSupportsFullscreen", RangeExpand: "RangeExpand", RequestedSubresourceWithEmbeddedCredentials: "RequestedSubresourceWithEmbeddedCredentials", RTCConstraintEnableDtlsSrtpFalse: "RTCConstraintEnableDtlsSrtpFalse", RTCConstraintEnableDtlsSrtpTrue: "RTCConstraintEnableDtlsSrtpTrue", RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics: "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics", RTCPeerConnectionSdpSemanticsPlanB: "RTCPeerConnectionSdpSemanticsPlanB", RtcpMuxPolicyNegotiate: "RtcpMuxPolicyNegotiate", SharedArrayBufferConstructedWithoutIsolation: "SharedArrayBufferConstructedWithoutIsolation", TextToSpeech_DisallowedByAutoplay: "TextToSpeech_DisallowedByAutoplay", V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "V8SharedArrayBufferConstructedInExtensionWithoutIsolation", XHRJSONEncodingDetection: "XHRJSONEncodingDetection", XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: "XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload", XRSupportsSession: "XRSupportsSession"});
|
68
|
+
inspectorBackend.registerEnum("Audits.DeprecationIssueType", {AuthorizationCoveredByWildcard: "AuthorizationCoveredByWildcard", CanRequestURLHTTPContainingNewline: "CanRequestURLHTTPContainingNewline", ChromeLoadTimesConnectionInfo: "ChromeLoadTimesConnectionInfo", ChromeLoadTimesFirstPaintAfterLoadTime: "ChromeLoadTimesFirstPaintAfterLoadTime", ChromeLoadTimesWasAlternateProtocolAvailable: "ChromeLoadTimesWasAlternateProtocolAvailable", CookieWithTruncatingChar: "CookieWithTruncatingChar", CrossOriginAccessBasedOnDocumentDomain: "CrossOriginAccessBasedOnDocumentDomain", CrossOriginWindowAlert: "CrossOriginWindowAlert", CrossOriginWindowConfirm: "CrossOriginWindowConfirm", CSSSelectorInternalMediaControlsOverlayCastButton: "CSSSelectorInternalMediaControlsOverlayCastButton", DeprecationExample: "DeprecationExample", DocumentDomainSettingWithoutOriginAgentClusterHeader: "DocumentDomainSettingWithoutOriginAgentClusterHeader", EventPath: "EventPath", ExpectCTHeader: "ExpectCTHeader", GeolocationInsecureOrigin: "GeolocationInsecureOrigin", GeolocationInsecureOriginDeprecatedNotRemoved: "GeolocationInsecureOriginDeprecatedNotRemoved", GetUserMediaInsecureOrigin: "GetUserMediaInsecureOrigin", HostCandidateAttributeGetter: "HostCandidateAttributeGetter", IdentityInCanMakePaymentEvent: "IdentityInCanMakePaymentEvent", InsecurePrivateNetworkSubresourceRequest: "InsecurePrivateNetworkSubresourceRequest", LegacyConstraintGoogIPv6: "LegacyConstraintGoogIPv6", LocalCSSFileExtensionRejected: "LocalCSSFileExtensionRejected", MediaSourceAbortRemove: "MediaSourceAbortRemove", MediaSourceDurationTruncatingBuffered: "MediaSourceDurationTruncatingBuffered", NavigateEventRestoreScroll: "NavigateEventRestoreScroll", NavigateEventTransitionWhile: "NavigateEventTransitionWhile", NoSysexWebMIDIWithoutPermission: "NoSysexWebMIDIWithoutPermission", NotificationInsecureOrigin: "NotificationInsecureOrigin", NotificationPermissionRequestedIframe: "NotificationPermissionRequestedIframe", ObsoleteWebRtcCipherSuite: "ObsoleteWebRtcCipherSuite", OpenWebDatabaseInsecureContext: "OpenWebDatabaseInsecureContext", OverflowVisibleOnReplacedElement: "OverflowVisibleOnReplacedElement", PersistentQuotaType: "PersistentQuotaType", PictureSourceSrc: "PictureSourceSrc", PrefixedCancelAnimationFrame: "PrefixedCancelAnimationFrame", PrefixedRequestAnimationFrame: "PrefixedRequestAnimationFrame", PrefixedStorageInfo: "PrefixedStorageInfo", PrefixedVideoDisplayingFullscreen: "PrefixedVideoDisplayingFullscreen", PrefixedVideoEnterFullscreen: "PrefixedVideoEnterFullscreen", PrefixedVideoEnterFullScreen: "PrefixedVideoEnterFullScreen", PrefixedVideoExitFullscreen: "PrefixedVideoExitFullscreen", PrefixedVideoExitFullScreen: "PrefixedVideoExitFullScreen", PrefixedVideoSupportsFullscreen: "PrefixedVideoSupportsFullscreen", RangeExpand: "RangeExpand", RequestedSubresourceWithEmbeddedCredentials: "RequestedSubresourceWithEmbeddedCredentials", RTCConstraintEnableDtlsSrtpFalse: "RTCConstraintEnableDtlsSrtpFalse", RTCConstraintEnableDtlsSrtpTrue: "RTCConstraintEnableDtlsSrtpTrue", RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics: "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics", RTCPeerConnectionSdpSemanticsPlanB: "RTCPeerConnectionSdpSemanticsPlanB", RtcpMuxPolicyNegotiate: "RtcpMuxPolicyNegotiate", SharedArrayBufferConstructedWithoutIsolation: "SharedArrayBufferConstructedWithoutIsolation", TextToSpeech_DisallowedByAutoplay: "TextToSpeech_DisallowedByAutoplay", V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "V8SharedArrayBufferConstructedInExtensionWithoutIsolation", XHRJSONEncodingDetection: "XHRJSONEncodingDetection", XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: "XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload", XRSupportsSession: "XRSupportsSession"});
|
69
69
|
inspectorBackend.registerEnum("Audits.ClientHintIssueReason", {MetaTagAllowListInvalidOrigin: "MetaTagAllowListInvalidOrigin", MetaTagModifiedHTML: "MetaTagModifiedHTML"});
|
70
70
|
inspectorBackend.registerEnum("Audits.FederatedAuthRequestIssueReason", {ApprovalDeclined: "ApprovalDeclined", TooManyRequests: "TooManyRequests", ManifestListHttpNotFound: "ManifestListHttpNotFound", ManifestListNoResponse: "ManifestListNoResponse", ManifestListInvalidResponse: "ManifestListInvalidResponse", ManifestNotInManifestList: "ManifestNotInManifestList", ManifestListTooBig: "ManifestListTooBig", ManifestHttpNotFound: "ManifestHttpNotFound", ManifestNoResponse: "ManifestNoResponse", ManifestInvalidResponse: "ManifestInvalidResponse", ClientMetadataHttpNotFound: "ClientMetadataHttpNotFound", ClientMetadataNoResponse: "ClientMetadataNoResponse", ClientMetadataInvalidResponse: "ClientMetadataInvalidResponse", ClientMetadataMissingPrivacyPolicyUrl: "ClientMetadataMissingPrivacyPolicyUrl", DisabledInSettings: "DisabledInSettings", ErrorFetchingSignin: "ErrorFetchingSignin", InvalidSigninResponse: "InvalidSigninResponse", AccountsHttpNotFound: "AccountsHttpNotFound", AccountsNoResponse: "AccountsNoResponse", AccountsInvalidResponse: "AccountsInvalidResponse", IdTokenHttpNotFound: "IdTokenHttpNotFound", IdTokenNoResponse: "IdTokenNoResponse", IdTokenInvalidResponse: "IdTokenInvalidResponse", IdTokenInvalidRequest: "IdTokenInvalidRequest", ErrorIdToken: "ErrorIdToken", Canceled: "Canceled"});
|
71
71
|
inspectorBackend.registerEnum("Audits.InspectorIssueCode", {CookieIssue: "CookieIssue", MixedContentIssue: "MixedContentIssue", BlockedByResponseIssue: "BlockedByResponseIssue", HeavyAdIssue: "HeavyAdIssue", ContentSecurityPolicyIssue: "ContentSecurityPolicyIssue", SharedArrayBufferIssue: "SharedArrayBufferIssue", TrustedWebActivityIssue: "TrustedWebActivityIssue", LowTextContrastIssue: "LowTextContrastIssue", CorsIssue: "CorsIssue", AttributionReportingIssue: "AttributionReportingIssue", QuirksModeIssue: "QuirksModeIssue", NavigatorUserAgentIssue: "NavigatorUserAgentIssue", GenericIssue: "GenericIssue", DeprecationIssue: "DeprecationIssue", ClientHintIssue: "ClientHintIssue", FederatedAuthRequestIssue: "FederatedAuthRequestIssue"});
|
@@ -338,14 +338,14 @@ inspectorBackend.registerCommand("IO.resolveBlob", [{"name": "objectId", "type":
|
|
338
338
|
// IndexedDB.
|
339
339
|
inspectorBackend.registerEnum("IndexedDB.KeyType", {Number: "number", String: "string", Date: "date", Array: "array"});
|
340
340
|
inspectorBackend.registerEnum("IndexedDB.KeyPathType", {Null: "null", String: "string", Array: "array"});
|
341
|
-
inspectorBackend.registerCommand("IndexedDB.clearObjectStore", [{"name": "securityOrigin", "type": "string", "optional":
|
342
|
-
inspectorBackend.registerCommand("IndexedDB.deleteDatabase", [{"name": "securityOrigin", "type": "string", "optional":
|
343
|
-
inspectorBackend.registerCommand("IndexedDB.deleteObjectStoreEntries", [{"name": "securityOrigin", "type": "string", "optional":
|
341
|
+
inspectorBackend.registerCommand("IndexedDB.clearObjectStore", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}], []);
|
342
|
+
inspectorBackend.registerCommand("IndexedDB.deleteDatabase", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}], []);
|
343
|
+
inspectorBackend.registerCommand("IndexedDB.deleteObjectStoreEntries", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}, {"name": "keyRange", "type": "object", "optional": false}], []);
|
344
344
|
inspectorBackend.registerCommand("IndexedDB.disable", [], []);
|
345
345
|
inspectorBackend.registerCommand("IndexedDB.enable", [], []);
|
346
|
-
inspectorBackend.registerCommand("IndexedDB.requestData", [{"name": "securityOrigin", "type": "string", "optional":
|
347
|
-
inspectorBackend.registerCommand("IndexedDB.getMetadata", [{"name": "securityOrigin", "type": "string", "optional":
|
348
|
-
inspectorBackend.registerCommand("IndexedDB.requestDatabase", [{"name": "securityOrigin", "type": "string", "optional":
|
346
|
+
inspectorBackend.registerCommand("IndexedDB.requestData", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}, {"name": "indexName", "type": "string", "optional": false}, {"name": "skipCount", "type": "number", "optional": false}, {"name": "pageSize", "type": "number", "optional": false}, {"name": "keyRange", "type": "object", "optional": true}], ["objectStoreDataEntries", "hasMore"]);
|
347
|
+
inspectorBackend.registerCommand("IndexedDB.getMetadata", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}], ["entriesCount", "keyGeneratorValue"]);
|
348
|
+
inspectorBackend.registerCommand("IndexedDB.requestDatabase", [{"name": "securityOrigin", "type": "string", "optional": true}, {"name": "storageKey", "type": "string", "optional": true}, {"name": "databaseName", "type": "string", "optional": false}], ["databaseWithObjectStores"]);
|
349
349
|
inspectorBackend.registerCommand("IndexedDB.requestDatabaseNames", [{"name": "securityOrigin", "type": "string", "optional": false}], ["databaseNames"]);
|
350
350
|
|
351
351
|
// Input.
|
@@ -567,7 +567,7 @@ inspectorBackend.registerEnum("Page.ReferrerPolicy", {NoReferrer: "noReferrer",
|
|
567
567
|
inspectorBackend.registerEnum("Page.NavigationType", {Navigation: "Navigation", BackForwardCacheRestore: "BackForwardCacheRestore"});
|
568
568
|
inspectorBackend.registerEnum("Page.BackForwardCacheNotRestoredReason", {NotPrimaryMainFrame: "NotPrimaryMainFrame", BackForwardCacheDisabled: "BackForwardCacheDisabled", RelatedActiveContentsExist: "RelatedActiveContentsExist", HTTPStatusNotOK: "HTTPStatusNotOK", SchemeNotHTTPOrHTTPS: "SchemeNotHTTPOrHTTPS", Loading: "Loading", WasGrantedMediaAccess: "WasGrantedMediaAccess", DisableForRenderFrameHostCalled: "DisableForRenderFrameHostCalled", DomainNotAllowed: "DomainNotAllowed", HTTPMethodNotGET: "HTTPMethodNotGET", SubframeIsNavigating: "SubframeIsNavigating", Timeout: "Timeout", CacheLimit: "CacheLimit", JavaScriptExecution: "JavaScriptExecution", RendererProcessKilled: "RendererProcessKilled", RendererProcessCrashed: "RendererProcessCrashed", SchedulerTrackedFeatureUsed: "SchedulerTrackedFeatureUsed", ConflictingBrowsingInstance: "ConflictingBrowsingInstance", CacheFlushed: "CacheFlushed", ServiceWorkerVersionActivation: "ServiceWorkerVersionActivation", SessionRestored: "SessionRestored", ServiceWorkerPostMessage: "ServiceWorkerPostMessage", EnteredBackForwardCacheBeforeServiceWorkerHostAdded: "EnteredBackForwardCacheBeforeServiceWorkerHostAdded", RenderFrameHostReused_SameSite: "RenderFrameHostReused_SameSite", RenderFrameHostReused_CrossSite: "RenderFrameHostReused_CrossSite", ServiceWorkerClaim: "ServiceWorkerClaim", IgnoreEventAndEvict: "IgnoreEventAndEvict", HaveInnerContents: "HaveInnerContents", TimeoutPuttingInCache: "TimeoutPuttingInCache", BackForwardCacheDisabledByLowMemory: "BackForwardCacheDisabledByLowMemory", BackForwardCacheDisabledByCommandLine: "BackForwardCacheDisabledByCommandLine", NetworkRequestDatAPIpeDrainedAsBytesConsumer: "NetworkRequestDatapipeDrainedAsBytesConsumer", NetworkRequestRedirected: "NetworkRequestRedirected", NetworkRequestTimeout: "NetworkRequestTimeout", NetworkExceedsBufferLimit: "NetworkExceedsBufferLimit", NavigationCancelledWhileRestoring: "NavigationCancelledWhileRestoring", NotMostRecentNavigationEntry: "NotMostRecentNavigationEntry", BackForwardCacheDisabledForPrerender: "BackForwardCacheDisabledForPrerender", UserAgentOverrideDiffers: "UserAgentOverrideDiffers", ForegroundCacheLimit: "ForegroundCacheLimit", BrowsingInstanceNotSwapped: "BrowsingInstanceNotSwapped", BackForwardCacheDisabledForDelegate: "BackForwardCacheDisabledForDelegate", UnloadHandlerExistsInMainFrame: "UnloadHandlerExistsInMainFrame", UnloadHandlerExistsInSubFrame: "UnloadHandlerExistsInSubFrame", ServiceWorkerUnregistration: "ServiceWorkerUnregistration", CacheControlNoStore: "CacheControlNoStore", CacheControlNoStoreCookieModified: "CacheControlNoStoreCookieModified", CacheControlNoStoreHTTPOnlyCookieModified: "CacheControlNoStoreHTTPOnlyCookieModified", NoResponseHead: "NoResponseHead", Unknown: "Unknown", ActivationNavigationsDisallowedForBug1234857: "ActivationNavigationsDisallowedForBug1234857", ErrorDocument: "ErrorDocument", FencedFramesEmbedder: "FencedFramesEmbedder", WebSocket: "WebSocket", WebTransport: "WebTransport", WebRTC: "WebRTC", MainResourceHasCacheControlNoStore: "MainResourceHasCacheControlNoStore", MainResourceHasCacheControlNoCache: "MainResourceHasCacheControlNoCache", SubresourceHasCacheControlNoStore: "SubresourceHasCacheControlNoStore", SubresourceHasCacheControlNoCache: "SubresourceHasCacheControlNoCache", ContainsPlugins: "ContainsPlugins", DocumentLoaded: "DocumentLoaded", DedicatedWorkerOrWorklet: "DedicatedWorkerOrWorklet", OutstandingNetworkRequestOthers: "OutstandingNetworkRequestOthers", OutstandingIndexedDBTransaction: "OutstandingIndexedDBTransaction", RequestedNotificationsPermission: "RequestedNotificationsPermission", RequestedMIDIPermission: "RequestedMIDIPermission", RequestedAudioCapturePermission: "RequestedAudioCapturePermission", RequestedVideoCapturePermission: "RequestedVideoCapturePermission", RequestedBackForwardCacheBlockedSensors: "RequestedBackForwardCacheBlockedSensors", RequestedBackgroundWorkPermission: "RequestedBackgroundWorkPermission", BroadcastChannel: "BroadcastChannel", IndexedDBConnection: "IndexedDBConnection", WebXR: "WebXR", SharedWorker: "SharedWorker", WebLocks: "WebLocks", WebHID: "WebHID", WebShare: "WebShare", RequestedStorageAccessGrant: "RequestedStorageAccessGrant", WebNfc: "WebNfc", OutstandingNetworkRequestFetch: "OutstandingNetworkRequestFetch", OutstandingNetworkRequestXHR: "OutstandingNetworkRequestXHR", AppBanner: "AppBanner", Printing: "Printing", WebDatabase: "WebDatabase", PictureInPicture: "PictureInPicture", Portal: "Portal", SpeechRecognizer: "SpeechRecognizer", IdleManager: "IdleManager", PaymentManager: "PaymentManager", SpeechSynthesis: "SpeechSynthesis", KeyboardLock: "KeyboardLock", WebOTPService: "WebOTPService", OutstandingNetworkRequestDirectSocket: "OutstandingNetworkRequestDirectSocket", InjectedJavascript: "InjectedJavascript", InjectedStyleSheet: "InjectedStyleSheet", Dummy: "Dummy", ContentSecurityHandler: "ContentSecurityHandler", ContentWebAuthenticationAPI: "ContentWebAuthenticationAPI", ContentFileChooser: "ContentFileChooser", ContentSerial: "ContentSerial", ContentFileSystemAccess: "ContentFileSystemAccess", ContentMediaDevicesDispatcherHost: "ContentMediaDevicesDispatcherHost", ContentWebBluetooth: "ContentWebBluetooth", ContentWebUSB: "ContentWebUSB", ContentMediaSessionService: "ContentMediaSessionService", ContentScreenReader: "ContentScreenReader", EmbedderPopupBlockerTabHelper: "EmbedderPopupBlockerTabHelper", EmbedderSafeBrowsingTriggeredPopupBlocker: "EmbedderSafeBrowsingTriggeredPopupBlocker", EmbedderSafeBrowsingThreatDetails: "EmbedderSafeBrowsingThreatDetails", EmbedderAppBannerManager: "EmbedderAppBannerManager", EmbedderDomDistillerViewerSource: "EmbedderDomDistillerViewerSource", EmbedderDomDistillerSelfDeletingRequestDelegate: "EmbedderDomDistillerSelfDeletingRequestDelegate", EmbedderOomInterventionTabHelper: "EmbedderOomInterventionTabHelper", EmbedderOfflinePage: "EmbedderOfflinePage", EmbedderChromePasswordManagerClientBindCredentialManager: "EmbedderChromePasswordManagerClientBindCredentialManager", EmbedderPermissionRequestManager: "EmbedderPermissionRequestManager", EmbedderModalDialog: "EmbedderModalDialog", EmbedderExtensions: "EmbedderExtensions", EmbedderExtensionMessaging: "EmbedderExtensionMessaging", EmbedderExtensionMessagingForOpenPort: "EmbedderExtensionMessagingForOpenPort", EmbedderExtensionSentMessageToCachedFrame: "EmbedderExtensionSentMessageToCachedFrame"});
|
569
569
|
inspectorBackend.registerEnum("Page.BackForwardCacheNotRestoredReasonType", {SupportPending: "SupportPending", PageSupportNeeded: "PageSupportNeeded", Circumstantial: "Circumstantial"});
|
570
|
-
inspectorBackend.registerEnum("Page.PrerenderFinalStatus", {Activated: "Activated", Destroyed: "Destroyed", LowEndDevice: "LowEndDevice", CrossOriginRedirect: "CrossOriginRedirect", CrossOriginNavigation: "CrossOriginNavigation", InvalidSchemeRedirect: "InvalidSchemeRedirect", InvalidSchemeNavigation: "InvalidSchemeNavigation", InProgressNavigation: "InProgressNavigation", NavigationRequestBlockedByCsp: "NavigationRequestBlockedByCsp", MainFrameNavigation: "MainFrameNavigation", MojoBinderPolicy: "MojoBinderPolicy", RendererProcessCrashed: "RendererProcessCrashed", RendererProcessKilled: "RendererProcessKilled", Download: "Download", TriggerDestroyed: "TriggerDestroyed", NavigationNotCommitted: "NavigationNotCommitted", NavigationBadHttpStatus: "NavigationBadHttpStatus", ClientCertRequested: "ClientCertRequested", NavigationRequestNetworkError: "NavigationRequestNetworkError", MaxNumOfRunningPrerendersExceeded: "MaxNumOfRunningPrerendersExceeded", CancelAllHostsForTesting: "CancelAllHostsForTesting", DidFailLoad: "DidFailLoad", Stop: "Stop", SslCertificateError: "SslCertificateError", LoginAuthRequested: "LoginAuthRequested", UaChangeRequiresReload: "UaChangeRequiresReload", BlockedByClient: "BlockedByClient", AudioOutputDeviceRequested: "AudioOutputDeviceRequested", MixedContent: "MixedContent", TriggerBackgrounded: "TriggerBackgrounded", EmbedderTriggeredAndSameOriginRedirected: "EmbedderTriggeredAndSameOriginRedirected", EmbedderTriggeredAndCrossOriginRedirected: "EmbedderTriggeredAndCrossOriginRedirected", EmbedderTriggeredAndDestroyed: "EmbedderTriggeredAndDestroyed"});
|
570
|
+
inspectorBackend.registerEnum("Page.PrerenderFinalStatus", {Activated: "Activated", Destroyed: "Destroyed", LowEndDevice: "LowEndDevice", CrossOriginRedirect: "CrossOriginRedirect", CrossOriginNavigation: "CrossOriginNavigation", InvalidSchemeRedirect: "InvalidSchemeRedirect", InvalidSchemeNavigation: "InvalidSchemeNavigation", InProgressNavigation: "InProgressNavigation", NavigationRequestBlockedByCsp: "NavigationRequestBlockedByCsp", MainFrameNavigation: "MainFrameNavigation", MojoBinderPolicy: "MojoBinderPolicy", RendererProcessCrashed: "RendererProcessCrashed", RendererProcessKilled: "RendererProcessKilled", Download: "Download", TriggerDestroyed: "TriggerDestroyed", NavigationNotCommitted: "NavigationNotCommitted", NavigationBadHttpStatus: "NavigationBadHttpStatus", ClientCertRequested: "ClientCertRequested", NavigationRequestNetworkError: "NavigationRequestNetworkError", MaxNumOfRunningPrerendersExceeded: "MaxNumOfRunningPrerendersExceeded", CancelAllHostsForTesting: "CancelAllHostsForTesting", DidFailLoad: "DidFailLoad", Stop: "Stop", SslCertificateError: "SslCertificateError", LoginAuthRequested: "LoginAuthRequested", UaChangeRequiresReload: "UaChangeRequiresReload", BlockedByClient: "BlockedByClient", AudioOutputDeviceRequested: "AudioOutputDeviceRequested", MixedContent: "MixedContent", TriggerBackgrounded: "TriggerBackgrounded", EmbedderTriggeredAndSameOriginRedirected: "EmbedderTriggeredAndSameOriginRedirected", EmbedderTriggeredAndCrossOriginRedirected: "EmbedderTriggeredAndCrossOriginRedirected", EmbedderTriggeredAndDestroyed: "EmbedderTriggeredAndDestroyed", MemoryLimitExceeded: "MemoryLimitExceeded", FailToGetMemoryUsage: "FailToGetMemoryUsage"});
|
571
571
|
inspectorBackend.registerEvent("Page.domContentEventFired", ["timestamp"]);
|
572
572
|
inspectorBackend.registerEnum("Page.FileChooserOpenedEventMode", {SelectSingle: "selectSingle", SelectMultiple: "selectMultiple"});
|
573
573
|
inspectorBackend.registerEvent("Page.fileChooserOpened", ["frameId", "mode", "backendNodeId"]);
|
@@ -1302,8 +1302,7 @@ export const generatedProperties = [
|
|
1302
1302
|
"keywords": [
|
1303
1303
|
"visible",
|
1304
1304
|
"auto",
|
1305
|
-
"hidden"
|
1306
|
-
"hidden-matchable"
|
1305
|
+
"hidden"
|
1307
1306
|
],
|
1308
1307
|
"name": "content-visibility"
|
1309
1308
|
},
|
@@ -4082,8 +4081,7 @@ export const generatedPropertyValues = {
|
|
4082
4081
|
"values": [
|
4083
4082
|
"visible",
|
4084
4083
|
"auto",
|
4085
|
-
"hidden"
|
4086
|
-
"hidden-matchable"
|
4084
|
+
"hidden"
|
4087
4085
|
]
|
4088
4086
|
},
|
4089
4087
|
"counter-increment": {
|