What does status=canceled for a resource mean in Chrome Developer Tools?

前端 未结 30 1968
温柔的废话
温柔的废话 2020-11-22 11:13

What would cause a page to be canceled? I have a screenshot of the Chrome Developer Tools.

\"Canceled

30条回答
  •  执念已碎
    2020-11-22 11:39

    Chrome Version 33.0.1750.154 m consistently cancels image loads if I am using the Mobile Emulation pointed at my localhost; specifically with User Agent spoofing on (vs. just Screen settings).

    When I turn User Agent spoofing off; image requests aren't canceled, I see the images.

    I still don't understand why; in the former case, where the request is cancelled the Request Headers (CAUTION: Provisional headers are shown) have only

    • Accept
    • Cache-Control
    • Pragma
    • Referer
    • User-Agent

    In the latter case, all of those plus others like:

    • Cookie
    • Connection
    • Host
    • Accept-Encoding
    • Accept-Language

    Shrug

提交回复
热议问题