Wrong definition of nsIRequestObserver from an XPIDL file

RESOLVED INVALID

Status

RESOLVED INVALID
2 years ago
a year ago

People

(Reporter: mccr8, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
If I click on nsIRequestObserver, then click on go to definition, I end up in some random JS file that defines a variable with that name.

http://searchfox.org/mozilla-central/source/netwerk/base/nsIStreamListener.idl
Yeah, this is kind of a UI glitch. Stuff in IDL files is supposed to find both JS and C++ implementations. There happens to be one JS implementation, so we have a "Go to definition" link for it. If you click on the second "Go to definition" menu item, you'll be taken to the C++ code.
(Reporter)

Comment 2

2 years ago
Ah, I see. Yeah if they said "Go to JS definition" or whatever it would be clearer. Or just put the C++ one first because that's what I care about. ;)
(Reporter)

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.