Skip to content

Firefox 57 and later? #45

Open
Open

Description

@soulgalore

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

Activity

  1. janodvarko commented on Apr 24, 2017

    @janodvarko
    Member

    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

  2. soulgalore commented on Apr 24, 2017

    @soulgalore
    Author

    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

  3. janodvarko commented on Apr 24, 2017

    @janodvarko
    Member

    I see, sounds good!

    getHAR() should be implemented as part of this bug:
    https://bugzilla.mozilla.org/show_bug.cgi?id=1311177

    Honza

  4. soulgalore commented on Apr 24, 2017

    @soulgalore
    Author

    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.

  5. soulgalore commented on May 2, 2017

    @soulgalore
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions