Closed Bug 1509804 Opened 2 years ago Closed 7 months ago
Automatic export of HAR is broken due to Event
Emitter refactor from last year
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15 Steps to reproduce: 1. Set devtools.netmonitor.har.enableAutoExportToFile = true 2. Opened dev tools 3. Browsed around Actual results: No har files showed up in profile directory Expected results: Har files should have showed up. This appears to be due to a bug in har-automation.js. The onTabNavigated event listener is trying to check type for 'navigated' and 'will-navigate', but that is no longer passed in so HAR files are never created. I've attached a quick patch. I haven't tested it so it may be buggy.
Component: Untriaged → Netmonitor
OS: Unspecified → Mac OS X
Product: Firefox → DevTools
Hardware: Unspecified → Desktop
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Attachment #9112531 - Attachment description: Bug 1509804 - Add smoke test for har automation → Bug 1509804 - Add smoke test for HAR automation
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/a4459904376f Temporary fix for HAR automation r=Honza https://hg.mozilla.org/integration/autoland/rev/76944c9ad43c Add smoke test for HAR automation r=Honza
You need to log in before you can comment on or make changes to this bug.