Closed Bug 1451063 Opened 6 years ago Closed 6 years ago

nsICache does not inherit from nsISupports

Categories

(Core :: Networking: Cache, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mccr8, Assigned: valentin)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

nsICache is exposed to script, but does not inherit from nsISupports. This seems weird. It is the only such class, aside from nsISupports itself. I think this is okay in practice because it is a collection of constants, so no instances of it exist. Some casual searching also suggests that it might not actually be used by script despite being marked scriptable.
(This came up when I was working on bug 1444745, but I can easily work around it.)
Assignee: nobody → valentin.gosu
Priority: -- → P3
Whiteboard: [necko-triaged]
Comment on attachment 8965325 [details]
Bug 1451063 - nsICache does not inherit from nsISupports

https://reviewboard.mozilla.org/r/234060/#review239672
Attachment #8965325 - Flags: review?(michal.novotny) → review+
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1f7081335eb9
nsICache does not inherit from nsISupports r=michal
https://hg.mozilla.org/mozilla-central/rev/1f7081335eb9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.