chrome-devtools-frontend 1.0.1021582 → 1.0.1022475
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/.eslintignore +14 -1
- package/extension-api/ExtensionAPI.d.ts +54 -4
- package/front_end/.eslintrc.js +3 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +18 -0
- package/front_end/core/i18n/locales/en-US.json +60 -0
- package/front_end/core/i18n/locales/en-XL.json +60 -0
- package/front_end/core/sdk/DebuggerModel.ts +10 -0
- package/front_end/devtools_compatibility.js +1 -0
- package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +4 -3
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +166 -117
- package/front_end/models/bindings/ResourceScriptMapping.ts +12 -1
- package/front_end/models/extensions/ExtensionAPI.ts +101 -13
- package/front_end/models/extensions/ExtensionServer.ts +63 -1
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +16 -3
- package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -1
- package/front_end/models/timeline_model/TimelineModel.ts +164 -7
- package/front_end/panels/application/AppManifestView.ts +13 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +67 -5
- package/front_end/panels/elements/ElementsTreeOutline.ts +41 -7
- package/front_end/panels/elements/TopLayerContainer.ts +9 -1
- package/front_end/panels/elements/components/AdornerManager.ts +7 -0
- package/front_end/panels/elements/elementsTreeOutline.css +4 -0
- package/front_end/panels/network/components/RequestHeadersView.css +55 -0
- package/front_end/panels/network/components/RequestHeadersView.ts +278 -14
- package/front_end/panels/sources/AddSourceMapURLDialog.ts +17 -3
- package/front_end/panels/sources/CallStackSidebarPane.ts +7 -0
- package/front_end/panels/sources/DebuggerPlugin.ts +29 -3
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +8 -0
- package/front_end/panels/sources/SourcesPanel.ts +14 -0
- package/front_end/third_party/acorn/acorn.ts +1 -1
- package/front_end/third_party/chromium/client-variations/client-variations.ts +1 -1
- package/front_end/third_party/diff/DiffWrapper.ts +2 -0
- package/front_end/third_party/i18n/i18n-impl.ts +5 -1
- package/front_end/third_party/i18n/i18n.ts +1 -1
- package/front_end/third_party/i18n/locales.ts +1 -1
- package/front_end/third_party/marked/marked.ts +1 -1
- package/front_end/third_party/puppeteer/puppeteer.ts +6 -6
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +23 -1
- package/front_end/ui/legacy/ReportView.ts +8 -0
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/custom_element_definitions_location.js +29 -14
- package/scripts/eslint_rules/lib/es_modules_import.js +5 -1
- package/scripts/eslint_rules/tests/custom_element_definitions_location_test.js +14 -2
- package/scripts/eslint_rules/tests/es_modules_import_test.js +5 -0
package/.eslintignore
CHANGED
@@ -8,7 +8,20 @@ front_end/diff/diff_match_patch.js
|
|
8
8
|
front_end/generated/protocol.ts
|
9
9
|
front_end/javascript_metadata/NativeFunctions.js
|
10
10
|
front_end/javascript_metadata/DOMPinnedProperties.ts
|
11
|
-
|
11
|
+
|
12
|
+
// Any third_party addition has its source code checked out into
|
13
|
+
// third_party/X/package, so we ignore that code as it's not code we author or
|
14
|
+
// own.
|
15
|
+
front_end/third_party/*/package/
|
16
|
+
// Any JS files are also not authored by devtools-frontend, so we ignore those.
|
17
|
+
front_end/third_party/**/*.js
|
18
|
+
// Lighthouse doesn't have a package/ folder but has other nested folders, so
|
19
|
+
// we ignore any folders within the lighthouse directory.
|
20
|
+
front_end/third_party/lighthouse/*/
|
21
|
+
// The CodeMirror bundle file is auto-generated and rolled-up as part of the
|
22
|
+
// install script, so we don't need to lint it.
|
23
|
+
front_end/third_party/codemirror.next/bundle.ts
|
24
|
+
|
12
25
|
node_modules
|
13
26
|
scripts/migration/**/*.js
|
14
27
|
scripts/protocol_typescript/*.js
|
@@ -176,6 +176,25 @@ export namespace Chrome {
|
|
176
176
|
stringifyStep(step: Record<string, any>): Promise<string>;
|
177
177
|
}
|
178
178
|
|
179
|
+
export type RemoteObjectId = string;
|
180
|
+
export type RemoteObjectType = 'object'|'undefined'|'string'|'number'|'boolean'|'bigint'|'array'|'null';
|
181
|
+
|
182
|
+
|
183
|
+
export interface RemoteObject {
|
184
|
+
type: RemoteObjectType;
|
185
|
+
className?: string;
|
186
|
+
value?: any;
|
187
|
+
description?: string;
|
188
|
+
objectId?: RemoteObjectId;
|
189
|
+
linearMemoryAddress?: number;
|
190
|
+
hasChildren: boolean;
|
191
|
+
}
|
192
|
+
|
193
|
+
export interface PropertyDescriptor {
|
194
|
+
name: string;
|
195
|
+
value: RemoteObject;
|
196
|
+
}
|
197
|
+
|
179
198
|
export interface LanguageExtensionPlugin {
|
180
199
|
/**
|
181
200
|
* A new raw module has been loaded. If the raw wasm module references an external debug info module, its URL will be
|
@@ -210,8 +229,9 @@ export namespace Chrome {
|
|
210
229
|
removeRawModule(rawModuleId: string): Promise<void>;
|
211
230
|
|
212
231
|
/**
|
213
|
-
* Return type information for an expression. The result describes the type (and recursively its
|
214
|
-
* result of the expression if it were evaluated in the given context.
|
232
|
+
* DEPRECATED. Return type information for an expression. The result describes the type (and recursively its
|
233
|
+
* member types) of the result of the expression if it were evaluated in the given context.
|
234
|
+
* TODO(crbug.com/1342848) Remove.
|
215
235
|
*/
|
216
236
|
getTypeInfo(expression: string, context: RawLocation): Promise<{
|
217
237
|
typeInfos: Array<TypeInfo>,
|
@@ -219,7 +239,9 @@ export namespace Chrome {
|
|
219
239
|
}|null>;
|
220
240
|
|
221
241
|
/**
|
222
|
-
* Returns a piece of JavaScript code that, if evaluated, produces a representation of the given
|
242
|
+
* DEPRECATED. Returns a piece of JavaScript code that, if evaluated, produces a representation of the given
|
243
|
+
* expression or field.
|
244
|
+
* TODO(crbug.com/1342848) Remove.
|
223
245
|
*/
|
224
246
|
getFormatter(
|
225
247
|
expressionOrField: string|{
|
@@ -231,7 +253,16 @@ export namespace Chrome {
|
|
231
253
|
}|null>;
|
232
254
|
|
233
255
|
/**
|
234
|
-
*
|
256
|
+
* Evaluate a source language expression in the context of a given raw location and a given stopId. stopId is an
|
257
|
+
* opaque key that should be passed to the APIs accessing wasm state, e.g., getWasmLinearMemory. A stopId is
|
258
|
+
* invalidated once the debugger resumes.
|
259
|
+
* TODO(crbug.com/1342848) Make non-optional.
|
260
|
+
*/
|
261
|
+
evaluate?(expression: string, context: RawLocation, stopId: unknown): Promise<RemoteObject|null>;
|
262
|
+
|
263
|
+
/**
|
264
|
+
* DEPRECATED. Returns a piece of JavaScript code that, if evaluated, produces the address of the given field in the wasm memory.
|
265
|
+
* TODO(crbug.com/1342848) Remove.
|
235
266
|
*/
|
236
267
|
getInspectableAddress(field: {
|
237
268
|
base: EvalBase,
|
@@ -263,6 +294,17 @@ export namespace Chrome {
|
|
263
294
|
* Retrieve a list of line numbers in a file for which line-to-raw-location mappings exist.
|
264
295
|
*/
|
265
296
|
getMappedLines(rawModuleId: string, sourceFileURL: string): Promise<number[]|undefined>;
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Retrieve properties of the remote object identified by the object id.
|
300
|
+
* TODO(crbug.com/1342848) Make non-optional.
|
301
|
+
*/
|
302
|
+
getProperties?(objectId: RemoteObjectId): Promise<PropertyDescriptor[]>;
|
303
|
+
/**
|
304
|
+
* Permanently release the remote object identified by the object id.
|
305
|
+
* TODO(crbug.com/1342848) Make non-optional.
|
306
|
+
*/
|
307
|
+
releaseObject?(objectId: RemoteObjectId): Promise<void>;
|
266
308
|
}
|
267
309
|
|
268
310
|
|
@@ -271,11 +313,19 @@ export namespace Chrome {
|
|
271
313
|
symbol_types: string[];
|
272
314
|
}
|
273
315
|
|
316
|
+
export type WasmValue = {type: 'i32'|'f32'|'f64', value: number}|{type: 'i64', value: bigint}|
|
317
|
+
{type: 'v128', value: string};
|
318
|
+
|
274
319
|
export interface LanguageExtensions {
|
275
320
|
registerLanguageExtensionPlugin(
|
276
321
|
plugin: LanguageExtensionPlugin, pluginName: string,
|
277
322
|
supportedScriptTypes: SupportedScriptTypes): Promise<void>;
|
278
323
|
unregisterLanguageExtensionPlugin(plugin: LanguageExtensionPlugin): Promise<void>;
|
324
|
+
|
325
|
+
getWasmLinearMemory(offset: number, length: number, stopId: unknown): Promise<ArrayBuffer>;
|
326
|
+
getWasmLocal(local: number, stopId: unknown): Promise<WasmValue>;
|
327
|
+
getWasmGlobal(global: number, stopId: unknown): Promise<WasmValue>;
|
328
|
+
getWasmOp(op: number, stopId: unknown): Promise<WasmValue>;
|
279
329
|
}
|
280
330
|
|
281
331
|
export interface RecorderExtensions {
|
package/front_end/.eslintrc.js
CHANGED
@@ -20,7 +20,9 @@ module.exports = {
|
|
20
20
|
'rulesdir/l10n_no_locked_or_placeholder_only_phrase': 2,
|
21
21
|
'rulesdir/l10n_no_uistrings_export': 2,
|
22
22
|
'rulesdir/l10n_no_unused_message': 2,
|
23
|
-
'rulesdir/custom_element_definitions_location': 2,
|
23
|
+
'rulesdir/custom_element_definitions_location': [2, {
|
24
|
+
rootFrontendDirectory: __dirname,
|
25
|
+
}],
|
24
26
|
'rulesdir/custom_element_component_definition': 2,
|
25
27
|
},
|
26
28
|
'overrides': [
|
@@ -376,4 +376,5 @@ export enum EnumeratedHistogram {
|
|
376
376
|
RecordingReplayStarted = 'DevTools.RecordingReplayStarted',
|
377
377
|
RecordingToggled = 'DevTools.RecordingToggled',
|
378
378
|
StyleTextCopied = 'DevTools.StyleTextCopied',
|
379
|
+
ManifestSectionSelected = 'DevTools.ManifestSectionSelected',
|
379
380
|
}
|
@@ -270,6 +270,13 @@ export class UserMetrics {
|
|
270
270
|
InspectorFrontendHostInstance.recordEnumeratedHistogram(
|
271
271
|
EnumeratedHistogram.StyleTextCopied, value, StyleTextCopied.MaxValue);
|
272
272
|
}
|
273
|
+
|
274
|
+
manifestSectionSelected(sectionTitle: string): void {
|
275
|
+
const code =
|
276
|
+
ManifestSectionCodes[sectionTitle as keyof typeof ManifestSectionCodes] || ManifestSectionCodes.OtherSection;
|
277
|
+
InspectorFrontendHostInstance.recordEnumeratedHistogram(
|
278
|
+
EnumeratedHistogram.ManifestSectionSelected, code, ManifestSectionCodes.MaxValue);
|
279
|
+
}
|
273
280
|
}
|
274
281
|
|
275
282
|
/**
|
@@ -972,4 +979,15 @@ export enum StyleTextCopied {
|
|
972
979
|
MaxValue = 11,
|
973
980
|
}
|
974
981
|
|
982
|
+
// TODO(crbug.com/1167717): Make this a const enum again
|
983
|
+
// eslint-disable-next-line rulesdir/const_enum
|
984
|
+
export enum ManifestSectionCodes {
|
985
|
+
OtherSection = 0,
|
986
|
+
'Identity' = 1,
|
987
|
+
'Presentation' = 2,
|
988
|
+
'Protocol Handlers' = 3,
|
989
|
+
'Icons' = 4,
|
990
|
+
MaxValue = 5,
|
991
|
+
}
|
992
|
+
|
975
993
|
/* eslint-enable @typescript-eslint/naming-convention */
|
@@ -1679,12 +1679,30 @@
|
|
1679
1679
|
"models/timeline_model/TimelineJSProfile.ts | threadS": {
|
1680
1680
|
"message": "Thread {PH1}"
|
1681
1681
|
},
|
1682
|
+
"models/timeline_model/TimelineModel.ts | bidderWorklet": {
|
1683
|
+
"message": "Bidder Worklet"
|
1684
|
+
},
|
1685
|
+
"models/timeline_model/TimelineModel.ts | bidderWorkletS": {
|
1686
|
+
"message": "Bidder Worklet — {PH1}"
|
1687
|
+
},
|
1682
1688
|
"models/timeline_model/TimelineModel.ts | dedicatedWorker": {
|
1683
1689
|
"message": "Dedicated Worker"
|
1684
1690
|
},
|
1691
|
+
"models/timeline_model/TimelineModel.ts | sellerWorklet": {
|
1692
|
+
"message": "Seller Worklet"
|
1693
|
+
},
|
1694
|
+
"models/timeline_model/TimelineModel.ts | sellerWorkletS": {
|
1695
|
+
"message": "Seller Worklet — {PH1}"
|
1696
|
+
},
|
1685
1697
|
"models/timeline_model/TimelineModel.ts | threadS": {
|
1686
1698
|
"message": "Thread {PH1}"
|
1687
1699
|
},
|
1700
|
+
"models/timeline_model/TimelineModel.ts | unknownWorklet": {
|
1701
|
+
"message": "Auction Worklet"
|
1702
|
+
},
|
1703
|
+
"models/timeline_model/TimelineModel.ts | unknownWorkletS": {
|
1704
|
+
"message": "Auction Worklet — {PH1}"
|
1705
|
+
},
|
1688
1706
|
"models/timeline_model/TimelineModel.ts | workerS": {
|
1689
1707
|
"message": "Worker — {PH1}"
|
1690
1708
|
},
|
@@ -2207,6 +2225,9 @@
|
|
2207
2225
|
"panels/application/ApplicationPanelSidebar.ts | backgroundServices": {
|
2208
2226
|
"message": "Background Services"
|
2209
2227
|
},
|
2228
|
+
"panels/application/ApplicationPanelSidebar.ts | beforeInvokeAlert": {
|
2229
|
+
"message": "{PH1}: Invoke to scroll to this section in manifest"
|
2230
|
+
},
|
2210
2231
|
"panels/application/ApplicationPanelSidebar.ts | cache": {
|
2211
2232
|
"message": "Cache"
|
2212
2233
|
},
|
@@ -2240,6 +2261,12 @@
|
|
2240
2261
|
"panels/application/ApplicationPanelSidebar.ts | manifest": {
|
2241
2262
|
"message": "Manifest"
|
2242
2263
|
},
|
2264
|
+
"panels/application/ApplicationPanelSidebar.ts | onInvokeAlert": {
|
2265
|
+
"message": "Scrolled to {PH1}"
|
2266
|
+
},
|
2267
|
+
"panels/application/ApplicationPanelSidebar.ts | onInvokeManifestAlert": {
|
2268
|
+
"message": "Manifest: Invoke to scroll to the top of manifest"
|
2269
|
+
},
|
2243
2270
|
"panels/application/ApplicationPanelSidebar.ts | openedWindows": {
|
2244
2271
|
"message": "Opened Windows"
|
2245
2272
|
},
|
@@ -6770,6 +6797,9 @@
|
|
6770
6797
|
"panels/network/BlockedURLsPane.ts | textPatternToBlockMatching": {
|
6771
6798
|
"message": "Text pattern to block matching requests; use * for wildcard"
|
6772
6799
|
},
|
6800
|
+
"panels/network/components/RequestHeadersView.ts | chooseThisOptionIfTheResourceAnd": {
|
6801
|
+
"message": "Choose this option if the resource and the document are served from the same site."
|
6802
|
+
},
|
6773
6803
|
"panels/network/components/RequestHeadersView.ts | fromDiskCache": {
|
6774
6804
|
"message": "(from disk cache)"
|
6775
6805
|
},
|
@@ -6791,6 +6821,15 @@
|
|
6791
6821
|
"panels/network/components/RequestHeadersView.ts | general": {
|
6792
6822
|
"message": "General"
|
6793
6823
|
},
|
6824
|
+
"panels/network/components/RequestHeadersView.ts | learnMore": {
|
6825
|
+
"message": "Learn more"
|
6826
|
+
},
|
6827
|
+
"panels/network/components/RequestHeadersView.ts | learnMoreInTheIssuesTab": {
|
6828
|
+
"message": "Learn more in the issues tab"
|
6829
|
+
},
|
6830
|
+
"panels/network/components/RequestHeadersView.ts | onlyChooseThisOptionIfAn": {
|
6831
|
+
"message": "Only choose this option if an arbitrary website including this resource does not impose a security risk."
|
6832
|
+
},
|
6794
6833
|
"panels/network/components/RequestHeadersView.ts | raw": {
|
6795
6834
|
"message": "Raw"
|
6796
6835
|
},
|
@@ -6818,6 +6857,21 @@
|
|
6818
6857
|
"panels/network/components/RequestHeadersView.ts | statusCode": {
|
6819
6858
|
"message": "Status Code"
|
6820
6859
|
},
|
6860
|
+
"panels/network/components/RequestHeadersView.ts | thisDocumentWasBlockedFrom": {
|
6861
|
+
"message": "This document was blocked from loading in an iframe with a sandbox attribute because this document specified a cross-origin opener policy."
|
6862
|
+
},
|
6863
|
+
"panels/network/components/RequestHeadersView.ts | toEmbedThisFrameInYourDocument": {
|
6864
|
+
"message": "To embed this frame in your document, the response needs to enable the cross-origin embedder policy by specifying the following response header:"
|
6865
|
+
},
|
6866
|
+
"panels/network/components/RequestHeadersView.ts | toUseThisResourceFromADifferent": {
|
6867
|
+
"message": "To use this resource from a different origin, the server needs to specify a cross-origin resource policy in the response headers:"
|
6868
|
+
},
|
6869
|
+
"panels/network/components/RequestHeadersView.ts | toUseThisResourceFromADifferentOrigin": {
|
6870
|
+
"message": "To use this resource from a different origin, the server may relax the cross-origin resource policy response header:"
|
6871
|
+
},
|
6872
|
+
"panels/network/components/RequestHeadersView.ts | toUseThisResourceFromADifferentSite": {
|
6873
|
+
"message": "To use this resource from a different site, the server may relax the cross-origin resource policy response header:"
|
6874
|
+
},
|
6821
6875
|
"panels/network/components/RequestTrustTokensView.ts | aClientprovidedArgumentWas": {
|
6822
6876
|
"message": "A client-provided argument was malformed or otherwise invalid."
|
6823
6877
|
},
|
@@ -9623,6 +9677,9 @@
|
|
9623
9677
|
"panels/sources/AddSourceMapURLDialog.ts | add": {
|
9624
9678
|
"message": "Add"
|
9625
9679
|
},
|
9680
|
+
"panels/sources/AddSourceMapURLDialog.ts | debugInfoUrl": {
|
9681
|
+
"message": "DWARF symbols URL: "
|
9682
|
+
},
|
9626
9683
|
"panels/sources/AddSourceMapURLDialog.ts | sourceMapUrl": {
|
9627
9684
|
"message": "Source map URL: "
|
9628
9685
|
},
|
@@ -9794,6 +9851,9 @@
|
|
9794
9851
|
"panels/sources/DebuggerPlugin.ts | addSourceMap": {
|
9795
9852
|
"message": "Add source map…"
|
9796
9853
|
},
|
9854
|
+
"panels/sources/DebuggerPlugin.ts | addWasmDebugInfo": {
|
9855
|
+
"message": "Add DWARF debug info…"
|
9856
|
+
},
|
9797
9857
|
"panels/sources/DebuggerPlugin.ts | associatedFilesAreAvailable": {
|
9798
9858
|
"message": "Associated files are available via file tree or {PH1}."
|
9799
9859
|
},
|
@@ -1679,12 +1679,30 @@
|
|
1679
1679
|
"models/timeline_model/TimelineJSProfile.ts | threadS": {
|
1680
1680
|
"message": "T̂h́r̂éâd́ {PH1}"
|
1681
1681
|
},
|
1682
|
+
"models/timeline_model/TimelineModel.ts | bidderWorklet": {
|
1683
|
+
"message": "B̂íd̂d́êŕ Ŵór̂ḱl̂ét̂"
|
1684
|
+
},
|
1685
|
+
"models/timeline_model/TimelineModel.ts | bidderWorkletS": {
|
1686
|
+
"message": "B̂íd̂d́êŕ Ŵór̂ḱl̂ét̂ — {PH1}"
|
1687
|
+
},
|
1682
1688
|
"models/timeline_model/TimelineModel.ts | dedicatedWorker": {
|
1683
1689
|
"message": "D̂éd̂íĉát̂éd̂ Worker"
|
1684
1690
|
},
|
1691
|
+
"models/timeline_model/TimelineModel.ts | sellerWorklet": {
|
1692
|
+
"message": "Ŝél̂ĺêŕ Ŵór̂ḱl̂ét̂"
|
1693
|
+
},
|
1694
|
+
"models/timeline_model/TimelineModel.ts | sellerWorkletS": {
|
1695
|
+
"message": "Ŝél̂ĺêŕ Ŵór̂ḱl̂ét̂ — {PH1}"
|
1696
|
+
},
|
1685
1697
|
"models/timeline_model/TimelineModel.ts | threadS": {
|
1686
1698
|
"message": "T̂h́r̂éâd́ {PH1}"
|
1687
1699
|
},
|
1700
|
+
"models/timeline_model/TimelineModel.ts | unknownWorklet": {
|
1701
|
+
"message": "Âúĉt́îón̂ Ẃôŕk̂ĺêt́"
|
1702
|
+
},
|
1703
|
+
"models/timeline_model/TimelineModel.ts | unknownWorkletS": {
|
1704
|
+
"message": "Âúĉt́îón̂ Ẃôŕk̂ĺêt́ — {PH1}"
|
1705
|
+
},
|
1688
1706
|
"models/timeline_model/TimelineModel.ts | workerS": {
|
1689
1707
|
"message": "Worker — {PH1}"
|
1690
1708
|
},
|
@@ -2207,6 +2225,9 @@
|
|
2207
2225
|
"panels/application/ApplicationPanelSidebar.ts | backgroundServices": {
|
2208
2226
|
"message": "B̂áĉḱĝŕôún̂d́ Ŝér̂v́îćêś"
|
2209
2227
|
},
|
2228
|
+
"panels/application/ApplicationPanelSidebar.ts | beforeInvokeAlert": {
|
2229
|
+
"message": "{PH1}: Îńv̂ók̂é t̂ó ŝćr̂ól̂ĺ t̂ó t̂h́îś ŝéĉt́îón̂ ín̂ ḿâńîf́êśt̂"
|
2230
|
+
},
|
2210
2231
|
"panels/application/ApplicationPanelSidebar.ts | cache": {
|
2211
2232
|
"message": "Ĉáĉh́ê"
|
2212
2233
|
},
|
@@ -2240,6 +2261,12 @@
|
|
2240
2261
|
"panels/application/ApplicationPanelSidebar.ts | manifest": {
|
2241
2262
|
"message": "M̂án̂íf̂éŝt́"
|
2242
2263
|
},
|
2264
|
+
"panels/application/ApplicationPanelSidebar.ts | onInvokeAlert": {
|
2265
|
+
"message": "Ŝćr̂ól̂ĺêd́ t̂ó {PH1}"
|
2266
|
+
},
|
2267
|
+
"panels/application/ApplicationPanelSidebar.ts | onInvokeManifestAlert": {
|
2268
|
+
"message": "M̂án̂íf̂éŝt́: Îńv̂ók̂é t̂ó ŝćr̂ól̂ĺ t̂ó t̂h́ê t́ôṕ ôf́ m̂án̂íf̂éŝt́"
|
2269
|
+
},
|
2243
2270
|
"panels/application/ApplicationPanelSidebar.ts | openedWindows": {
|
2244
2271
|
"message": "Ôṕêńêd́ Ŵín̂d́ôẃŝ"
|
2245
2272
|
},
|
@@ -6770,6 +6797,9 @@
|
|
6770
6797
|
"panels/network/BlockedURLsPane.ts | textPatternToBlockMatching": {
|
6771
6798
|
"message": "T̂éx̂t́ p̂át̂t́êŕn̂ t́ô b́l̂óĉḱ m̂át̂ćĥín̂ǵ r̂éq̂úêśt̂ś; ûśê * f́ôŕ ŵíl̂d́ĉár̂d́"
|
6772
6799
|
},
|
6800
|
+
"panels/network/components/RequestHeadersView.ts | chooseThisOptionIfTheResourceAnd": {
|
6801
|
+
"message": "Ĉh́ôóŝé t̂h́îś ôṕt̂íôń îf́ t̂h́ê ŕêśôúr̂ćê án̂d́ t̂h́ê d́ôćûḿêńt̂ ár̂é ŝér̂v́êd́ f̂ŕôḿ t̂h́ê śâḿê śît́ê."
|
6802
|
+
},
|
6773
6803
|
"panels/network/components/RequestHeadersView.ts | fromDiskCache": {
|
6774
6804
|
"message": "(f̂ŕôḿ d̂íŝḱ ĉáĉh́ê)"
|
6775
6805
|
},
|
@@ -6791,6 +6821,15 @@
|
|
6791
6821
|
"panels/network/components/RequestHeadersView.ts | general": {
|
6792
6822
|
"message": "Ĝén̂ér̂ál̂"
|
6793
6823
|
},
|
6824
|
+
"panels/network/components/RequestHeadersView.ts | learnMore": {
|
6825
|
+
"message": "L̂éâŕn̂ ḿôŕê"
|
6826
|
+
},
|
6827
|
+
"panels/network/components/RequestHeadersView.ts | learnMoreInTheIssuesTab": {
|
6828
|
+
"message": "L̂éâŕn̂ ḿôŕê ín̂ t́ĥé îśŝúêś t̂áb̂"
|
6829
|
+
},
|
6830
|
+
"panels/network/components/RequestHeadersView.ts | onlyChooseThisOptionIfAn": {
|
6831
|
+
"message": "Ôńl̂ý ĉh́ôóŝé t̂h́îś ôṕt̂íôń îf́ âń âŕb̂ít̂ŕâŕŷ ẃêb́ŝít̂é îńĉĺûd́îńĝ t́ĥíŝ ŕêśôúr̂ćê d́ôéŝ ńôt́ îḿp̂óŝé â śêćûŕît́ŷ ŕîśk̂."
|
6832
|
+
},
|
6794
6833
|
"panels/network/components/RequestHeadersView.ts | raw": {
|
6795
6834
|
"message": "R̂áŵ"
|
6796
6835
|
},
|
@@ -6818,6 +6857,21 @@
|
|
6818
6857
|
"panels/network/components/RequestHeadersView.ts | statusCode": {
|
6819
6858
|
"message": "Ŝt́ât́ûś Ĉód̂é"
|
6820
6859
|
},
|
6860
|
+
"panels/network/components/RequestHeadersView.ts | thisDocumentWasBlockedFrom": {
|
6861
|
+
"message": "T̂h́îś d̂óĉúm̂én̂t́ ŵáŝ b́l̂óĉḱêd́ f̂ŕôḿ l̂óâd́îńĝ ín̂ án̂ iframe ẃît́ĥ á sandbox ât́t̂ŕîb́ût́ê b́êćâúŝé t̂h́îś d̂óĉúm̂én̂t́ ŝṕêćîf́îéd̂ á ĉŕôśŝ-ór̂íĝín̂ óp̂én̂ér̂ ṕôĺîćŷ."
|
6862
|
+
},
|
6863
|
+
"panels/network/components/RequestHeadersView.ts | toEmbedThisFrameInYourDocument": {
|
6864
|
+
"message": "T̂ó êḿb̂éd̂ t́ĥíŝ f́r̂ám̂é îń ŷóûŕ d̂óĉúm̂én̂t́, t̂h́ê ŕêśp̂ón̂śê ńêéd̂ś t̂ó êńâb́l̂é t̂h́ê ćr̂óŝś-ôŕîǵîń êḿb̂éd̂d́êŕ p̂ól̂íĉý b̂ý ŝṕêćîf́ŷín̂ǵ t̂h́ê f́ôĺl̂óŵín̂ǵ r̂éŝṕôńŝé ĥéâd́êŕ:"
|
6865
|
+
},
|
6866
|
+
"panels/network/components/RequestHeadersView.ts | toUseThisResourceFromADifferent": {
|
6867
|
+
"message": "T̂ó ûśê t́ĥíŝ ŕêśôúr̂ćê f́r̂óm̂ á d̂íf̂f́êŕêńt̂ ór̂íĝín̂, t́ĥé ŝér̂v́êŕ n̂éêd́ŝ t́ô śp̂éĉíf̂ý â ćr̂óŝś-ôŕîǵîń r̂éŝóûŕĉé p̂ól̂íĉý îń t̂h́ê ŕêśp̂ón̂śê h́êád̂ér̂ś:"
|
6868
|
+
},
|
6869
|
+
"panels/network/components/RequestHeadersView.ts | toUseThisResourceFromADifferentOrigin": {
|
6870
|
+
"message": "T̂ó ûśê t́ĥíŝ ŕêśôúr̂ćê f́r̂óm̂ á d̂íf̂f́êŕêńt̂ ór̂íĝín̂, t́ĥé ŝér̂v́êŕ m̂áŷ ŕêĺâx́ t̂h́ê ćr̂óŝś-ôŕîǵîń r̂éŝóûŕĉé p̂ól̂íĉý r̂éŝṕôńŝé ĥéâd́êŕ:"
|
6871
|
+
},
|
6872
|
+
"panels/network/components/RequestHeadersView.ts | toUseThisResourceFromADifferentSite": {
|
6873
|
+
"message": "T̂ó ûśê t́ĥíŝ ŕêśôúr̂ćê f́r̂óm̂ á d̂íf̂f́êŕêńt̂ śît́ê, t́ĥé ŝér̂v́êŕ m̂áŷ ŕêĺâx́ t̂h́ê ćr̂óŝś-ôŕîǵîń r̂éŝóûŕĉé p̂ól̂íĉý r̂éŝṕôńŝé ĥéâd́êŕ:"
|
6874
|
+
},
|
6821
6875
|
"panels/network/components/RequestTrustTokensView.ts | aClientprovidedArgumentWas": {
|
6822
6876
|
"message": "Â ćl̂íêńt̂-ṕr̂óv̂íd̂éd̂ ár̂ǵûḿêńt̂ ẃâś m̂ál̂f́ôŕm̂éd̂ ór̂ ót̂h́êŕŵíŝé îńv̂ál̂íd̂."
|
6823
6877
|
},
|
@@ -9623,6 +9677,9 @@
|
|
9623
9677
|
"panels/sources/AddSourceMapURLDialog.ts | add": {
|
9624
9678
|
"message": "Âd́d̂"
|
9625
9679
|
},
|
9680
|
+
"panels/sources/AddSourceMapURLDialog.ts | debugInfoUrl": {
|
9681
|
+
"message": "D̂ẂÂŔF̂ śŷḿb̂ól̂ś ÛŔL̂: "
|
9682
|
+
},
|
9626
9683
|
"panels/sources/AddSourceMapURLDialog.ts | sourceMapUrl": {
|
9627
9684
|
"message": "Ŝóûŕĉé m̂áp̂ ÚR̂Ĺ: "
|
9628
9685
|
},
|
@@ -9794,6 +9851,9 @@
|
|
9794
9851
|
"panels/sources/DebuggerPlugin.ts | addSourceMap": {
|
9795
9852
|
"message": "Âd́d̂ śôúr̂ćê ḿâṕ…"
|
9796
9853
|
},
|
9854
|
+
"panels/sources/DebuggerPlugin.ts | addWasmDebugInfo": {
|
9855
|
+
"message": "Âd́d̂ D́ŴÁR̂F́ d̂éb̂úĝ ín̂f́ô…"
|
9856
|
+
},
|
9797
9857
|
"panels/sources/DebuggerPlugin.ts | associatedFilesAreAvailable": {
|
9798
9858
|
"message": "Âśŝóĉíât́êd́ f̂íl̂éŝ ár̂é âv́âíl̂áb̂ĺê v́îá f̂íl̂é t̂ŕêé ôŕ {PH1}."
|
9799
9859
|
},
|
@@ -737,6 +737,14 @@ export class DebuggerModel extends SDKModel<EventTypes> {
|
|
737
737
|
this.#sourceMapManagerInternal.attachSourceMap(script, script.sourceURL, script.sourceMapURL);
|
738
738
|
}
|
739
739
|
|
740
|
+
async setDebugInfoURL(script: Script, _externalURL: Platform.DevToolsPath.UrlString): Promise<void> {
|
741
|
+
if (this.#expandCallFramesCallback && this.#debuggerPausedDetailsInternal) {
|
742
|
+
this.#debuggerPausedDetailsInternal.callFrames =
|
743
|
+
await this.#expandCallFramesCallback.call(null, this.#debuggerPausedDetailsInternal.callFrames);
|
744
|
+
}
|
745
|
+
this.dispatchEventToListeners(Events.DebugInfoAttached, script);
|
746
|
+
}
|
747
|
+
|
740
748
|
executionContextDestroyed(executionContext: ExecutionContext): void {
|
741
749
|
const sourceMapIds = Array.from(this.#sourceMapIdToScript.keys());
|
742
750
|
for (const sourceMapId of sourceMapIds) {
|
@@ -968,6 +976,7 @@ export enum Events {
|
|
968
976
|
DebuggerWasDisabled = 'DebuggerWasDisabled',
|
969
977
|
DebuggerPaused = 'DebuggerPaused',
|
970
978
|
DebuggerResumed = 'DebuggerResumed',
|
979
|
+
DebugInfoAttached = 'DebugInfoAttached',
|
971
980
|
ParsedScriptSource = 'ParsedScriptSource',
|
972
981
|
DiscardedAnonymousScriptSource = 'DiscardedAnonymousScriptSource',
|
973
982
|
GlobalObjectCleared = 'GlobalObjectCleared',
|
@@ -985,6 +994,7 @@ export type EventTypes = {
|
|
985
994
|
[Events.GlobalObjectCleared]: DebuggerModel,
|
986
995
|
[Events.CallFrameSelected]: DebuggerModel,
|
987
996
|
[Events.DebuggerIsReadyToPause]: DebuggerModel,
|
997
|
+
[Events.DebugInfoAttached]: Script,
|
988
998
|
};
|
989
999
|
|
990
1000
|
class DebuggerDispatcher implements ProtocolProxyApi.DebuggerDispatcher {
|
@@ -355,10 +355,11 @@ SourcesTestRunner.captureStackTraceIntoString = async function(callFrames, async
|
|
355
355
|
|
356
356
|
SourcesTestRunner.dumpSourceFrameContents = function(sourceFrame) {
|
357
357
|
TestRunner.addResult('==Source frame contents start==');
|
358
|
-
const
|
358
|
+
const {baseDoc} = sourceFrame;
|
359
359
|
|
360
|
-
for (let i =
|
361
|
-
|
360
|
+
for (let i = 1; i <= baseDoc.lines; ++i) {
|
361
|
+
const {text} = baseDoc.line(i);
|
362
|
+
TestRunner.addResult(text);
|
362
363
|
}
|
363
364
|
|
364
365
|
TestRunner.addResult('==Source frame contents end==');
|