chrome-devtools-frontend 1.0.954427 → 1.0.954826

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.
@@ -11912,8 +11912,8 @@
11912
11912
  "ui/legacy/components/quick_open/QuickInput.ts | pressEnterToConfirmOrEscapeTo": {
11913
11913
  "message": "{PH1} (Press 'Enter' to confirm or 'Escape' to cancel.)"
11914
11914
  },
11915
- "ui/legacy/components/quick_open/QuickOpen.ts | useTabToSwitchCommandsTypeToSeeAvailableCommands": {
11916
- "message": "Use Tab to switch commands. Type '?' to see available commands"
11915
+ "ui/legacy/components/quick_open/QuickOpen.ts | typeToSeeAvailableCommands": {
11916
+ "message": "Type '?' to see available commands"
11917
11917
  },
11918
11918
  "ui/legacy/components/source_frame/FontView.ts | font": {
11919
11919
  "message": "Font"
@@ -11912,8 +11912,8 @@
11912
11912
  "ui/legacy/components/quick_open/QuickInput.ts | pressEnterToConfirmOrEscapeTo": {
11913
11913
  "message": "{PH1} (P̂ŕêśŝ 'Én̂t́êŕ' t̂ó ĉón̂f́îŕm̂ ór̂ 'Éŝćâṕê' t́ô ćâńĉél̂.)"
11914
11914
  },
11915
- "ui/legacy/components/quick_open/QuickOpen.ts | useTabToSwitchCommandsTypeToSeeAvailableCommands": {
11916
- "message": "Ûśê T́âb́ t̂ó ŝẃît́ĉh́ ĉóm̂ḿâńd̂ś. T̂ýp̂é '?' t̂ó ŝéê áv̂áîĺâb́l̂é ĉóm̂ḿâńd̂ś"
11915
+ "ui/legacy/components/quick_open/QuickOpen.ts | typeToSeeAvailableCommands": {
11916
+ "message": "T̂ýp̂é '?' t̂ó ŝéê áv̂áîĺâb́l̂é ĉóm̂ḿâńd̂ś"
11917
11917
  },
11918
11918
  "ui/legacy/components/source_frame/FontView.ts | font": {
11919
11919
  "message": "F̂ón̂t́"
@@ -120,6 +120,12 @@ export class DebuggerWorkspaceBinding implements SDK.TargetManager.SDKModelObser
120
120
  if (!compilerMapping) {
121
121
  return [];
122
122
  }
123
+ if (mode === SDK.DebuggerModel.StepMode.StepOut) {
124
+ // We should actually return the source range for the entire function
125
+ // to skip over. Since we don't have that, we return an empty range
126
+ // instead, to signal that we should perform a regular step-out.
127
+ return [];
128
+ }
123
129
  ranges = compilerMapping.getLocationRangesForSameSourceLocation(rawLocation);
124
130
  ranges = ranges.filter(range => contained(rawLocation, range));
125
131
  return ranges;
@@ -375,6 +375,10 @@
375
375
  flex-shrink: 0;
376
376
  }
377
377
 
378
+ .console-message-text .object-value-node {
379
+ display: inline-block;
380
+ }
381
+
378
382
  .console-message-text .object-value-string,
379
383
  .console-message-text .object-value-regexp,
380
384
  .console-message-text .object-value-symbol {
@@ -1334,7 +1334,7 @@ export class ElementsTreeElement extends UI.TreeOutline.TreeElement {
1334
1334
  }
1335
1335
 
1336
1336
  /** Keep it in sync with elementsTreeOutline.css **/
1337
- return 12 * (depth - 2) + (this.isExpandable() ? 1 : 12);
1337
+ return 12 * (depth - 2) + (this.isExpandable() && this.isCollapsible() ? 1 : 12);
1338
1338
  }
1339
1339
 
1340
1340
  updateDecorations(): void {
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
  .elements-disclosure li {
37
- /** Keep margin-left & padding-left in sync with ElementsTreeElements.updateDecorators **/
37
+ /** Keep margin-left & padding-left in sync with ElementsTreeElements.updateDecorations **/
38
38
  padding: 1px 0 0 14px;
39
39
  margin-left: -2px;
40
40
  word-break: normal;
@@ -44,8 +44,8 @@
44
44
  min-width: 200px;
45
45
  }
46
46
 
47
- .elements-disclosure li.parent {
48
- /** Keep it in sync with ElementsTreeElements.updateDecorators **/
47
+ .elements-disclosure li.parent:not(.always-parent) {
48
+ /** Keep it in sync with ElementsTreeElements.updateDecorations **/
49
49
  margin-left: -13px;
50
50
  }
51
51
 
@@ -62,7 +62,7 @@
62
62
  opacity: 60%;
63
63
  }
64
64
 
65
- .elements-disclosure li.parent::before {
65
+ .elements-disclosure li.parent:not(.always-parent)::before {
66
66
  box-sizing: border-box;
67
67
  user-select: none;
68
68
  -webkit-mask-image: var(--image-file-treeoutlineTriangles);
@@ -79,10 +79,6 @@
79
79
  -webkit-mask-position: -16px 0;
80
80
  }
81
81
 
82
- .elements-disclosure li.always-parent::before {
83
- visibility: hidden;
84
- }
85
-
86
82
  .elements-disclosure li .selection {
87
83
  display: none;
88
84
  z-index: -1;
@@ -126,7 +122,7 @@
126
122
 
127
123
  .elements-disclosure ol {
128
124
  list-style-type: none;
129
- /** Keep it in sync with ElementsTreeElements.updateDecorators **/
125
+ /** Keep it in sync with ElementsTreeElements.updateDecorations **/
130
126
  padding-inline-start: 12px;
131
127
  margin: 0;
132
128
  }
@@ -242,7 +242,7 @@ export class HeapTimelineOverview extends Common.ObjectWrapper.eventMixin<EventT
242
242
  const maxIndex =
243
243
  Platform.ArrayUtilities.upperBound(timestamps, timeRight, Platform.ArrayUtilities.DEFAULT_COMPARATOR);
244
244
  let size = 0;
245
- for (let i = minIndex; i <= maxIndex; ++i) {
245
+ for (let i = minIndex; i < maxIndex; ++i) {
246
246
  size += sizes[i];
247
247
  }
248
248
  const minId = minIndex > 0 ? ids[minIndex - 1] : 0;
@@ -845,6 +845,10 @@ export class TreeElement {
845
845
  }
846
846
  }
847
847
 
848
+ isCollapsible(): boolean {
849
+ return this.collapsible;
850
+ }
851
+
848
852
  setCollapsible(collapsible: boolean): void {
849
853
  if (this.collapsible === collapsible) {
850
854
  return;
@@ -49,7 +49,7 @@
49
49
  position: relative;
50
50
  vertical-align: baseline;
51
51
  color: var(--color-syntax-7);
52
- display: inline-block;
52
+ white-space: nowrap;
53
53
  }
54
54
 
55
55
  .object-value-with-memory-icon {
@@ -510,6 +510,10 @@ export class FilteredListWidget extends Common.ObjectWrapper.eventMixin<EventTyp
510
510
  this.onEnter(keyboardEvent);
511
511
  return;
512
512
  case Platform.KeyboardUtilities.TAB_KEY:
513
+ if (keyboardEvent.shiftKey) {
514
+ handled = this.list.selectPreviousItem(true, false);
515
+ break;
516
+ }
513
517
  handled = this.tabKeyPressed();
514
518
  break;
515
519
  case Platform.KeyboardUtilities.ArrowKey.UP:
@@ -12,7 +12,7 @@ const UIStrings = {
12
12
  /**
13
13
  * @description Text of the hint shows under Quick Open input box
14
14
  */
15
- useTabToSwitchCommandsTypeToSeeAvailableCommands: 'Use Tab to switch commands. Type \'?\' to see available commands',
15
+ typeToSeeAvailableCommands: 'Type \'?\' to see available commands',
16
16
  };
17
17
  const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/quick_open/QuickOpen.ts', UIStrings);
18
18
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -43,7 +43,7 @@ export class QuickOpenImpl {
43
43
  const quickOpen = new this();
44
44
  const filteredListWidget = new FilteredListWidget(null, history, quickOpen.queryChanged.bind(quickOpen));
45
45
  quickOpen.filteredListWidget = filteredListWidget;
46
- filteredListWidget.setHintElement(i18nString(UIStrings.useTabToSwitchCommandsTypeToSeeAvailableCommands));
46
+ filteredListWidget.setHintElement(i18nString(UIStrings.typeToSeeAvailableCommands));
47
47
  filteredListWidget.showAsDialog();
48
48
  filteredListWidget.setQuery(query);
49
49
  }
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
54
54
  "watch": "third_party/node/node.py --output scripts/watch_build.js"
55
55
  },
56
- "version": "1.0.954427"
56
+ "version": "1.0.954826"
57
57
  }