Closed Bug 383987 Opened 17 years ago Closed 17 years ago

Remove unused functions addRows and endsWith

Categories

(Firefox :: Page Info Window, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 alpha6

People

(Reporter: jason.barnabe, Assigned: jason.barnabe)

Details

(Keywords: memory-footprint)

Attachments

(1 file)

addRows http://lxr.mozilla.org/seamonkey/source/browser/base/content/pageinfo/pageInfo.js#95 existed since before the Page Info code was ported from the suite, possibly added in bug 52370. As far as I can tell, it was never used.

endsWith http://lxr.mozilla.org/seamonkey/source/browser/base/content/pageinfo/security.js#353 was added in bug 377076, and its caller was removed in bug 379239.

Removing these two functions reduces code size by about 400 bytes.
Attachment #267924 - Flags: review?(mano)
Comment on attachment 267924 [details] [diff] [review]
remove addRows and endsWith

r=mano
Attachment #267924 - Flags: review?(mano) → review+
Whiteboard: [checkin needed]
Assignee: nobody → jason_barnabe
Target Milestone: --- → Firefox 3 alpha6
browser/base/content/pageinfo/pageInfo.js 1.5
browser/base/content/pageinfo/security.js 1.6
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: