New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 690956 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

https://developer.chrome.com/apps/mdns needs better documentation for onServiceList.addListener() and the serviceType key

Reported by joshtynj...@gmail.com, Feb 10 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0

Steps to reproduce the problem:
1. Visit https://developer.chrome.com/apps/mdns

2. Scroll to section about onServiceList.addListener().

What is the expected behavior?

What went wrong?
The documented function signature does not show that a second parameter may be passed to addListener():

chrome.mdns.onServiceList.addListener(function callback)

The description mentions serviceType, at least, but with an incorrect signature, it's not clear how to use it.

I ended up figuring it out by reading through the comments on this chrome-app-samples Github issue:

https://github.com/GoogleChrome/chrome-app-samples/issues/387

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: <Copy from: 'about:version'>  Channel: n/a
OS Version: OS X 10.12
Flash Version: Shockwave Flash 24.0 r0

 

Comment 1 by meh...@chromium.org, Feb 10 2017

Components: Infra>Documentation
Cc: bever...@google.com
Status: Available (was: Unconfirmed)

Comment 3 by peter@chromium.org, Feb 13 2017

Cc: -bever...@google.com devlin@chromium.org
Components: -Infra>Documentation Platform>Extensions>Documentation
Project Member

Comment 4 by sheriffbot@chromium.org, Feb 15 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: gene@chromium.org vitalyb...@chromium.org
Owner: mfo...@chromium.org
Status: Assigned (was: Untriaged)
[Extensions Triage] Assigning to mfoltz@ to triage and cc'ing the other API owners.
Cc: -vitalyb...@chromium.org
Cc: mfo...@chromium.org
Labels: -Pri-2 -Hotlist-Recharge-Cold Pri-3
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment