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

Issue 804945 link

Starred by 11 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Feature



Sign in to add a comment

Feature Request: Expose mDNS API for usage in Chrome extensions

Reported by tuc...@tuckerd.info, Jan 23 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce the problem:
As chrome apps are discontinued it would be very nice to have a chrome-extension-api for mDNS discovery. The existing API for chrome apps is fine, it should just be moved over or enabled for extensions. 

What is the expected behavior?
Enable the chrome mdns api for extensions

What went wrong?
No api is available for doing mDNS service discovery. mDNS service discovery is frequently used by IOT devices, such as Chromecast. It would be very helpful for developers to be able to write discovery / management plugins for their devices. 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 63.0.3239.132  Channel: stable
OS Version: OS X 10.13.2
Flash Version:
 
Cc: susanjun...@techmahindra.com
Components: Platform>Extensions>API
Labels: -Type-Bug Triaged-ET M-66 FoundIn-66 Target-66 Needs-Triage-M63 OS-Linux OS-Windows Type-Feature
Status: Untriaged (was: Unconfirmed)
tucker@ Thanks for the issue.

From the original comment, this is a feature request to enable Chrome mdns api for extensions.

Hence marking this as Untriaged for further updates from Dev.

Thanks..

Comment 2 by tuc...@tuckerd.info, Jan 24 2018

Thanks for fixing the categories susanjun@. Using the issue trackers issue creation wizard I didn't see a way to correctly set the component or type: feature, I was hoping those would be fixed before this got the round bin. 
Cc: rdevlin....@chromium.org gene@chromium.org vitalyb...@chromium.org
Owner: mfo...@chromium.org
Status: Assigned (was: Untriaged)
[Extensions Triage] Assigning to mfoltz@ who is one of the owners of the API to take a look at the request.

Comment 4 by mfo...@chromium.org, Feb 16 2018

Opening up chrome.mdns to third party extensions would require elimination of the service type and extension whitelists, which are important security mitigations for this powerful API.

Instead, I would suggest implementing your application using Chrome Apps which does not have these limitations.

Comment 5 by tuc...@tuckerd.info, Feb 16 2018

mfoltz@

That would be fine, except chrome apps have been / will be discontinued for our target platform.

https://blog.chromium.org/2016/08/from-chrome-apps-to-web.html

Comment 6 by mfo...@chromium.org, Feb 16 2018

Cc: -rdevlin....@chromium.org mfo...@chromium.org
Labels: -Pri-2 -M-66 -FoundIn-66 -Target-66 Pri-3
Owner: rdevlin....@chromium.org
OK, this is a feature request for the extensions/security teams to work though the implications of opening up this API.

Comment 7 by tuc...@tuckerd.info, Feb 16 2018

Thanks for pushing this along. I'm not perfectly familiar with all of the mDNS specification, I know that it is large and more complex than what our engineers here thought when they implemented it. Even if the whitelisted protocols was small it would be beneficial to us. Our devices are configured over _http._tcp and I think that would/could serve the vast majority of users. 
Hi.  Is there an update on this?  We are experiencing issues with Chromecast list of devices not always populating in Chrome(cast extension) and were looking to make a temp fix by using mDNS API as a Chrome extension to force-flush the list(Without having to restart chrome and WiFi) while we work through this issue with the relevant vendors.
Cc: zstein@chromium.org

Sign in to add a comment