chrome-devtools-frontend 1.0.959955 → 1.0.961797

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.
Files changed (83) hide show
  1. package/.vscode/devtools-workspace-launch.json +29 -0
  2. package/.vscode/devtools-workspace-settings.json +6 -1
  3. package/.vscode/devtools-workspace-tasks.json +28 -0
  4. package/config/gni/devtools_grd_files.gni +1 -3
  5. package/front_end/core/common/ParsedURL.ts +5 -2
  6. package/front_end/core/host/UserMetrics.ts +2 -1
  7. package/front_end/core/i18n/locales/en-US.json +36 -24
  8. package/front_end/core/i18n/locales/en-XL.json +36 -24
  9. package/front_end/core/sdk/DebuggerModel.ts +8 -1
  10. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -0
  11. package/front_end/core/sdk/SourceMap.ts +9 -1
  12. package/front_end/entrypoints/main/MainImpl.ts +5 -0
  13. package/front_end/generated/InspectorBackendCommands.js +21 -2
  14. package/front_end/generated/SupportedCSSProperties.js +3 -1
  15. package/front_end/generated/protocol-mapping.d.ts +17 -1
  16. package/front_end/generated/protocol-proxy-api.d.ts +18 -1
  17. package/front_end/generated/protocol.d.ts +79 -0
  18. package/front_end/models/issues_manager/IssuesManager.ts +0 -5
  19. package/front_end/models/issues_manager/issues_manager.ts +0 -2
  20. package/front_end/panels/application/IndexedDBModel.ts +3 -0
  21. package/front_end/panels/application/components/FrameDetailsView.ts +5 -1
  22. package/front_end/panels/application/components/PermissionsPolicySection.ts +16 -4
  23. package/front_end/panels/console/ConsoleView.ts +10 -1
  24. package/front_end/panels/console/ConsoleViewMessage.ts +5 -106
  25. package/front_end/panels/console/ErrorStackParser.ts +117 -0
  26. package/front_end/panels/console/console.ts +2 -0
  27. package/front_end/panels/elements/ElementsPanel.ts +10 -1
  28. package/front_end/panels/issues/IssueAggregator.ts +0 -10
  29. package/front_end/panels/issues/IssueView.ts +0 -2
  30. package/front_end/panels/snippets/SnippetsQuickOpen.ts +5 -0
  31. package/front_end/panels/sources/BreakpointEditDialog.ts +1 -1
  32. package/front_end/panels/sources/DebuggerPlugin.ts +7 -1
  33. package/front_end/panels/sources/SourcesPanel.ts +20 -2
  34. package/front_end/panels/timeline/TimelineTreeView.ts +10 -1
  35. package/front_end/third_party/acorn/README.chromium +1 -1
  36. package/front_end/third_party/acorn-loose/README.chromium +2 -2
  37. package/front_end/third_party/additional_readme_paths.json +15 -0
  38. package/front_end/third_party/codemirror/README.chromium +2 -2
  39. package/front_end/third_party/codemirror.next/README.chromium +1 -1
  40. package/front_end/third_party/lighthouse/README.chromium +1 -1
  41. package/front_end/third_party/lit-html/README.chromium +2 -2
  42. package/front_end/third_party/marked/README.chromium +2 -2
  43. package/front_end/third_party/puppeteer/README.chromium +2 -2
  44. package/front_end/third_party/puppeteer/package/README.md +11 -11
  45. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +0 -1
  46. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
  47. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +2 -1
  48. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  49. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +3 -1
  50. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
  51. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +40 -8
  52. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
  53. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +1 -1
  54. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +0 -1
  55. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
  56. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +2 -1
  57. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  58. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +3 -1
  59. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
  60. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +40 -8
  61. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
  62. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
  63. package/front_end/third_party/puppeteer/package/lib/types.d.ts +3 -2
  64. package/front_end/third_party/puppeteer/package/package.json +2 -2
  65. package/front_end/third_party/wasmparser/README.chromium +2 -2
  66. package/front_end/ui/components/buttons/Button.ts +6 -1
  67. package/front_end/ui/components/buttons/button.css +0 -1
  68. package/front_end/ui/components/docs/button/basic.ts +1 -0
  69. package/front_end/ui/components/docs/icon_button/basic.ts +2 -7
  70. package/front_end/ui/components/icon_button/IconButton.ts +1 -1
  71. package/front_end/ui/legacy/SplitWidget.ts +6 -2
  72. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +10 -8
  73. package/front_end/ui/legacy/toolbar.css +4 -0
  74. package/package.json +1 -1
  75. package/scripts/build/assert_third_party_readmes.py +69 -0
  76. package/front_end/models/issues_manager/WasmCrossOriginModuleSharingIssue.ts +0 -67
  77. package/front_end/models/issues_manager/descriptions/wasmCrossOriginModuleSharing.md +0 -5
  78. package/front_end/panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts +0 -90
  79. package/front_end/third_party/acorn/LICENSE +0 -19
  80. package/front_end/third_party/acorn-loose/LICENSE +0 -19
  81. package/front_end/third_party/codemirror/LICENSE +0 -21
  82. package/front_end/third_party/lit-html/LICENSE +0 -28
  83. package/front_end/third_party/wasmparser/LICENSE +0 -177
