-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
When I debug an android device remotely the HAR file is not working in your viewer. In the console, I can see the following error:
TypeError: Cannot read property 'startedDateTime' of undefined
at Object.<anonymous> (http://ericduran.github.io/chromeHAR/js/controllers.js:99:73)
at Function.x.extend.each (http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js:4:4575)
at Object.$scope.updateHar (http://ericduran.github.io/chromeHAR/js/controllers.js:97:9)
at http://ericduran.github.io/chromeHAR/js/controllers.js:271:20
at Object.g.$eval (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js:104:502)
at Object.g.$apply (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0rc1/angular.min.js:105:102)
at FileReader.reader.onload (http://ericduran.github.io/chromeHAR/js/controllers.js:270:18)
So I had a look into the code in line 99 of controllers.js and it is calling:
pages[0].startedDateTimeI had a look into the HAR file then and I've seen that the pages are an empty array:
"pages": [],
I could reproduce it on some different devices. Maybe it's not empty for all devices, but it was for the devices I tested.
Metadata
Metadata
Assignees
Labels
No labels