IsPrivilegedMozillaRemoteType is unused
Categories
(Core :: DOM: Content Processes, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: mccr8, Assigned: knowlden887)
References
(Blocks 2 open bugs)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
It looks like this method was added in bug 1657188 for use in nsDOMNavigationTiming::MaybeSubmitTimeToLoadEventPreloadTelemetry(), but that method no longed exists, so IsPrivilegedMozillaRemoteType is now unused.
Comment 1•2 years ago
|
||
It looks in general like we have a mixture of using the types directly like here and having the concurrent IsXXXType functions for some of them, all rarely used IIUC. I can see some value to wrap those that need a StringBeginsWith, but then I'd probably recommend to have them all and use them always.
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #1)
It looks in general like we have a mixture of using the types directly like here and having the concurrent
IsXXXTypefunctions for some of them, all rarely used IIUC. I can see some value to wrap those that need aStringBeginsWith, but then I'd probably recommend to have them all and use them always.
Moved this to bug 1861397, in the meantime removing unused code is always good.
Comment 5•2 years ago
|
||
| bugherder | ||
Description
•