@@ -0,0 +1,29 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "type": "pwa-chrome",
6
+ "request": "launch",
7
+ "name": "Run unit tests in VS Code debugger",
8
+ "preLaunchTask": "1-build_Debug",
9
+ "runtimeExecutable": "/usr/bin/npm",
10
+ "runtimeArgs": ["run", "unittest"],
11
+ "port": 9222,
12
+ "timeout": 30000,
13
+ "browserLaunchLocation": "workspace",
14
+ "outputCapture": "std",
15
+ "trace": true,
16
+ "env" : {
17
+ "KARMA_TIMEOUT": "3600000"
18
+ }
19
+ },
20
+ {
21
+ "type": "pwa-node",
22
+ "request": "launch",
23
+ "name": "Run end-to-end tests in VS Code debugger",
24
+ "preLaunchTask": "1-build_Debug",
25
+ "runtimeExecutable": "/usr/bin/npm",
26
+ "runtimeArgs": ["run", "e2etest"]
27
+ }
28
+ ]
29
+ }
@@ -1,4 +1,9 @@
1
1
  {
2
2
  "eslint.runtime": "third_party/node/node.py",
3
- "typescript.tsdk": "node_modules/typescript/lib"
3
+ "typescript.tsdk": "node_modules/typescript/lib",
4
+ "debug.javascript.terminalOptions": {
5
+ "skipFiles": [
6
+ "node_modules/typescript/**"
7
+ ]
8
+ }
4
9
  }
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "runner": "terminal",
4
+ "tasks": [
5
+ {
6
+ "label": "1-build_Debug",
7
+ "type": "shell",
8
+ "command": "npm run build",
9
+ "group": {"kind": "build", "isDefault": true},
10
+ "presentation": {
11
+ "echo": true,
12
+ "reveal": "always"
13
+ },
14
+ "problemMatcher": [
15
+ {
16
+ "owner": "typescript",
17
+ "fileLocation": ["relative", "${workspaceRoot}/out/Default"],
18
+ "pattern": {
19
+ "regexp": "^([^\\s].*)\\((\\d+,\\d+)\\):\\s*(.*)$",
20
+ "file": 1,
21
+ "location": 2,
22
+ "message": 3
23
+ }
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -308,7 +308,6 @@ grd_files_release_sources = [
308
308
  "front_end/models/issues_manager/descriptions/heavyAd.md",
309
309
  "front_end/models/issues_manager/descriptions/mixedContent.md",
310
310
  "front_end/models/issues_manager/descriptions/sharedArrayBuffer.md",
311
- "front_end/models/issues_manager/descriptions/wasmCrossOriginModuleSharing.md",
312
311
  "front_end/models/issues_manager/issues_manager.js",
313
312
  "front_end/models/javascript_metadata/javascript_metadata.js",
314
313
  "front_end/models/logs/logs-meta.js",
@@ -718,7 +717,6 @@ grd_files_debug_sources = [
718
717
  "front_end/models/issues_manager/SharedArrayBufferIssue.js",
719
718
  "front_end/models/issues_manager/SourceFrameIssuesManager.js",
720
719
  "front_end/models/issues_manager/TrustedWebActivityIssue.js",
721
- "front_end/models/issues_manager/WasmCrossOriginModuleSharingIssue.js",
722
720
  "front_end/models/javascript_metadata/JavaScriptMetadata.js",
723
721
  "front_end/models/javascript_metadata/NativeFunctions.js",
724
722
  "front_end/models/logs/LogManager.js",
@@ -853,6 +851,7 @@ grd_files_debug_sources = [
853
851
  "front_end/panels/console/ConsoleView.js",
854
852
  "front_end/panels/console/ConsoleViewMessage.js",
855
853
  "front_end/panels/console/ConsoleViewport.js",
854
+ "front_end/panels/console/ErrorStackParser.js",
856
855
  "front_end/panels/console/consoleContextSelector.css.js",
857
856
  "front_end/panels/console/consolePinPane.css.js",
858
857
  "front_end/panels/console/consolePrompt.css.js",
@@ -991,7 +990,6 @@ grd_files_debug_sources = [
991
990
  "front_end/panels/issues/IssueRevealer.js",
992
991
  "front_end/panels/issues/IssueView.js",
993
992
  "front_end/panels/issues/IssuesPane.js",
994
- "front_end/panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.js",
995
993
  "front_end/panels/issues/components/HideIssuesMenu.js",
996
994
  "front_end/panels/issues/components/hideIssuesMenu.css.js",
997
995
  "front_end/panels/issues/cspViolationsListView.css.js",
@@ -278,10 +278,13 @@ export class ParsedURL {
278
278
  return href;
279
279
  }
280
280
 
281
- // Return absolute URLs as-is.
281
+ // Return absolute URLs with normalized path and other components as-is.
282
282
  const parsedHref = this.fromString(trimmedHref);
283
283
  if (parsedHref && parsedHref.scheme) {
284
- return trimmedHref;
284
+ const securityOrigin = parsedHref.securityOrigin();
285
+ const pathText = parsedHref.path;
286
+ const hrefSuffix = trimmedHref.substring(securityOrigin.length + pathText.length);
287
+ return securityOrigin + normalizePath(pathText) + hrefSuffix;
285
288
  }
286
289
 
287
290
  const parsedURL = this.fromString(baseURL);
@@ -583,7 +583,8 @@ export enum DevtoolsExperiments {
583
583
  'groupAndHideIssuesByKind' = 51,
584
584
  'cssTypeComponentLength' = 52,
585
585
  'preciseChanges' = 53,
586
- 'MaxValue' = 54,
586
+ 'bfcacheDisplayTree' = 54,
587
+ 'MaxValue' = 55,
587
588
  }
588
589
  /* eslint-enable @typescript-eslint/naming-convention */
589
590
 
@@ -1394,9 +1394,6 @@
1394
1394
  "models/issues_manager/TrustedWebActivityIssue.ts | changesToQualityCriteriaForPwas": {
1395
1395
  "message": "Changes to quality criteria for PWAs using Trusted Web Activity"
1396
1396
  },
1397
- "models/issues_manager/WasmCrossOriginModuleSharingIssue.ts | linkTitle": {
1398
- "message": "Restricting Wasm module sharing to same-origin"
1399
- },
1400
1397
  "models/logs/logs-meta.ts | clear": {
1401
1398
  "message": "clear"
1402
1399
  },
@@ -2897,6 +2894,9 @@
2897
2894
  "panels/application/components/FrameDetailsView.ts | parentIsAdExplanation": {
2898
2895
  "message": "This frame is considered an ad frame because its parent frame is an ad frame."
2899
2896
  },
2897
+ "panels/application/components/FrameDetailsView.ts | refresh": {
2898
+ "message": "Refresh"
2899
+ },
2900
2900
  "panels/application/components/FrameDetailsView.ts | reportingTo": {
2901
2901
  "message": "reporting to"
2902
2902
  },
@@ -2990,6 +2990,9 @@
2990
2990
  "panels/application/components/PermissionsPolicySection.ts | clickToShowIframe": {
2991
2991
  "message": "Click to reveal the top-most iframe which does not allow this feature in the elements panel."
2992
2992
  },
2993
+ "panels/application/components/PermissionsPolicySection.ts | disabledByFencedFrame": {
2994
+ "message": "disabled inside a fencedframe"
2995
+ },
2993
2996
  "panels/application/components/PermissionsPolicySection.ts | disabledByHeader": {
2994
2997
  "message": "disabled by \"Permissions-Policy\" header"
2995
2998
  },
@@ -3806,6 +3809,12 @@
3806
3809
  "panels/console/ConsoleView.ts | consoleSettings": {
3807
3810
  "message": "Console settings"
3808
3811
  },
3812
+ "panels/console/ConsoleView.ts | consoleSidebarHidden": {
3813
+ "message": "Console sidebar hidden"
3814
+ },
3815
+ "panels/console/ConsoleView.ts | consoleSidebarShown": {
3816
+ "message": "Console sidebar shown"
3817
+ },
3809
3818
  "panels/console/ConsoleView.ts | copyVisibleStyledSelection": {
3810
3819
  "message": "Copy visible styled selection"
3811
3820
  },
@@ -4499,6 +4508,12 @@
4499
4508
  "panels/elements/ElementsPanel.ts | computed": {
4500
4509
  "message": "Computed"
4501
4510
  },
4511
+ "panels/elements/ElementsPanel.ts | computedStylesHidden": {
4512
+ "message": "Computed Styles sidebar hidden"
4513
+ },
4514
+ "panels/elements/ElementsPanel.ts | computedStylesShown": {
4515
+ "message": "Computed Styles sidebar shown"
4516
+ },
4502
4517
  "panels/elements/ElementsPanel.ts | domTreeExplorer": {
4503
4518
  "message": "DOM tree explorer"
4504
4519
  },
@@ -5483,27 +5498,6 @@
5483
5498
  "panels/issues/IssueView.ts | warned": {
5484
5499
  "message": "Warned"
5485
5500
  },
5486
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | blocked": {
5487
- "message": "blocked"
5488
- },
5489
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | nModuleTransfers": {
5490
- "message": "{n, plural, =1 {# module} other {# modules}}"
5491
- },
5492
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | sourceOrigin": {
5493
- "message": "Source Origin"
5494
- },
5495
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | status": {
5496
- "message": "Status"
5497
- },
5498
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | targetOrigin": {
5499
- "message": "Target Origin"
5500
- },
5501
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | warned": {
5502
- "message": "warning"
5503
- },
5504
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | wasmModuleUrl": {
5505
- "message": "Wasm Module URL"
5506
- },
5507
5501
  "panels/js_profiler/js_profiler-meta.ts | profiler": {
5508
5502
  "message": "Profiler"
5509
5503
  },
@@ -9794,6 +9788,12 @@
9794
9788
  "panels/sources/SourcesPanel.ts | copyStringContents": {
9795
9789
  "message": "Copy string contents"
9796
9790
  },
9791
+ "panels/sources/SourcesPanel.ts | debuggerHidden": {
9792
+ "message": "Debugger sidebar hidden"
9793
+ },
9794
+ "panels/sources/SourcesPanel.ts | debuggerShown": {
9795
+ "message": "Debugger sidebar shown"
9796
+ },
9797
9797
  "panels/sources/SourcesPanel.ts | dontPauseOnExceptions": {
9798
9798
  "message": "Don't pause on exceptions"
9799
9799
  },
@@ -9812,6 +9812,12 @@
9812
9812
  "panels/sources/SourcesPanel.ts | moreOptions": {
9813
9813
  "message": "More options"
9814
9814
  },
9815
+ "panels/sources/SourcesPanel.ts | navigatorHidden": {
9816
+ "message": "Navigator sidebar hidden"
9817
+ },
9818
+ "panels/sources/SourcesPanel.ts | navigatorShown": {
9819
+ "message": "Navigator sidebar shown"
9820
+ },
9815
9821
  "panels/sources/SourcesPanel.ts | openInSourcesPanel": {
9816
9822
  "message": "Open in Sources panel"
9817
9823
  },
@@ -10346,6 +10352,12 @@
10346
10352
  "panels/timeline/TimelineTreeView.ts | heaviestStack": {
10347
10353
  "message": "Heaviest stack"
10348
10354
  },
10355
+ "panels/timeline/TimelineTreeView.ts | heaviestStackHidden": {
10356
+ "message": "Heaviest stack sidebar hidden"
10357
+ },
10358
+ "panels/timeline/TimelineTreeView.ts | heaviestStackShown": {
10359
+ "message": "Heaviest stack sidebar shown"
10360
+ },
10349
10361
  "panels/timeline/TimelineTreeView.ts | hideHeaviestStack": {
10350
10362
  "message": "Hide Heaviest stack"
10351
10363
  },
@@ -1394,9 +1394,6 @@
1394
1394
  "models/issues_manager/TrustedWebActivityIssue.ts | changesToQualityCriteriaForPwas": {
1395
1395
  "message": "Ĉh́âńĝéŝ t́ô q́ûál̂ít̂ý ĉŕît́êŕîá f̂ór̂ ṔŴÁŝ úŝín̂ǵ T̂ŕûśt̂éd̂ Ẃêb́ Âćt̂ív̂ít̂ý"
1396
1396
  },
1397
- "models/issues_manager/WasmCrossOriginModuleSharingIssue.ts | linkTitle": {
1398
- "message": "R̂éŝt́r̂íĉt́îńĝ Ẃâśm̂ ḿôd́ûĺê śĥár̂ín̂ǵ t̂ó ŝám̂é-ôŕîǵîń"
1399
- },
1400
1397
  "models/logs/logs-meta.ts | clear": {
1401
1398
  "message": "ĉĺêár̂"
1402
1399
  },
@@ -2897,6 +2894,9 @@
2897
2894
  "panels/application/components/FrameDetailsView.ts | parentIsAdExplanation": {
2898
2895
  "message": "T̂h́îś f̂ŕâḿê íŝ ćôńŝíd̂ér̂éd̂ án̂ ád̂ f́r̂ám̂é b̂éĉáûśê ít̂ś p̂ár̂én̂t́ f̂ŕâḿê íŝ án̂ ád̂ f́r̂ám̂é."
2899
2896
  },
2897
+ "panels/application/components/FrameDetailsView.ts | refresh": {
2898
+ "message": "R̂éf̂ŕêśĥ"
2899
+ },
2900
2900
  "panels/application/components/FrameDetailsView.ts | reportingTo": {
2901
2901
  "message": "r̂ép̂ór̂t́îńĝ t́ô"
2902
2902
  },
@@ -2990,6 +2990,9 @@
2990
2990
  "panels/application/components/PermissionsPolicySection.ts | clickToShowIframe": {
2991
2991
  "message": "Ĉĺîćk̂ t́ô ŕêv́êál̂ t́ĥé t̂óp̂-ḿôśt̂ íf̂ŕâḿê ẃĥíĉh́ d̂óêś n̂ót̂ ál̂ĺôẃ t̂h́îś f̂éât́ûŕê ín̂ t́ĥé êĺêḿêńt̂ś p̂án̂él̂."
2992
2992
  },
2993
+ "panels/application/components/PermissionsPolicySection.ts | disabledByFencedFrame": {
2994
+ "message": "d̂íŝáb̂ĺêd́ îńŝíd̂é â fencedframe"
2995
+ },
2993
2996
  "panels/application/components/PermissionsPolicySection.ts | disabledByHeader": {
2994
2997
  "message": "d̂íŝáb̂ĺêd́ b̂ý \"Permissions-Policy\" ĥéâd́êŕ"
2995
2998
  },
@@ -3806,6 +3809,12 @@
3806
3809
  "panels/console/ConsoleView.ts | consoleSettings": {
3807
3810
  "message": "Ĉón̂śôĺê śêt́t̂ín̂ǵŝ"
3808
3811
  },
3812
+ "panels/console/ConsoleView.ts | consoleSidebarHidden": {
3813
+ "message": "Ĉón̂śôĺê śîd́êb́âŕ ĥíd̂d́êń"
3814
+ },
3815
+ "panels/console/ConsoleView.ts | consoleSidebarShown": {
3816
+ "message": "Ĉón̂śôĺê śîd́êb́âŕ ŝh́ôẃn̂"
3817
+ },
3809
3818
  "panels/console/ConsoleView.ts | copyVisibleStyledSelection": {
3810
3819
  "message": "Ĉóp̂ý v̂íŝíb̂ĺê śt̂ýl̂éd̂ śêĺêćt̂íôń"
3811
3820
  },
@@ -4499,6 +4508,12 @@
4499
4508
  "panels/elements/ElementsPanel.ts | computed": {
4500
4509
  "message": "Ĉóm̂ṕût́êd́"
4501
4510
  },
4511
+ "panels/elements/ElementsPanel.ts | computedStylesHidden": {
4512
+ "message": "Ĉóm̂ṕût́êd́ Ŝt́ŷĺêś ŝíd̂éb̂ár̂ h́îd́d̂én̂"
4513
+ },
4514
+ "panels/elements/ElementsPanel.ts | computedStylesShown": {
4515
+ "message": "Ĉóm̂ṕût́êd́ Ŝt́ŷĺêś ŝíd̂éb̂ár̂ śĥóŵń"
4516
+ },
4502
4517
  "panels/elements/ElementsPanel.ts | domTreeExplorer": {
4503
4518
  "message": "D̂ÓM̂ t́r̂éê éx̂ṕl̂ór̂ér̂"
4504
4519
  },
@@ -5483,27 +5498,6 @@
5483
5498
  "panels/issues/IssueView.ts | warned": {
5484
5499
  "message": "Ŵár̂ńêd́"
5485
5500
  },
5486
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | blocked": {
5487
- "message": "b̂ĺôćk̂éd̂"
5488
- },
5489
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | nModuleTransfers": {
5490
- "message": "{n, plural, =1 {# m̂ód̂úl̂é} other {# m̂ód̂úl̂éŝ}}"
5491
- },
5492
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | sourceOrigin": {
5493
- "message": "Ŝóûŕĉé Ôŕîǵîń"
5494
- },
5495
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | status": {
5496
- "message": "Ŝt́ât́ûś"
5497
- },
5498
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | targetOrigin": {
5499
- "message": "T̂ár̂ǵêt́ Ôŕîǵîń"
5500
- },
5501
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | warned": {
5502
- "message": "ŵár̂ńîńĝ"
5503
- },
5504
- "panels/issues/WasmCrossOriginModuleSharingAffectedResourcesView.ts | wasmModuleUrl": {
5505
- "message": "Ŵáŝḿ M̂ód̂úl̂é ÛŔL̂"
5506
- },
5507
5501
  "panels/js_profiler/js_profiler-meta.ts | profiler": {
5508
5502
  "message": "P̂ŕôf́îĺêŕ"
5509
5503
  },
