How to empty network HARLog in Chrome extension development?
Reported by
haiyang5...@gmail.com,
Mar 4 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 Steps to reproduce the problem: 1. I'm developing an extension for Chrome recently。 2. I hope to empty HARLog. 3. I thought out all the chrome.devtools.network api, didn't find any api can do this. 4. I inspect Chrome's Devtools Network tab: chrome-devtools://devtools/bundled/network/network_module.js There is the code how the network clear button realizing, `NetworkLog.networkLog.reset()` 5. When I use it in my code, there is an error: NetworkLog is undefined Anyone can give some suggestions? Thanks. What is the expected behavior? What went wrong? Can't use NetworkLog.networkLog.reset() in extension development Did this work before? No Chrome version: 64.0.3282.186 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version:
,
Mar 5 2018
The issue seems to be out of TE-scope as it is related to developing an extension file and suggestion regarding empty network HARLog in Chrome extension development. Hence, adding TE-NeedsTriageHelp for further investigation from dev team. Thanks...!!
,
Mar 5 2018
We do not expose this functionality through the extension API. I'm not sure I understand your scenario well, though -- can you elaborate on the extension functionality you're trying to achieve?
,
Mar 11 2018
,
Mar 12 2018
I only want to do like Network tab clear button, so I can identify which one is new request.
,
Mar 12 2018
Can I close this issue? I didn't find anyway to do it. |
||||
►
Sign in to add a comment |
||||
Comment 1 by sindhu.chelamcherla@chromium.org
, Mar 4 2018