New issue
Advanced search Search tips

Issue 790909 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

HAR file captured from chrome.devtools.network.getHAR() has startedDateTime as empty.

Reported by farooqra...@gmail.com, Dec 1 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1. Created a plugin which uses chrome.devtools.network.getHAR(), to capture the HAR file.
2. HAR file got generated but startedDateTime has an empty object for pages and entries.  

What is the expected behavior?
According to HAR spec, the startedDateTime should be a string which gives date and time stamp for the beginning of the page or request.

What went wrong?
The startedDataTime in HAR log exported by "chrome.devtools.network.getHAR" is not a string, but an empty JSON object without any time stamp information.

Did this work before? N/A 

Chrome version: 62.0.3202.94  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
error.jpg
85.7 KB View Download
Owner: eostroukhov@chromium.org
Status: Assigned (was: Unconfirmed)
This same issue is reproducible in Linux also. Below is the UserAgent information in Linux.
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Linux Version: Red Hat Enterprise Linux Server 7.3

Hi guys,
can you kindly look into the issue, we are stuck with this issue. Some workarounds will be helpful to proceed.

Thanks.
Owner: pfeldman@chromium.org
Project Member

Comment 5 by bugdroid1@chromium.org, Dec 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d

commit a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d
Author: Pavel Feldman <pfeldman@chromium.org>
Date: Fri Dec 15 04:45:44 2017

DevTools: HAR file from c.d.network.getHAR() has startedDateTime as empty.

Bug:  790909 
Change-Id: I80f47d2619ef1109ca9c60bf484f270db9d012e1
Reviewed-on: https://chromium-review.googlesource.com/826710
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524328}
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/http/tests/devtools/resource-har-conversion-expected.txt
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/http/tests/devtools/resource-har-headers-expected.txt
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/http/tests/devtools/resource-parameters-expected.txt
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/http/tests/devtools/resource-parameters-ipv6-expected.txt
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/http/tests/devtools/resource-parameters-ipv6.js
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/LayoutTests/http/tests/devtools/resource-parameters.js
[delete] https://crrev.com/6b6934dae35ce8c54ace157f0892079908d88175/third_party/WebKit/LayoutTests/platform/linux/http/tests/devtools/resource-parameters-expected.txt
[delete] https://crrev.com/6b6934dae35ce8c54ace157f0892079908d88175/third_party/WebKit/LayoutTests/platform/linux/http/tests/devtools/resource-parameters-ipv6-expected.txt
[delete] https://crrev.com/6b6934dae35ce8c54ace157f0892079908d88175/third_party/WebKit/LayoutTests/platform/win/http/tests/devtools/resource-parameters-expected.txt
[delete] https://crrev.com/6b6934dae35ce8c54ace157f0892079908d88175/third_party/WebKit/LayoutTests/platform/win/http/tests/devtools/resource-parameters-ipv6-expected.txt
[modify] https://crrev.com/a09615be2b58d4b1a0fe1f4c6eabb782ea640b3d/third_party/WebKit/Source/devtools/front_end/network_log/HAREntry.js

Status: Fixed (was: Assigned)

Sign in to add a comment