chrome-devtools-frontend 1.0.940255 → 1.0.940714

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.
@@ -5387,8 +5387,14 @@
5387
5387
  "panels/issues/HiddenIssuesRow.ts | unhideAll": {
5388
5388
  "message": "Unhide all"
5389
5389
  },
5390
- "panels/issues/IssueKindView.ts | hideAllCurrent": {
5391
- "message": "Hide all current {PH1}"
5390
+ "panels/issues/IssueKindView.ts | hideAllCurrentBreakingChanges": {
5391
+ "message": "Hide all current Breaking Changes"
5392
+ },
5393
+ "panels/issues/IssueKindView.ts | hideAllCurrentImprovements": {
5394
+ "message": "Hide all current Improvements"
5395
+ },
5396
+ "panels/issues/IssueKindView.ts | hideAllCurrentPageErrors": {
5397
+ "message": "Hide all current Page Errors"
5392
5398
  },
5393
5399
  "panels/issues/issues-meta.ts | cspViolations": {
5394
5400
  "message": "CSP Violations"
@@ -5387,8 +5387,14 @@
5387
5387
  "panels/issues/HiddenIssuesRow.ts | unhideAll": {
5388
5388
  "message": "Ûńĥíd̂é âĺl̂"
5389
5389
  },
5390
- "panels/issues/IssueKindView.ts | hideAllCurrent": {
5391
- "message": "Ĥíd̂é âĺl̂ ćûŕr̂én̂t́ {PH1}"
5390
+ "panels/issues/IssueKindView.ts | hideAllCurrentBreakingChanges": {
5391
+ "message": "Ĥíd̂é âĺl̂ ćûŕr̂én̂t́ B̂ŕêák̂ín̂ǵ Ĉh́âńĝéŝ"
5392
+ },
5393
+ "panels/issues/IssueKindView.ts | hideAllCurrentImprovements": {
5394
+ "message": "Ĥíd̂é âĺl̂ ćûŕr̂én̂t́ Îḿp̂ŕôv́êḿêńt̂ś"
5395
+ },
5396
+ "panels/issues/IssueKindView.ts | hideAllCurrentPageErrors": {
5397
+ "message": "Ĥíd̂é âĺl̂ ćûŕr̂én̂t́ P̂áĝé Êŕr̂ór̂ś"
5392
5398
  },
5393
5399
  "panels/issues/issues-meta.ts | cspViolations": {
5394
5400
  "message": "ĈŚP̂ V́îól̂át̂íôńŝ"
@@ -830,7 +830,24 @@ export class DOMDebuggerManager implements SDKModelObserver<DOMDebuggerModel> {
830
830
  this.createEventListenerBreakpoints(
831
831
  i18nString(UIStrings.keyboard), ['keydown', 'keyup', 'keypress', 'input'], ['*']);
832
832
  this.createEventListenerBreakpoints(
833
- i18nString(UIStrings.load), ['load', 'beforeunload', 'unload', 'abort', 'error', 'hashchange', 'popstate'],
833
+ i18nString(UIStrings.load),
834
+ [
835
+ 'load',
836
+ 'beforeunload',
837
+ 'unload',
838
+ 'abort',
839
+ 'error',
840
+ 'hashchange',
841
+ 'popstate',
842
+ 'navigate',
843
+ 'navigatesuccess',
844
+ 'navigateerror',
845
+ 'currentchange',
846
+ 'navigateto',
847
+ 'navigatefrom',
848
+ 'finish',
849
+ 'dispose',
850
+ ],
834
851
  ['*']);
835
852
  this.createEventListenerBreakpoints(
836
853
  i18nString(UIStrings.mouse),
@@ -14,10 +14,17 @@ import * as Components from './components/components.js';
14
14
 
15
15
  const UIStrings = {
16
16
  /**
17
- * @description Menu entry for hiding all current issues belonging to a particular kind.
18
- * @example {Page Errors} PH1
17
+ * @description Menu entry for hiding all current Page Errors.
19
18
  */
20
- hideAllCurrent: 'Hide all current {PH1}',
19
+ hideAllCurrentPageErrors: 'Hide all current Page Errors',
20
+ /**
21
+ * @description Menu entry for hiding all current Breaking Changes.
22
+ */
23
+ hideAllCurrentBreakingChanges: 'Hide all current Breaking Changes',
24
+ /**
25
+ * @description Menu entry for hiding all current Page Errors.
26
+ */
27
+ hideAllCurrentImprovements: 'Hide all current Improvements',
21
28
  };
22
29
  const str_ = i18n.i18n.registerUIStrings('panels/issues/IssueKindView.ts', UIStrings);
23
30
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -70,6 +77,17 @@ export class IssueKindView extends UI.TreeOutline.TreeElement {
70
77
  return this.kind;
71
78
  }
72
79
 
80
+ getHideAllCurrentKindString(): Common.UIString.LocalizedString {
81
+ switch (this.kind) {
82
+ case IssuesManager.Issue.IssueKind.PageError:
83
+ return i18nString(UIStrings.hideAllCurrentPageErrors);
84
+ case IssuesManager.Issue.IssueKind.Improvement:
85
+ return i18nString(UIStrings.hideAllCurrentImprovements);
86
+ case IssuesManager.Issue.IssueKind.BreakingChange:
87
+ return i18nString(UIStrings.hideAllCurrentBreakingChanges);
88
+ }
89
+ }
90
+
73
91
  private appendHeader(): void {
74
92
  const header = document.createElement('div');
75
93
  header.classList.add('header');
@@ -93,7 +111,7 @@ export class IssueKindView extends UI.TreeOutline.TreeElement {
93
111
  const hideAvailableIssuesBtn = new Components.HideIssuesMenu.HideIssuesMenu();
94
112
  hideAvailableIssuesBtn.classList.add('hide-available-issues');
95
113
  hideAvailableIssuesBtn.data = {
96
- menuItemLabel: i18nString(UIStrings.hideAllCurrent, {PH1: IssuesManager.Issue.getIssueKindName(this.kind)}),
114
+ menuItemLabel: this.getHideAllCurrentKindString(),
97
115
  menuItemAction: (): void => {
98
116
  const setting = IssuesManager.IssuesManager.getHideIssueByCodeSetting();
99
117
  const values = setting.get();
@@ -1548,6 +1548,8 @@ export class NetworkLogView extends Common.ObjectWrapper.eventMixin<EventTypes,
1548
1548
  footerSection.appendItem(i18nString(UIStrings.copyAllAsCurlCmd), this.copyAllCurlCommand.bind(this, 'win'));
1549
1549
  footerSection.appendItem(i18nString(UIStrings.copyAllAsCurlBash), this.copyAllCurlCommand.bind(this, 'unix'));
1550
1550
  } else {
1551
+ footerSection.appendItem(
1552
+ i18nString(UIStrings.copyAsPowershell), this.copyPowerShellCommand.bind(this, request), disableIfBlob);
1551
1553
  footerSection.appendItem(
1552
1554
  i18nString(UIStrings.copyAsFetch), this.copyFetchCall.bind(this, request, FetchStyle.Browser),
1553
1555
  disableIfBlob);
@@ -1556,6 +1558,7 @@ export class NetworkLogView extends Common.ObjectWrapper.eventMixin<EventTypes,
1556
1558
  disableIfBlob);
1557
1559
  footerSection.appendItem(
1558
1560
  i18nString(UIStrings.copyAsCurl), this.copyCurlCommand.bind(this, request, 'unix'), disableIfBlob);
1561
+ footerSection.appendItem(i18nString(UIStrings.copyAllAsPowershell), this.copyAllPowerShellCommand.bind(this));
1559
1562
  footerSection.appendItem(
1560
1563
  i18nString(UIStrings.copyAllAsFetch), this.copyAllFetchCall.bind(this, FetchStyle.Browser));
1561
1564
  footerSection.appendItem(
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.940255"
58
+ "version": "1.0.940714"
59
59
  }