This includes:
- intercept download requests
- identify intercepted requests as downloads (e.g. isDownload attribute in RequestIntercepted event)
- expose a convenient method to get the response body as stream and/or cancel the download;
This is mostly needed by headless / puppeteer and would let us get rid of Page.setDownloadBehavior and DevToolsDownloadManagerDelegate.
This will also address instrumentation of downloads (see issue 767189) once we merge interception and regular network instrumentation.
Comment 1 by bugdroid1@chromium.org
, Apr 17 2018