Closed Bug 1736976 Opened 4 years ago Closed 3 years ago

StringBeginsWith/StringEndsWith not use Substring to compare

Categories

(Core :: XPCOM, enhancement)

Firefox 95
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: noiseyou99, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Steps to reproduce:

I think we don't need to use Substring to compare, and we can use Comparator directly, it can save some time.

Assignee: nobody → noiseyou99
Attachment #9247020 - Attachment is obsolete: true

Hi,
Do you have any suggestion for this patch?

Flags: needinfo?(nika)
Flags: needinfo?(dbaron)

Because this report is still untriaged, setting it to Core: XPCOM, if this is not the right component, please move it to a more appropriate one. Thanks!

Component: Untriaged → XPCOM
Product: Firefox → Core

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: noiseyou99 → nobody

Redirect a needinfo that is pending on an inactive user to the triage owner.
:nika, since the bug has recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dbaron) → needinfo?(nika)

I don't think this is a big issue right now, and I don't love the impact on readability, so I'm going to close this as WONTFIX for now.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(nika)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: