chrome-devtools-frontend 1.0.1027602 → 1.0.1029149
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 +21 -3
- package/front_end/core/i18n/locales/en-XL.json +21 -3
- package/front_end/core/sdk/DebuggerModel.ts +9 -10
- package/front_end/core/sdk/NetworkManager.ts +3 -1
- package/front_end/core/sdk/Script.ts +43 -18
- package/front_end/core/sdk/SourceMapManager.ts +5 -4
- package/front_end/generated/InspectorBackendCommands.js +8 -7
- package/front_end/generated/SupportedCSSProperties.js +6 -0
- package/front_end/generated/protocol-mapping.d.ts +7 -0
- package/front_end/generated/protocol-proxy-api.d.ts +5 -0
- package/front_end/generated/protocol.ts +52 -6
- 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 +16 -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 +7 -2
- package/front_end/models/text_utils/ContentProvider.ts +9 -1
- package/front_end/panels/application/StorageView.ts +2 -1
- package/front_end/panels/application/components/Prerender2.ts +12 -0
- package/front_end/panels/console/consoleView.css +0 -4
- package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -1
- package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +11 -42
- package/front_end/panels/network/components/RequestHeadersView.css +7 -0
- package/front_end/panels/network/components/RequestHeadersView.ts +102 -21
- package/front_end/panels/network/network-meta.ts +16 -0
- 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 +1 -0
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +1 -1
- 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) {
|
@@ -1397,6 +1397,9 @@
|
|
1397
1397
|
"models/issues_manager/DeprecationIssue.ts | eventPath": {
|
1398
1398
|
"message": "Event.path is deprecated and will be removed. Please use Event.composedPath() instead."
|
1399
1399
|
},
|
1400
|
+
"models/issues_manager/DeprecationIssue.ts | expectCTHeader": {
|
1401
|
+
"message": "The Expect-CT header is deprecated and will be removed. Chrome requires Certificate Transparency for all publicly trusted certificates issued after April 30, 2018."
|
1402
|
+
},
|
1400
1403
|
"models/issues_manager/DeprecationIssue.ts | feature": {
|
1401
1404
|
"message": "Check the feature status page for more details."
|
1402
1405
|
},
|
@@ -3281,6 +3284,9 @@
|
|
3281
3284
|
"panels/application/components/Prerender2.ts | EmbedderTriggeredAndSameOriginRedirected": {
|
3282
3285
|
"message": "Prerendering triggered by Chrome internal (e.g., Omnibox prerendering) is canceled because the navigation is redirected to another same-origin page."
|
3283
3286
|
},
|
3287
|
+
"panels/application/components/Prerender2.ts | FailToGetMemoryUsage": {
|
3288
|
+
"message": "Fail to get memory usage"
|
3289
|
+
},
|
3284
3290
|
"panels/application/components/Prerender2.ts | InProgressNavigation": {
|
3285
3291
|
"message": "InProgressNavigation."
|
3286
3292
|
},
|
@@ -3302,6 +3308,9 @@
|
|
3302
3308
|
"panels/application/components/Prerender2.ts | MaxNumOfRunningPrerendersExceeded": {
|
3303
3309
|
"message": "Max number of prerendering exceeded."
|
3304
3310
|
},
|
3311
|
+
"panels/application/components/Prerender2.ts | MemoryLimitExceeded": {
|
3312
|
+
"message": "Memory limit exceeded"
|
3313
|
+
},
|
3305
3314
|
"panels/application/components/Prerender2.ts | MixedContent": {
|
3306
3315
|
"message": "Prerendering is canceled by a mixed content frame."
|
3307
3316
|
},
|
@@ -5699,9 +5708,6 @@
|
|
5699
5708
|
"panels/issues/AttributionReportingIssueDetailsView.ts | element": {
|
5700
5709
|
"message": "Element"
|
5701
5710
|
},
|
5702
|
-
"panels/issues/AttributionReportingIssueDetailsView.ts | frame": {
|
5703
|
-
"message": "Frame"
|
5704
|
-
},
|
5705
5711
|
"panels/issues/AttributionReportingIssueDetailsView.ts | invalidHeaderValue": {
|
5706
5712
|
"message": "Invalid Header Value"
|
5707
5713
|
},
|
@@ -6818,9 +6824,18 @@
|
|
6818
6824
|
"panels/network/BlockedURLsPane.ts | textPatternToBlockMatching": {
|
6819
6825
|
"message": "Text pattern to block matching requests; use * for wildcard"
|
6820
6826
|
},
|
6827
|
+
"panels/network/components/RequestHeadersView.ts | activeClientExperimentVariation": {
|
6828
|
+
"message": "Active client experiment variation IDs."
|
6829
|
+
},
|
6830
|
+
"panels/network/components/RequestHeadersView.ts | activeClientExperimentVariationIds": {
|
6831
|
+
"message": "Active client experiment variation IDs that trigger server-side behavior."
|
6832
|
+
},
|
6821
6833
|
"panels/network/components/RequestHeadersView.ts | chooseThisOptionIfTheResourceAnd": {
|
6822
6834
|
"message": "Choose this option if the resource and the document are served from the same site."
|
6823
6835
|
},
|
6836
|
+
"panels/network/components/RequestHeadersView.ts | decoded": {
|
6837
|
+
"message": "Decoded:"
|
6838
|
+
},
|
6824
6839
|
"panels/network/components/RequestHeadersView.ts | fromDiskCache": {
|
6825
6840
|
"message": "(from disk cache)"
|
6826
6841
|
},
|
@@ -6989,6 +7004,9 @@
|
|
6989
7004
|
"panels/network/network-meta.ts | dontGroupNetworkLogItemsByFrame": {
|
6990
7005
|
"message": "Don't group network log items by frame"
|
6991
7006
|
},
|
7007
|
+
"panels/network/network-meta.ts | enableUNCLoading": {
|
7008
|
+
"message": "Allow DevTools to load resources, such as source maps, from Windows Shares via UNC paths. Disabled by default for security reasons."
|
7009
|
+
},
|
6992
7010
|
"panels/network/network-meta.ts | frame": {
|
6993
7011
|
"message": "frame"
|
6994
7012
|
},
|
@@ -1397,6 +1397,9 @@
|
|
1397
1397
|
"models/issues_manager/DeprecationIssue.ts | eventPath": {
|
1398
1398
|
"message": "Event.path îś d̂ép̂ŕêćât́êd́ âńd̂ ẃîĺl̂ b́ê ŕêḿôv́êd́. P̂ĺêáŝé ûśê Event.composedPath() ín̂śt̂éâd́."
|
1399
1399
|
},
|
1400
|
+
"models/issues_manager/DeprecationIssue.ts | expectCTHeader": {
|
1401
|
+
"message": "T̂h́ê Expect-CT h́êád̂ér̂ íŝ d́êṕr̂éĉát̂éd̂ án̂d́ ŵíl̂ĺ b̂é r̂ém̂óv̂éd̂. Ćĥŕôḿê ŕêq́ûír̂éŝ Ćêŕt̂íf̂íĉát̂é T̂ŕâńŝṕâŕêńĉý f̂ór̂ ál̂ĺ p̂úb̂ĺîćl̂ý t̂ŕûśt̂éd̂ ćêŕt̂íf̂íĉát̂éŝ íŝśûéd̂ áf̂t́êŕ Âṕr̂íl̂ 30, 2018."
|
1402
|
+
},
|
1400
1403
|
"models/issues_manager/DeprecationIssue.ts | feature": {
|
1401
1404
|
"message": "Ĉh́êćk̂ t́ĥé f̂éât́ûŕê śt̂át̂úŝ ṕâǵê f́ôŕ m̂ór̂é d̂ét̂áîĺŝ."
|
1402
1405
|
},
|
@@ -3281,6 +3284,9 @@
|
|
3281
3284
|
"panels/application/components/Prerender2.ts | EmbedderTriggeredAndSameOriginRedirected": {
|
3282
3285
|
"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̂ ṕâǵê."
|
3283
3286
|
},
|
3287
|
+
"panels/application/components/Prerender2.ts | FailToGetMemoryUsage": {
|
3288
|
+
"message": "F̂áîĺ t̂ó ĝét̂ ḿêḿôŕŷ úŝáĝé"
|
3289
|
+
},
|
3284
3290
|
"panels/application/components/Prerender2.ts | InProgressNavigation": {
|
3285
3291
|
"message": "ÎńP̂ŕôǵr̂éŝśN̂áv̂íĝát̂íôń."
|
3286
3292
|
},
|
@@ -3302,6 +3308,9 @@
|
|
3302
3308
|
"panels/application/components/Prerender2.ts | MaxNumOfRunningPrerendersExceeded": {
|
3303
3309
|
"message": "M̂áx̂ ńûḿb̂ér̂ óf̂ ṕr̂ér̂én̂d́êŕîńĝ éx̂ćêéd̂éd̂."
|
3304
3310
|
},
|
3311
|
+
"panels/application/components/Prerender2.ts | MemoryLimitExceeded": {
|
3312
|
+
"message": "M̂ém̂ór̂ý l̂ím̂ít̂ éx̂ćêéd̂éd̂"
|
3313
|
+
},
|
3305
3314
|
"panels/application/components/Prerender2.ts | MixedContent": {
|
3306
3315
|
"message": "P̂ŕêŕêńd̂ér̂ín̂ǵ îś ĉán̂ćêĺêd́ b̂ý â ḿîx́êd́ ĉón̂t́êńt̂ f́r̂ám̂é."
|
3307
3316
|
},
|
@@ -5699,9 +5708,6 @@
|
|
5699
5708
|
"panels/issues/AttributionReportingIssueDetailsView.ts | element": {
|
5700
5709
|
"message": "Êĺêḿêńt̂"
|
5701
5710
|
},
|
5702
|
-
"panels/issues/AttributionReportingIssueDetailsView.ts | frame": {
|
5703
|
-
"message": "F̂ŕâḿê"
|
5704
|
-
},
|
5705
5711
|
"panels/issues/AttributionReportingIssueDetailsView.ts | invalidHeaderValue": {
|
5706
5712
|
"message": "Îńv̂ál̂íd̂ H́êád̂ér̂ V́âĺûé"
|
5707
5713
|
},
|
@@ -6818,9 +6824,18 @@
|
|
6818
6824
|
"panels/network/BlockedURLsPane.ts | textPatternToBlockMatching": {
|
6819
6825
|
"message": "T̂éx̂t́ p̂át̂t́êŕn̂ t́ô b́l̂óĉḱ m̂át̂ćĥín̂ǵ r̂éq̂úêśt̂ś; ûśê * f́ôŕ ŵíl̂d́ĉár̂d́"
|
6820
6826
|
},
|
6827
|
+
"panels/network/components/RequestHeadersView.ts | activeClientExperimentVariation": {
|
6828
|
+
"message": "Âćt̂ív̂é client experiment variation IDs."
|
6829
|
+
},
|
6830
|
+
"panels/network/components/RequestHeadersView.ts | activeClientExperimentVariationIds": {
|
6831
|
+
"message": "Âćt̂ív̂é client experiment variation IDs t̂h́ât́ t̂ŕîǵĝér̂ śêŕv̂ér̂-śîd́ê b́êh́âv́îór̂."
|
6832
|
+
},
|
6821
6833
|
"panels/network/components/RequestHeadersView.ts | chooseThisOptionIfTheResourceAnd": {
|
6822
6834
|
"message": "Ĉh́ôóŝé t̂h́îś ôṕt̂íôń îf́ t̂h́ê ŕêśôúr̂ćê án̂d́ t̂h́ê d́ôćûḿêńt̂ ár̂é ŝér̂v́êd́ f̂ŕôḿ t̂h́ê śâḿê śît́ê."
|
6823
6835
|
},
|
6836
|
+
"panels/network/components/RequestHeadersView.ts | decoded": {
|
6837
|
+
"message": "D̂éĉód̂éd̂:"
|
6838
|
+
},
|
6824
6839
|
"panels/network/components/RequestHeadersView.ts | fromDiskCache": {
|
6825
6840
|
"message": "(f̂ŕôḿ d̂íŝḱ ĉáĉh́ê)"
|
6826
6841
|
},
|
@@ -6989,6 +7004,9 @@
|
|
6989
7004
|
"panels/network/network-meta.ts | dontGroupNetworkLogItemsByFrame": {
|
6990
7005
|
"message": "D̂ón̂'t́ ĝŕôúp̂ ńêt́ŵór̂ḱ l̂óĝ ít̂ém̂ś b̂ý f̂ŕâḿê"
|
6991
7006
|
},
|
7007
|
+
"panels/network/network-meta.ts | enableUNCLoading": {
|
7008
|
+
"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̂ś."
|
7009
|
+
},
|
6992
7010
|
"panels/network/network-meta.ts | frame": {
|
6993
7011
|
"message": "f̂ŕâḿê"
|
6994
7012
|
},
|
@@ -681,9 +681,9 @@ export class DebuggerModel extends SDKModel<EventTypes> {
|
|
681
681
|
// TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
|
682
682
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
683
683
|
executionContextId: number, hash: string, executionContextAuxData: any, isLiveEdit: boolean,
|
684
|
-
sourceMapURL:
|
685
|
-
|
686
|
-
|
684
|
+
sourceMapURL: string|undefined, hasSourceURLComment: boolean, hasSyntaxError: boolean, length: number,
|
685
|
+
isModule: boolean|null, originStackTrace: Protocol.Runtime.StackTrace|null, codeOffset: number|null,
|
686
|
+
scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
|
687
687
|
embedderName: Platform.DevToolsPath.UrlString|null): Script {
|
688
688
|
const knownScript = this.#scriptsInternal.get(scriptId);
|
689
689
|
if (knownScript) {
|
@@ -1045,10 +1045,9 @@ class DebuggerDispatcher implements ProtocolProxyApi.DebuggerDispatcher {
|
|
1045
1045
|
}
|
1046
1046
|
this.#debuggerModel.parsedScriptSource(
|
1047
1047
|
scriptId, url as Platform.DevToolsPath.UrlString, startLine, startColumn, endLine, endColumn,
|
1048
|
-
executionContextId, hash, executionContextAuxData, Boolean(isLiveEdit),
|
1049
|
-
|
1050
|
-
|
1051
|
-
embedderName as Platform.DevToolsPath.UrlString || null);
|
1048
|
+
executionContextId, hash, executionContextAuxData, Boolean(isLiveEdit), sourceMapURL, Boolean(hasSourceURL),
|
1049
|
+
false, length || 0, isModule || null, stackTrace || null, codeOffset || null, scriptLanguage || null,
|
1050
|
+
debugSymbols || null, embedderName as Platform.DevToolsPath.UrlString || null);
|
1052
1051
|
}
|
1053
1052
|
|
1054
1053
|
scriptFailedToParse({
|
@@ -1075,9 +1074,9 @@ class DebuggerDispatcher implements ProtocolProxyApi.DebuggerDispatcher {
|
|
1075
1074
|
}
|
1076
1075
|
this.#debuggerModel.parsedScriptSource(
|
1077
1076
|
scriptId, url as Platform.DevToolsPath.UrlString, startLine, startColumn, endLine, endColumn,
|
1078
|
-
executionContextId, hash, executionContextAuxData, false, sourceMapURL
|
1079
|
-
|
1080
|
-
|
1077
|
+
executionContextId, hash, executionContextAuxData, false, sourceMapURL, Boolean(hasSourceURL), true,
|
1078
|
+
length || 0, isModule || null, stackTrace || null, codeOffset || null, scriptLanguage || null, null,
|
1079
|
+
embedderName as Platform.DevToolsPath.UrlString || null);
|
1081
1080
|
}
|
1082
1081
|
|
1083
1082
|
breakpointResolved({breakpointId, location}: Protocol.Debugger.BreakpointResolvedEvent): void {
|
@@ -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
|
|
@@ -65,7 +65,7 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
65
65
|
hash: string;
|
66
66
|
readonly #isContentScriptInternal: boolean;
|
67
67
|
readonly #isLiveEditInternal: boolean;
|
68
|
-
sourceMapURL
|
68
|
+
sourceMapURL?: string;
|
69
69
|
debugSymbols: Protocol.Debugger.DebugSymbols|null;
|
70
70
|
hasSourceURL: boolean;
|
71
71
|
contentLength: number;
|
@@ -79,10 +79,9 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
79
79
|
constructor(
|
80
80
|
debuggerModel: DebuggerModel, scriptId: Protocol.Runtime.ScriptId, sourceURL: Platform.DevToolsPath.UrlString,
|
81
81
|
startLine: number, startColumn: number, endLine: number, endColumn: number, executionContextId: number,
|
82
|
-
hash: string, isContentScript: boolean, isLiveEdit: boolean,
|
83
|
-
|
84
|
-
|
85
|
-
scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
|
82
|
+
hash: string, isContentScript: boolean, isLiveEdit: boolean, sourceMapURL: string|undefined,
|
83
|
+
hasSourceURL: boolean, length: number, isModule: boolean|null, originStackTrace: Protocol.Runtime.StackTrace|null,
|
84
|
+
codeOffset: number|null, scriptLanguage: string|null, debugSymbols: Protocol.Debugger.DebugSymbols|null,
|
86
85
|
embedderName: Platform.DevToolsPath.UrlString|null) {
|
87
86
|
this.debuggerModel = debuggerModel;
|
88
87
|
this.scriptId = scriptId;
|
@@ -195,28 +194,54 @@ export class Script implements TextUtils.ContentProvider.ContentProvider, FrameA
|
|
195
194
|
this.#originalContentProviderInternal =
|
196
195
|
new TextUtils.StaticContentProvider.StaticContentProvider(this.contentURL(), this.contentType(), () => {
|
197
196
|
if (!lazyContentPromise) {
|
198
|
-
lazyContentPromise = (async(): Promise<{
|
199
|
-
content: null,
|
200
|
-
error: Common.UIString.LocalizedString,
|
201
|
-
isEncoded: boolean,
|
202
|
-
}|{
|
203
|
-
content: string,
|
204
|
-
isEncoded: boolean,
|
205
|
-
error?: undefined,
|
206
|
-
}> => {
|
197
|
+
lazyContentPromise = (async(): Promise<TextUtils.ContentProvider.DeferredContent> => {
|
207
198
|
if (!this.scriptId) {
|
208
199
|
return {content: null, error: i18nString(UIStrings.scriptRemovedOrDeleted), isEncoded: false};
|
209
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
|
+
}
|
210
238
|
try {
|
211
239
|
const result = await this.debuggerModel.target().debuggerAgent().invoke_getScriptSource(
|
212
240
|
{scriptId: this.scriptId});
|
213
241
|
if (result.getError()) {
|
214
242
|
throw new Error(result.getError());
|
215
243
|
}
|
216
|
-
const {scriptSource
|
217
|
-
if (bytecode) {
|
218
|
-
return {content: bytecode, isEncoded: true};
|
219
|
-
}
|
244
|
+
const {scriptSource} = result;
|
220
245
|
let content: string = scriptSource || '';
|
221
246
|
if (this.hasSourceURL && this.sourceURL.startsWith('snippet://')) {
|
222
247
|
// TODO(crbug.com/1330846): Find a better way to establish the snippet automapping binding then adding
|
@@ -27,7 +27,9 @@ export class SourceMapManager<T extends FrameAssociated> extends Common.ObjectWr
|
|
27
27
|
readonly #target: Target;
|
28
28
|
#isEnabled: boolean;
|
29
29
|
readonly #relativeSourceURL: Map<T, Platform.DevToolsPath.UrlString>;
|
30
|
-
|
30
|
+
// Stores the raw sourceMappingURL as provided by V8. These are not guaranteed to
|
31
|
+
// be valid URLs and will be checked and resolved once `attachSourceMap` is called.
|
32
|
+
readonly #relativeSourceMapURL: Map<T, string>;
|
31
33
|
#resolvedSourceMapId: Map<T, string>;
|
32
34
|
readonly #sourceMapById: Map<string, SourceMap>;
|
33
35
|
#sourceMapIdToLoadingClients: Platform.MapUtilities.Multimap<string, T>;
|
@@ -157,8 +159,7 @@ export class SourceMapManager<T extends FrameAssociated> extends Common.ObjectWr
|
|
157
159
|
return `${sourceURL}:${sourceMapURL}`;
|
158
160
|
}
|
159
161
|
|
160
|
-
private resolveRelativeURLs(
|
161
|
-
sourceURL: Platform.DevToolsPath.UrlString, sourceMapURL: Platform.DevToolsPath.UrlString): {
|
162
|
+
private resolveRelativeURLs(sourceURL: Platform.DevToolsPath.UrlString, sourceMapURL: string): {
|
162
163
|
sourceURL: Platform.DevToolsPath.UrlString,
|
163
164
|
sourceMapURL: Platform.DevToolsPath.UrlString,
|
164
165
|
sourceMapId: string,
|
@@ -182,7 +183,7 @@ export class SourceMapManager<T extends FrameAssociated> extends Common.ObjectWr
|
|
182
183
|
|
183
184
|
attachSourceMap(
|
184
185
|
client: T, relativeSourceURL: Platform.DevToolsPath.UrlString|undefined,
|
185
|
-
relativeSourceMapURL:
|
186
|
+
relativeSourceMapURL: string|undefined): void {
|
186
187
|
// TODO(chromium:1011811): Strengthen the type to obsolte the undefined check once core/sdk/ is fully typescriptified.
|
187
188
|
if (relativeSourceURL === undefined || !relativeSourceMapURL) {
|
188
189
|
return;
|
@@ -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", AttributionSourceUntrustworthyOrigin: "AttributionSourceUntrustworthyOrigin", AttributionUntrustworthyOrigin: "AttributionUntrustworthyOrigin", InvalidHeader: "InvalidHeader"});
|
66
|
+
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", {PermissionPolicyDisabled: "PermissionPolicyDisabled", AttributionSourceUntrustworthyOrigin: "AttributionSourceUntrustworthyOrigin", AttributionUntrustworthyOrigin: "AttributionUntrustworthyOrigin", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader"});
|
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", NoSysexWebMIDIWithoutPermission: "NoSysexWebMIDIWithoutPermission", NotificationInsecureOrigin: "NotificationInsecureOrigin", NotificationPermissionRequestedIframe: "NotificationPermissionRequestedIframe", ObsoleteWebRtcCipherSuite: "ObsoleteWebRtcCipherSuite", OpenWebDatabaseInsecureContext: "OpenWebDatabaseInsecureContext", 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,13 +338,13 @@ 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
346
|
inspectorBackend.registerCommand("IndexedDB.requestData", [{"name": "securityOrigin", "type": "string", "optional": false}, {"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":
|
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
348
|
inspectorBackend.registerCommand("IndexedDB.requestDatabase", [{"name": "securityOrigin", "type": "string", "optional": false}, {"name": "databaseName", "type": "string", "optional": false}], ["databaseWithObjectStores"]);
|
349
349
|
inspectorBackend.registerCommand("IndexedDB.requestDatabaseNames", [{"name": "securityOrigin", "type": "string", "optional": false}], ["databaseNames"]);
|
350
350
|
|
@@ -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"]);
|
@@ -722,6 +722,7 @@ inspectorBackend.registerEvent("Storage.indexedDBListUpdated", ["origin"]);
|
|
722
722
|
inspectorBackend.registerEvent("Storage.interestGroupAccessed", ["accessTime", "type", "ownerOrigin", "name"]);
|
723
723
|
inspectorBackend.registerCommand("Storage.getStorageKeyForFrame", [{"name": "frameId", "type": "string", "optional": false}], ["storageKey"]);
|
724
724
|
inspectorBackend.registerCommand("Storage.clearDataForOrigin", [{"name": "origin", "type": "string", "optional": false}, {"name": "storageTypes", "type": "string", "optional": false}], []);
|
725
|
+
inspectorBackend.registerCommand("Storage.clearDataForStorageKey", [{"name": "storageKey", "type": "string", "optional": false}, {"name": "storageTypes", "type": "string", "optional": false}], []);
|
725
726
|
inspectorBackend.registerCommand("Storage.getCookies", [{"name": "browserContextId", "type": "string", "optional": true}], ["cookies"]);
|
726
727
|
inspectorBackend.registerCommand("Storage.setCookies", [{"name": "cookies", "type": "object", "optional": false}, {"name": "browserContextId", "type": "string", "optional": true}], []);
|
727
728
|
inspectorBackend.registerCommand("Storage.clearCookies", [{"name": "browserContextId", "type": "string", "optional": true}], []);
|