.gdbinit_python
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 03 Oct 2016 13:52:19 +0100
changeset 317634 176c3e7915d1cf685119066783607684876e9312
parent 300247 c993782dbd5218c72c653b53482daea1be9b4c5c
child 362808 34b11112f0e3b342c149295ea8e8eac01cdf646c
permissions -rw-r--r--
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

python
import sys
sys.path.append('python/gdbpp/')
import gdbpp
end