@@ -9794,6 +9788,12 @@
9794
9788
  "panels/sources/SourcesPanel.ts | copyStringContents": {
9795
9789
  "message": "Ĉóp̂ý ŝt́r̂ín̂ǵ ĉón̂t́êńt̂ś"
9796
9790
  },
9791
+ "panels/sources/SourcesPanel.ts | debuggerHidden": {
9792
+ "message": "D̂éb̂úĝǵêŕ ŝíd̂éb̂ár̂ h́îd́d̂én̂"
9793
+ },
9794
+ "panels/sources/SourcesPanel.ts | debuggerShown": {
9795
+ "message": "D̂éb̂úĝǵêŕ ŝíd̂éb̂ár̂ śĥóŵń"
9796
+ },
9797
9797
  "panels/sources/SourcesPanel.ts | dontPauseOnExceptions": {
9798
9798
  "message": "D̂ón̂'t́ p̂áûśê ón̂ éx̂ćêṕt̂íôńŝ"
9799
9799
  },
@@ -9812,6 +9812,12 @@
9812
9812
  "panels/sources/SourcesPanel.ts | moreOptions": {
9813
9813
  "message": "M̂ór̂é ôṕt̂íôńŝ"
9814
9814
  },
9815
+ "panels/sources/SourcesPanel.ts | navigatorHidden": {
9816
+ "message": "N̂áv̂íĝát̂ór̂ śîd́êb́âŕ ĥíd̂d́êń"
9817
+ },
9818
+ "panels/sources/SourcesPanel.ts | navigatorShown": {
9819
+ "message": "N̂áv̂íĝát̂ór̂ śîd́êb́âŕ ŝh́ôẃn̂"
9820
+ },
9815
9821
  "panels/sources/SourcesPanel.ts | openInSourcesPanel": {
9816
9822
  "message": "Ôṕêń îń Ŝóûŕĉéŝ ṕâńêĺ"
9817
9823
  },
