Take the DNS API out of experimental
Reported by
hey....@gmail.com,
Mar 27 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 Steps to reproduce the problem: Many extensions need to access the ip address corresponding to the current tab's url. To do that, we currently need to use webRequest. It has the following drawbacks: 1. can't use event page anymore 2. need to manually cache and invalidate requests 3. won't get any ip until there was some requests made 4. when domain resolves to multiple ip addresses, only one is returned #3 is especially serious, since when the extension is firstly installed, we won't be able to get the ip address of existing pages until they're refreshed. What is the expected behavior? What went wrong? It would be great if chrome could expose all ip address for the current tab in the tab api WebStore page: Did this work before? N/A Chrome version: 49.0.2623.87 Channel: n/a OS Version: OS X 10.11.4 Flash Version: Shockwave Flash 21.0 r0 I'm not sure if this is the right place to submit feature request (because the form doesn't seem to fit a feature request). If not, sorry for spamming, and please let me know where should i send it.
,
Mar 28 2016
Sorry for the confusion, every time i said "tab", i meant "tab URL". Good to hear there is #447270, but it still doesn't solve #3. A cached DNS resolver is a good idea. I think Firefox has that.
,
Jul 8 2016
We already provide the chrome.tabs API that can get you the URLs of all tabs and fires events when they change, so the remaining thing needed is a DNS resolving API. It turns out we implemented an experimental one but never launched it to stable; instead it's experimental and only available on chrome dev/canary channels. So I'm changing the title of this bug to be "Take the DNS API out of experimental", with the expectation that there may or may not be changes required to the API to get it into a form we'd be happy releasing and supporting. I can't recall what the remaining issues were preventing us from launching it - IIRC we first implemented it because the (apps-only) chrome.sockets API initially only supported ip addresses, so you needed a way to do DNS resolution, but we changed the sockets API to take hostnames as well as ip addresses. We may have not launched it just due to relatively low amounts developer interest. Anyhow, the current experimental implementation is mostly in these files: extensions/common/api/dns.idl extensions/browser/api/dns/dns_api.h extensions/browser/api/dns/dns_api.cc in case someone wants to try and take on launching this API to stable.
,
Jul 10 2017
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
,
Aug 11 2017
Assigning to Devlin. Devlin: What's the status of this API? It seems it is enabled just on Dev but whitelisted on Stable for something called CCD.
,
Feb 8 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by rob@robwu.nl
, Mar 27 2016Status: Untriaged (was: Unconfirmed)