MDN search does not find "Listening to all events" in "Working with Events - Mozilla | MDN"

NEW
Unassigned

Status

Mozilla Developer Network
Search
3 years ago
3 years ago

People

(Reporter: anaran, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

3 years ago
Referenced from

https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Working_with_Events#Listening_to_all_events

Details:

Listening to all events

You can pass the wildcard "*" as the type argument. If you do this, the listener will be called for any event emitted by that object, and its argument will be the name of the event:
panel.on("*", function(e) { console.log("event " + e + " was emitted"); });

This wildcard feature does not yet work for the tabs or windows modules.

Problem:

https://developer.mozilla.org/en-US/search?q=Listening+to+all+events

does not find this information.
Hi!

It is the first result of the second page of results (at least for me).

Did you noticed that the results were paginated? That may have been part of the discoverability problem.
(Reporter)

Comment 2

3 years ago
Hi! It is not showing up for me in the first four pages of output.

Could it be a search user configuration issue?

How would we compare our settings?

I have not checked any checkboxes for Topics, Documents, Skill Levels.

Did you exactly use this query as well?

https://developer.mozilla.org/en-US/search?q=Listening+to+all+events

Please paste your match here.
The page does show as the first entry of the second page.

Are you expecting the fragment to show up? (that is the URL w/ #xyz)
Flags: needinfo?(adrian.aichner)
(Reporter)

Comment 4

3 years ago
I see,

Working with Events
The Add-on SDK supports event-driven programming.
developer.mozilla.org/en-US/Add-ons/SDK/Guides/Working_with_Events

does indeed show up (knowing what we search for).

But one has to visit every link in the results to see whether there are relevant matches on that page.

I would indeed like more of a clue in the results page to to stand a chance to find the relevant one.

Perhaps fragments of the matched text could be shown on the results page body.

Showing the first sentence is not very helpful.
(Reporter)

Updated

3 years ago
Flags: needinfo?(adrian.aichner)
Thank you. I'm moving it to the MDN dev area to get it triaged. (cc/ing Maris to be sure it get on the triage meeting radar)
Component: General → Search
Product: Developer Documentation → Mozilla Developer Network

Updated

3 years ago
Depends on: 1162505
You need to log in before you can comment on or make changes to this bug.