Open soulgalore opened 7 years ago
The extension should be refactored and based on WebExtensions API https://developer.mozilla.org/en-US/Add-ons/WebExtensions
It might happen that it needs some new WebExtension API. In such case we need to implement prototype of the required API as WebExtension experiment and suggest to make it built-in (there is a mailing list where new API are being suggested). https://webextensions-experiments.readthedocs.io/en/latest/
Help is welcome!
Honza
Cool, both me and @tobli is interested in helping out (we need it for Browsertime). Chrome uses network that we miss in Firefox so far: https://developer.chrome.com/extensions/devtools_network with a getHAR() function.
I'll check out the experiments, thanks! Best Peter
I see, sounds good!
getHAR() should be implemented as part of this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1311177
Honza
Cool, let me try to see if I can do something like what we have in HAR Export Trigger but for Chrome for now using WebExtension, can probably do something next week, will keep you posted.
I've started with like the simplest version just injecting a content script, talking to the background page, sending a message to devtools and then send back the HAR: https://github.com/soulgalore/har-webextension
There's a lot more that needs to be done (I just wanted to test want I could do now), and really we need to be able to get the HAR without having the devtools-panel open and I guess that will be a problem? When we use the HAR Export trigger we also records a video of the screen to be able to measure firstVisualChange/SpeedIndex etc so we don't want to have anything else on the screen except the actual content.
Hi! I know we are ahead of time but I wanna check about the plan for the extension or another way to get a HAR when we reach Firefox 57 and it only supports WebExtensions? I would love to contribute or help out if I can.
Best Peter