search

Home  >  Q&A  >  body text

javascript - ios navgationTiming's responseStart > responseEnd? What causes it?

  1. Just like the title.
    Scenario: When the iOS webview frequently switches pages, responseStart > responseEnd will occur

Visit: http://xw.qq.com/index.htm

{
    "navigationStart": 1498131593687,
    "redirectStart": 0,
    "redirectEnd": 0,
    "fetchStart": 1498131593687,
    "domainLookupStart": 1498131593702,
    "domainLookupEnd": 1498131593707,
    "connectStart": 1498131593714,
    "secureConnectionStart": 1498131593731,
    "connectEnd": 1498131593731,
    "requestStart": 1498131593733,
    "responseStart": 1498131593740,
    "responseEnd": 1498131587076,
    "unloadEventStart": 0,
    "unloadEventEnd": 0,
    "domLoading": 1498131593713,
    "domInteractive": 1498131593890,
    "domContentLoadedEventStart": 1498131593890,
    "domContentLoadedEventEnd": 1498131593894,
    "domComplete": 1498131594897,
    "loadEventStart": 1498131594899,
    "loadEventEnd": 1498131594901,
    "pageTime": 1498131596323
}
欧阳克欧阳克2717 days ago694

reply all(1)I'll reply

  • 为情所困

    为情所困2017-06-26 10:55:02

    I really haven’t noticed this situation. I just read the specification and it doesn’t look like a normal situation. I suspect it is an implementation bug of webview.
    Please elaborate on the reproduction steps: If it can be reproduced frequently, submit a bug to iOS~

    reply
    0
  • Cancelreply