Primary eng (and PM) emails
Link to “Intent to Deprecate” thread
https://groups.google.com/a/chromium.org/d/msg/blink-dev/bAMVnc1Zyvs/M3VnxbYPBC0J (which I neglected to follow up on for over 2 years... *sigh*)
Summary
I'd like to block requests from HTTP/HTTPS documents that target "legacy" schemes (e.g. "ftp://my-awesome-ftp-server.com/yay.tiff"). That is, the `ftp://` image referenced in https://jsbin.com/petonig/edit?html,output would not load, as the document itself is not served from `ftp://`.
Motivation
Removing FTP subresources from webby pages would enable us to extract FTP support out of Chrome, handling top-level FTP requests via some other mechanism (Chrome app. protocol handler, etc). Given the low usage, and the code we could remove, this seems like a sizable win.
Compatibility And Interoperability Risk
Other browsers generally support `ftp://` subresources. Given the usage, however, I expect we'd be able to agree on changing that.
Alternative implementation suggestion for web developers
Developers can embed resources from HTTP servers, rather than FTP servers.
Usage information from UseCounter
The deprecation warnings we added in 2014 worked (or: the internet doesn't use much FTP anymore)! Whatever the cause, legacy protocol usage in HTTP/HTTPS documents has dropped down to the point where it no longer registers on the usage graph: https://www.chromestatus.com/metrics/feature/timeline/popularity/531.
Looking at the raw numbers shows 0.0003% of page views over the last 28 days.
OWP launch tracking bug
Entry on the feature dashboard
On Mon, 23 Jan 2017 17:48:45 +0100, Rick Byers <rby...@chromium.org> wrote:
This data is different from the HTTP/0.9 deprecation in that here we're
looking at % of pageviews which trigger such a load at least once. We
didn't have the data in that form for the HTTP/0.9 deprecation and so were
relying on the harder-to-interpret %-of-requests. Right? 0.0003% of page
views sounds likely to be pretty low risk to me, but nothing is risk-free
for sure...
What's the right relative ordering is here. Should we wait to remove until
the Fetch spec has changed, or at least has a PR against it?
I tried checking httparchive (494,956 pages), any elements with src or href starting with ftp: or ftps: but ignoring <a href="ftp:"> (I assume those will continue to work?):
```
SELECT * FROM (
SELECT page, REGEXP_EXTRACT(LOWER(body), r'(<(?:[^a][a-z]+)(?:\s[^>]+)?\s(?:src|href)\s*=\s*["\']?ftps?:[^>]+>)') AS match
FROM [httparchive:har.2017_01_01_chrome_requests_bodies]
)
WHERE match != "null"
```
3 results, as csv below:
page,match
http://www.taz.de/,"<node id=""4495"" ts=""1357240141"" name=""ftp"" href=""ftp://ftp.taz.de"" traverse=""true"">"
http://www.microline.hr/,<img src='ftp://ftp.microline.hr/mol/images/banner.png'/>
http://www.webbkameror.se/,"<img src=""ftp://194.117.166.250/fh/nygatan-kopmannagatan.jpg"" alt=""kalix"" width=""155"" height=""113"" border=""0"" class=""bild-border"">"
---
For comparison, in httparchive, 293 matches for <a href=ftp:>.
---
In GitHub, img src=ftp (trying to exclude some test cases):
https://github.com/search?utf8=✓&q="img+src%3Dftp"+NOT+test+NOT+"invalid+src"&type=Code&ref=searchresults
"We’ve found 592 code results"
---
For comparison, href=ftp (HTML only):
https://github.com/search?l=HTML&q="href%3Dftp"+NOT+test&ref=searchresults&type=Code&utf8=✓
"We’ve found 451,683 code results"
--
Simon Pieters
Opera Software
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/op.yui4n4j7idj3kv%40simons-mbp.
On Mon, Jan 23, 2017 at 12:39 PM, Simon Pieters <sim...@opera.com> wrote:On Mon, 23 Jan 2017 17:48:45 +0100, Rick Byers <rby...@chromium.org> wrote:
This data is different from the HTTP/0.9 deprecation in that here we're
looking at % of pageviews which trigger such a load at least once. We
didn't have the data in that form for the HTTP/0.9 deprecation and so were
relying on the harder-to-interpret %-of-requests. Right? 0.0003% of page
views sounds likely to be pretty low risk to me, but nothing is risk-free
for sure...
What's the right relative ordering is here. Should we wait to remove until
the Fetch spec has changed, or at least has a PR against it?
I tried checking httparchive (494,956 pages), any elements with src or href starting with ftp: or ftps: but ignoring <a href="ftp:"> (I assume those will continue to work?):Not sure that's right. Would we allow ftp URLs in iframes or not? If not, then that wouldn't work when present in an iframe, unless opening the URL in a new tab.
```
SELECT * FROM (
SELECT page, REGEXP_EXTRACT(LOWER(body), r'(<(?:[^a][a-z]+)(?:\s[^>]+)?\s(?:src|href)\s*=\s*["\']?ftps?:[^>]+>)') AS match
FROM [httparchive:har.2017_01_01_chrome_requests_bodies]
)
WHERE match != "null"
```
3 results, as csv below:
page,match
http://www.taz.de/,"<node id=""4495"" ts=""1357240141"" name=""ftp"" href=""ftp://ftp.taz.de"" traverse=""true"">"
http://www.webbkameror.se/,"<img src=""ftp://194.117.166.250/fh/nygatan-kopmannagatan.jpg"" alt=""kalix"" width=""155"" height=""113"" border=""0"" class=""bild-border"">"
On Mon, Jan 23, 2017 at 12:43 PM, Matt Menke <mme...@chromium.org> wrote:On Mon, Jan 23, 2017 at 12:39 PM, Simon Pieters <sim...@opera.com> wrote:On Mon, 23 Jan 2017 17:48:45 +0100, Rick Byers <rby...@chromium.org> wrote:
This data is different from the HTTP/0.9 deprecation in that here we're
looking at % of pageviews which trigger such a load at least once. We
didn't have the data in that form for the HTTP/0.9 deprecation and so were
relying on the harder-to-interpret %-of-requests. Right? 0.0003% of page
views sounds likely to be pretty low risk to me, but nothing is risk-free
for sure...
What's the right relative ordering is here. Should we wait to remove until
the Fetch spec has changed, or at least has a PR against it?
I tried checking httparchive (494,956 pages), any elements with sr
c or href starting with ftp: or ftps: but ignoring <a href="ftp:"> (I assume those will continue to work?):Not sure that's right. Would we allow ftp URLs in iframes or not? If not, then that wouldn't work when present in an iframe, unless opening the URL in a new tab.
http://www.webbkameror.se/,"<img src=""ftp://194.117.166.250/fh/nygatan-kopmannagatan.jpg"" alt=""kalix"" width=""155"" height=""113"" border=""0"" class=""bild-border"">"Legitimate breakage. A site with a bunch of webcam links where one (of many) images is served via FTP. I can imagine this as a pattern of possible breakage - old-school webcam setups where the software is designed only to upload images periodically to some FTP server. There's no console warning here at all.
Mike, did your deprecation warning get removed at some point? We should probably add it back for at least a milestone before removal.