Closed asaverim8 closed 6 years ago
Can you please file a bug here: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Developer%20Tools%3A%20Netmonitor
I'll fix that. Thanks, Honza
I think this one it's related to browser chrome, on Firefox the startedDateTime
is an ISO 8601 string, looks good.
I once hit similar issue on Chrome last year, on Chrome startedDateTime
returned by chrome.devtools.network.getHAR
is a Date object, rather than a string. I opened an issue in Chromium project, see here. They said it has been fixed....
+agreee for Firefox, everything seems fine
But for Chrome the startedDateTime is an object. Tested on chrome 62 / 63 / 64
You made a toString() to the har message in devtools.js?
It was just a workaround, I had to iterate all the entries and pages in the har log, and use toISOString
to convert startedDateTime to string one by one, a little bit ugly. Chrome should fix this issue, just like what Firefox does.
Thanks for the info!
Since this is Chrome bug (perhaps fixed) not related to Firefox and HARExportTrigger - I am closing this issue report.
Honza
Hey all, Have you noticed that the startDateTime is a null object? (thus failing validation when .har file loaded).
Anything i'm missing?
When desactivating har_validation:
Google-chrome v62 or v64 har-export-trigger: Last version