Closed Bug 1938771 Opened 2 months ago Closed 1 month ago

Network Panel Search - Incomplete text displayed on the left side panel.

Categories

(DevTools :: Netmonitor, defect)

Firefox 128
defect

Tracking

(firefox135 verified)

VERIFIED FIXED
135 Branch
Tracking Status
firefox135 --- verified

People

(Reporter: gwdx, Assigned: gwdx)

Details

Attachments

(2 files)

Attached image search-issue.png

Steps to reproduce:

  1. Open Firefox Developer Tools (press F12). Select the Network tab.
  2. Visit Chi distribution - Wikipedia.
  3. Open the global search box using Ctrl+Shift+F, enter the keyword chi distribution, and perform a search.

Actual results:

Some entries in the left-hand search results are missing parts of the surrounding text. For example:
The full text on the webpage:
variance of chi distribution. This has application
is incorrectly displayed as:
variance of chi distributioncation.

Expected results:

The search results should display the complete text surrounding the keyword, such as:
variance of chi distribution. This has application.

In the Devtools Network Panel, sometimes the left side panel displays incomplete text in search results. This commit fixes incorrect substring indices in the getTruncatedValue function.

Assignee: nobody → gwdxxx
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9444859 - Attachment description: Bug 1938771 - Fix incomplete text display in Devtools Network Panel search results → Bug 1938771 - Fix incomplete text display in Devtools Network Panel search results. r=jdescottes
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/84f429f4fc89 Fix incomplete text display in Devtools Network Panel search results. r=jdescottes,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Reproduced the issue on Firefox 135.0a1 (2024-12-21) on macOS 15.2 by following the STR from Comment 0.

The issue is fixed on Firefox 135.0b9. Tests were performed on macOS 15.2, Windows 11 and Ubuntu 24.04.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: