Skip to content

Commit 695ed8a

Browse files
Connor ClarkDevtools-frontend LUCI CQ
authored andcommitted
[AI] Fix typo in "All URLs" label for call tree serialize
Bug: 410783827 Change-Id: I94576b038ecd1b01f37c87c341269dbf79d67ee9 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6799837 Auto-Submit: Connor Clark <[email protected]> Reviewed-by: Paul Irish <[email protected]> Commit-Queue: Connor Clark <[email protected]> Commit-Queue: Paul Irish <[email protected]>
1 parent 9de0b5d commit 695ed8a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

front_end/panels/timeline/utils/AICallTree.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describeWithEnvironment('AICallTree', () => {
7070
const expectedData = '\n' +
7171
`
7272
73-
# All URL #s:
73+
# All URLs:
7474
7575
* 0: node:internal/main/run_main_module
7676
* 1: node:internal/modules/run_main
@@ -104,7 +104,7 @@ describeWithEnvironment('AICallTree', () => {
104104
const expectedData = '\n' +
105105
`
106106
107-
# All URL #s:
107+
# All URLs:
108108
109109
* 0: https://www.gstatic.com/devrel-devsite/prod/vafe2e13ca17bb026e70df42a2ead1c8192750e86a12923a88eda839025dabf95/js/devsite_app_module.js
110110
@@ -242,7 +242,7 @@ describeWithEnvironment('AICallTree', () => {
242242

243243
// Entry Format: `id;name;duration;selfTime;urlIndex;childRange;[S]
244244
const expectedData = `
245-
# All URL #s:
245+
# All URLs:
246246
247247
* 0: https://www.gstatic.com/devrel-devsite/prod/vafe2e13ca17bb026e70df42a2ead1c8192750e86a12923a88eda839025dabf95/js/devsite_app_module.js
248248
@@ -269,7 +269,7 @@ describeWithEnvironment('AICallTree', () => {
269269

270270
// Entry Format: `id;name;duration;selfTime;urlIndex;childRange;[S]
271271
const expectedData = `
272-
# All URL #s:
272+
# All URLs:
273273
274274
* 0: https://www.gstatic.com/firebasejs/6.6.1/firebase-performance.js
275275

front_end/panels/timeline/utils/AICallTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export class AICallTree {
249249
let output = '';
250250
if (allUrls.length) {
251251
// Output lookup table of URLs within this tree
252-
output += '\n# All URL #s:\n\n' + allUrls.map((url, index) => ` * ${index}: ${url}`).join('\n');
252+
output += '\n# All URLs:\n\n' + allUrls.map((url, index) => ` * ${index}: ${url}`).join('\n');
253253
}
254254
output += '\n\n# Call tree:\n' + nodesStr;
255255
return output;

0 commit comments

Comments
 (0)