@@ -10346,6 +10352,12 @@
10346
10352
  "panels/timeline/TimelineTreeView.ts | heaviestStack": {
10347
10353
  "message": "Ĥéâv́îéŝt́ ŝt́âćk̂"
10348
10354
  },
10355
+ "panels/timeline/TimelineTreeView.ts | heaviestStackHidden": {
10356
+ "message": "Ĥéâv́îéŝt́ ŝt́âćk̂ śîd́êb́âŕ ĥíd̂d́êń"
10357
+ },
10358
+ "panels/timeline/TimelineTreeView.ts | heaviestStackShown": {
10359
+ "message": "Ĥéâv́îéŝt́ ŝt́âćk̂ śîd́êb́âŕ ŝh́ôẃn̂"
10360
+ },
10349
10361
  "panels/timeline/TimelineTreeView.ts | hideHeaviestStack": {
10350
10362
  "message": "Ĥíd̂é Ĥéâv́îéŝt́ ŝt́âćk̂"
10351
10363
  },
@@ -548,6 +548,10 @@ export class DebuggerModel extends SDKModel<EventTypes> {
548
548
  return this.#scriptsInternal.get(scriptId) || null;
549
549
  }
550
550
 
551
+ /**
552
+ * Returns all `Script` objects with the same provided `sourceURL`. The
553
+ * resulting array is sorted by time with the newest `Script` in the front.
554
+ */
551
555
  scriptsForSourceURL(sourceURL: string|null): Script[] {
552
556
  if (!sourceURL) {
553
557
  return [];
@@ -770,7 +774,10 @@ export class DebuggerModel extends SDKModel<EventTypes> {
770
774
  scripts = [];
771
775
  this.#scriptsBySourceURL.set(script.sourceURL, scripts);
772
776
  }
773
- scripts.push(script);
777
+ // Newer scripts with the same URL should be preferred so we put them in
778
+ // the front. Consuming code usually will iterate over the array and pick
779
+ // the first script that works.
780
+ scripts.unshift(script);
774
781
  }
775
782
 
776
783
  private unregisterScript(script: Script): void {
@@ -250,6 +250,9 @@ export class ServiceWorkerCacheModel extends SDKModel<EventTypes> implements Pro
250
250
  indexedDBContentUpdated(_event: Protocol.Storage.IndexedDBContentUpdatedEvent): void {
251
251
  }
252
252
 
253
+ interestGroupAccessed(_event: Protocol.Storage.InterestGroupAccessedEvent): void {
254
+ }
255
+
253
256
  setThrottlerSchedulesAsSoonAsPossibleForTest(): void {
254
257
  this.#scheduleAsSoonAsPossible = true;
255
258
  }
@@ -357,7 +357,15 @@ export class TextSourceMap implements SourceMap {
357
357
  sourceRoot += '/';
358
358
  }
359
359
  for (let i = 0; i < sourceMap.sources.length; ++i) {
360
- const href = sourceRoot + sourceMap.sources[i];
360
+ let href = sourceMap.sources[i];
361
+ // The source map v3 proposal says to prepend the sourceRoot to the source URL
362
+ // and if the resulting URL is not absolute, then resolve the source URL against
363
+ // the source map URL. Appending the sourceRoot (if one exists) is not likely to
364
+ // be meaningful or useful if the source URL is already absolute though. In this
365
+ // case, use the source URL as is without prepending the sourceRoot.
366
+ if (Common.ParsedURL.ParsedURL.isRelativeURL(href)) {
367
+ href = sourceRoot + href;
368
+ }
361
369
  let url = Common.ParsedURL.ParsedURL.completeURL(this.#baseURL, href) || href;
362
370
  const source = sourceMap.sourcesContent && sourceMap.sourcesContent[i];
363
371
  if (url === this.#compiledURLInternal && source) {
@@ -297,6 +297,10 @@ export class MainImpl {
297
297
  'keyboardShortcutEditor', 'Enable keyboard shortcut editor', true,
298
298
  'https://developer.chrome.com/blog/new-in-devtools-88/#keyboard-shortcuts');
299
299
 
300
+ // Back/forward cache
301
+ Root.Runtime.experiments.register(
302
+ 'bfcacheDisplayTree', 'Show back/forward cache blocking reasons in the frame tree structure view');
303
+
300
304
  // Timeline
301
305
  Root.Runtime.experiments.register('timelineEventInitiators', 'Timeline: event initiators');
302
306
  Root.Runtime.experiments.register('timelineInvalidationTracking', 'Timeline: invalidation tracking', true);
@@ -368,6 +372,7 @@ export class MainImpl {
368
372
  'hideIssuesFeature',
369
373
  'cssTypeComponentLength',
370
374
  'preciseChanges',
375
+ 'reportingApiDebugging',
371
376
  Root.Runtime.ExperimentName.SYNC_SETTINGS,
372
377
  ]);
373
378
 
@@ -2048,7 +2048,8 @@ export function registerCommands(inspectorBackend) {
2048
2048
  XrSpatialTracking: 'xr-spatial-tracking'
2049
2049
  });
2050
2050
  inspectorBackend.registerEnum(
2051
- 'Page.PermissionsPolicyBlockReason', {Header: 'Header', IframeAttribute: 'IframeAttribute'});
2051
+ 'Page.PermissionsPolicyBlockReason',
2052
+ {Header: 'Header', IframeAttribute: 'IframeAttribute', InFencedFrameTree: 'InFencedFrameTree'});
2052
2053
  inspectorBackend.registerEnum('Page.OriginTrialTokenStatus', {
2053
2054
  Success: 'Success',
2054
2055
  NotSupported: 'NotSupported',
@@ -2430,7 +2431,12 @@ export function registerCommands(inspectorBackend) {
2430
2431
  ],
2431
2432
  []);
2432
2433
  inspectorBackend.registerCommand(
2433
- 'Page.setFontFamilies', [{'name': 'fontFamilies', 'type': 'object', 'optional': false}], []);
2434
+ 'Page.setFontFamilies',
2435
+ [
2436
+ {'name': 'fontFamilies', 'type': 'object', 'optional': false},
2437
+ {'name': 'forScripts', 'type': 'object', 'optional': true}
2438
+ ],
2439
+ []);
2434
2440
  inspectorBackend.registerCommand(
2435
2441
  'Page.setFontSizes', [{'name': 'fontSizes', 'type': 'object', 'optional': false}], []);
2436
2442
  inspectorBackend.registerCommand(
@@ -2621,13 +2627,17 @@ export function registerCommands(inspectorBackend) {
2621
2627
  Websql: 'websql',
2622
2628
  Service_workers: 'service_workers',
2623
2629
  Cache_storage: 'cache_storage',
2630
+ Interest_groups: 'interest_groups',
2624
2631
  All: 'all',
2625
2632
  Other: 'other'
2626
2633
  });
2634
+ inspectorBackend.registerEnum(
2635
+ 'Storage.InterestGroupAccessType', {Join: 'join', Leave: 'leave', Update: 'update', Bid: 'bid', Win: 'win'});
2627
2636
  inspectorBackend.registerEvent('Storage.cacheStorageContentUpdated', ['origin', 'cacheName']);
2628
2637
  inspectorBackend.registerEvent('Storage.cacheStorageListUpdated', ['origin']);
2629
2638
  inspectorBackend.registerEvent('Storage.indexedDBContentUpdated', ['origin', 'databaseName', 'objectStoreName']);
2630
2639
  inspectorBackend.registerEvent('Storage.indexedDBListUpdated', ['origin']);
2640
+ inspectorBackend.registerEvent('Storage.interestGroupAccessed', ['type', 'ownerOrigin', 'name']);
2631
2641
  inspectorBackend.registerCommand(
2632
2642
  'Storage.clearDataForOrigin',
2633
2643
  [
@@ -2667,6 +2677,15 @@ export function registerCommands(inspectorBackend) {
2667
2677
  inspectorBackend.registerCommand('Storage.getTrustTokens', [], ['tokens']);
2668
2678
  inspectorBackend.registerCommand(
2669
2679
  'Storage.clearTrustTokens', [{'name': 'issuerOrigin', 'type': 'string', 'optional': false}], ['didDeleteTokens']);
2680
+ inspectorBackend.registerCommand(
2681
+ 'Storage.getInterestGroupDetails',
2682
+ [
2683
+ {'name': 'ownerOrigin', 'type': 'string', 'optional': false},
2684
+ {'name': 'name', 'type': 'string', 'optional': false}
2685
+ ],
2686
+ ['details']);
2687
+ inspectorBackend.registerCommand(
2688
+ 'Storage.setInterestGroupTracking', [{'name': 'enable', 'type': 'boolean', 'optional': false}], []);
2670
2689
 
2671
2690
  // SystemInfo.
2672
2691
  inspectorBackend.registerEnum('SystemInfo.SubsamplingFormat', {Yuv420: 'yuv420', Yuv422: 'yuv422', Yuv444: 'yuv444'});
@@ -302,7 +302,7 @@ export const generatedProperties = [
302
302
  {'name': 'clip', 'keywords': ['auto']},
303
303
  {'name': 'clip-path', 'keywords': ['none']},
304
304
  {'name': 'clip-rule', 'inherited': true, 'keywords': ['nonzero', 'evenodd']},
305
- {'name': 'color', 'inherited': true, 'keywords': ['currentcolor']},
305
+ {'name': 'color', 'keywords': ['currentcolor'], 'inherited': true},
306
306
  {'name': 'color-interpolation', 'inherited': true, 'keywords': ['auto', 'srgb', 'linearrgb']},
307
307
  {'name': 'color-interpolation-filters', 'inherited': true, 'keywords': ['auto', 'srgb', 'linearrgb']},
308
308
  {'name': 'color-rendering', 'inherited': true, 'keywords': ['auto', 'optimizespeed', 'optimizequality']},
@@ -419,6 +419,7 @@ export const generatedProperties = [
419
419
  {'name': 'font-feature-settings', 'inherited': true, 'keywords': ['normal']},
420
420
  {'name': 'font-kerning', 'inherited': true, 'keywords': ['auto', 'normal', 'none']},
421
421
  {'name': 'font-optical-sizing', 'inherited': true, 'keywords': ['auto', 'none']},
422
+ {'inherited': true, 'keywords': ['normal', 'light', 'dark'], 'name': 'font-palette'},
422
423
  {
423
424
  'name': 'font-size',
424
425
  'inherited': true,
@@ -1000,6 +1001,7 @@ export const generatedPropertyValues = {
1000
1001
  'font-feature-settings': {'values': ['normal']},
1001
1002
  'font-kerning': {'values': ['auto', 'normal', 'none']},
1002
1003
  'font-optical-sizing': {'values': ['auto', 'none']},
1004
+ 'font-palette': {'values': ['normal', 'light', 'dark']},
1003
1005
  'font-size': {
1004
1006
  'values': [
1005
1007
  'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large', 'xxx-large', 'larger', 'smaller',
@@ -470,6 +470,10 @@ export namespace ProtocolMapping {
470
470
  * The origin's IndexedDB database list has been modified.
471
471
  */
472
472
  'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
473
+ /**
474
+ * One of the interest groups was accessed by the associated page.
475
+ */
476
+ 'Storage.interestGroupAccessed': [Protocol.Storage.InterestGroupAccessedEvent];
473
477
  /**
474
478
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
475
479
  */
@@ -2096,7 +2100,7 @@ export namespace ProtocolMapping {
2096
2100
  'Overlay.setShowScrollBottleneckRects':
2097
2101
  {paramsType: [Protocol.Overlay.SetShowScrollBottleneckRectsRequest]; returnType: void;};
2098
2102
  /**
2099
- * Requests that backend shows hit-test borders on layers
2103
+ * Deprecated, no longer has any effect.
2100
2104
  */
2101
2105
  'Overlay.setShowHitTestBorders': {paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest]; returnType: void;};
2102
2106
  /**
@@ -2501,6 +2505,18 @@ export namespace ProtocolMapping {
2501
2505
  'Storage.clearTrustTokens': {
2502
2506
  paramsType: [Protocol.Storage.ClearTrustTokensRequest]; returnType: Protocol.Storage.ClearTrustTokensResponse;
2503
2507
  };
2508
+ /**
2509
+ * Gets details for a named interest group.
2510
+ */
2511
+ 'Storage.getInterestGroupDetails': {
2512
+ paramsType: [Protocol.Storage.GetInterestGroupDetailsRequest];
2513
+ returnType: Protocol.Storage.GetInterestGroupDetailsResponse;
2514
+ };
2515
+ /**
2516
+ * Enables/Disables issuing of interestGroupAccessed events.
2517
+ */
2518
+ 'Storage.setInterestGroupTracking':
2519
+ {paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest]; returnType: void;};
2504
2520
  /**
2505
2521
  * Returns information about the system.
2506
2522
  */
@@ -2318,7 +2318,7 @@ declare namespace ProtocolProxyApi {
2318
2318
  Promise<Protocol.ProtocolResponseWithError>;
2319
2319
 
2320
2320
  /**
2321
- * Requests that backend shows hit-test borders on layers
2321
+ * Deprecated, no longer has any effect.
2322
2322
  */
2323
2323
  invoke_setShowHitTestBorders(params: Protocol.Overlay.SetShowHitTestBordersRequest):
2324
2324
  Promise<Protocol.ProtocolResponseWithError>;
@@ -3035,6 +3035,18 @@ declare namespace ProtocolProxyApi {
3035
3035
  */
3036
3036
  invoke_clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest):
3037
3037
  Promise<Protocol.Storage.ClearTrustTokensResponse>;
3038
+
3039
+ /**
3040
+ * Gets details for a named interest group.
3041
+ */
3042
+ invoke_getInterestGroupDetails(params: Protocol.Storage.GetInterestGroupDetailsRequest):
3043
+ Promise<Protocol.Storage.GetInterestGroupDetailsResponse>;
3044
+
3045
+ /**
3046
+ * Enables/Disables issuing of interestGroupAccessed events.
3047
+ */
3048
+ invoke_setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest):
3049
+ Promise<Protocol.ProtocolResponseWithError>;
3038
3050
  }
3039
3051
  export interface StorageDispatcher {
3040
3052
  /**
@@ -3056,6 +3068,11 @@ declare namespace ProtocolProxyApi {
3056
3068
  * The origin's IndexedDB database list has been modified.
3057
3069
  */
3058
3070
  indexedDBListUpdated(params: Protocol.Storage.IndexedDBListUpdatedEvent): void;
3071
+
3072
+ /**
3073
+ * One of the interest groups was accessed by the associated page.
3074
+ */
3075
+ interestGroupAccessed(params: Protocol.Storage.InterestGroupAccessedEvent): void;
3059
3076
  }
3060
3077
 
3061
3078
  export interface SystemInfoApi {