Open Bug 1361034 Opened 7 years ago Updated 2 years ago

Re-use the HEADERS constant in request-list-item.js

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

REOPENED

People

(Reporter: ntim, Unassigned)

Details

Right now, we specify the columns three times. It would be nice to only do it once.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Product: Firefox → DevTools

Can you please provide more information about what should be fixed here?
Just to make it actionable.

Honza

Flags: needinfo?(ntim.bugs)

There's a HEADERS constant defining all the headers at https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/constants.js#177.

RequestListItem.js also has its own list of headers: https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/components/RequestListItem.js

Maybe the two could be unified ?

Flags: needinfo?(ntim.bugs)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.