Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Why is Firefox HAR data page timings for onContentLoad and onLoad equal to -1

  • 3 답장
  • 1 이 문제를 만남
  • 3 보기
  • 최종 답변자: Shadow110

more options

I'm testing the network performance of my website and I need to export a few samples of it. From the Firefox Dev Tools, I can "Save All As HAR", but viewing the contents the page timings is wrong.

Here is a sample of the HAR file and I am using Firefox 54.0.1:

   "pages": [
     {
       "startedDateTime": "2017-07-22T14:47:49.001+01:00",
       "id": "page_6",
       "title": "Mid-Latency",
       "pageTimings": {
         "onContentLoad": -1,
         "onLoad": -1
       }
     }
   ],

1. Why is the pageTimings = -1 and not (for example) 500ms? 2. Where is the waterfall data of each resources and timings?

I'm testing the network performance of my website and I need to export a few samples of it. From the Firefox Dev Tools, I can "Save All As HAR", but viewing the contents the page timings is wrong. Here is a sample of the HAR file and I am using Firefox 54.0.1: "pages": [ { "startedDateTime": "2017-07-22T14:47:49.001+01:00", "id": "page_6", "title": "Mid-Latency", "pageTimings": { "onContentLoad": -1, "onLoad": -1 } } ], 1. Why is the pageTimings = -1 and not (for example) 500ms? 2. Where is the waterfall data of each resources and timings?

선택된 해결법

It seems to be a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1174091

An alternative solution of getting the onLoad I've found, is to get the difference between the startedDateTime and add the last entry "time".

Not sure why this is the case, but I guess it will have to do. Can I get this closed?

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (3)

more options
more options

선택된 해결법

It seems to be a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1174091

An alternative solution of getting the onLoad I've found, is to get the difference between the startedDateTime and add the last entry "time".

Not sure why this is the case, but I guess it will have to do. Can I get this closed?

more options

Yes you can. Mark your reply as solved/helpful or..

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily. Thank you for contacting Mozilla Support.