gecko-dev/toolkit/components/jsdownloads
Gijs Kruitbosch a6e0fa62ec Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz
This actually accomplishes what was discussed in the bug and marks any file with the
relevant URI flags as WebDownload, and everything else as OtherDownload.

Note that I'm using DoGetProtocolFlags in order to deal with
nsIProtocolHandlerWithDynamicFlags correctly; while just getting protocol flags
from the IO service directly would be less work, it's technically less correct.

MozReview-Commit-ID: HgD1fV98IEc

--HG--
extra : rebase_source : f114532b48dbca5c83871e61c8d04c719e3b38d1
2016-10-03 13:52:19 +01:00
..
public Bug 337051: Add origin and referrer URL metadata to downloaded files on OS X. r=mstange,pamadini 2016-09-13 02:25:36 -05:00
src Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz 2016-10-03 13:52:19 +01:00
test Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe 2016-08-16 15:44:15 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00