Closed Bug 1859414 Opened 2 years ago Closed 2 years ago

IsPrivilegedMozillaRemoteType is unused

Categories

(Core :: DOM: Content Processes, task, P3)

task

Tracking

()

RESOLVED FIXED
121 Branch
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.

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.

Severity: -- → S4
Priority: -- → P3
Blocks: 1860860
Assignee: nobody → knowlden887
Status: NEW → ASSIGNED
Blocks: 1861397

(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 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.

Moved this to bug 1861397, in the meantime removing unused code is always good.

Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2b898dedc56c [ipc] Remove IsPrivilegedMozillaRemoteType. r=jstutte
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: