Bug 1746324 Comment 17 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Diagnosis of what the error message means:

* 103 early hint with one image followed by 200 status code
  * [/netwerk/test/browser/browser_103_telemetry.js#33](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/test/browser/browser_103_telemetry.js#33):
    * Expected one 200 response with one hint recorded there
    * found one response with zero hints recorded instead [/netwerk/protocol/http/EarlyHintsService.cpp#82-85](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/protocol/http/EarlyHintsService.cpp#82-85)
  * [/netwerk/test/browser/browser_103_telemetry.js#34](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/test/browser/browser_103_telemetry.js#34):
    * Because no early hint response was sent??/propagated to EarlyHintsServie, EH_NUM_OF_HINTS_PER_PAGE ([/netwerk/protocol/http/EarlyHintsService.cpp#86-88](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/protocol/http/EarlyHintsService.cpp#86-88)) never gets increased
Diagnosis of what the error message means:

* 103 early hint with one image followed by 200 status code
  * [/netwerk/test/browser/browser_103_telemetry.js#33](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/test/browser/browser_103_telemetry.js#33):
    * Expected one 200 response with one hint recorded there
    * found one response with zero hints recorded instead [/netwerk/protocol/http/EarlyHintsService.cpp#82-85](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/protocol/http/EarlyHintsService.cpp#82-85)
  * [/netwerk/test/browser/browser_103_telemetry.js#34](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/test/browser/browser_103_telemetry.js#34):
    * Because no early hint response was sent??/propagated to EarlyHintsServie, EH_NUM_OF_HINTS_PER_PAGE ([/netwerk/protocol/http/EarlyHintsService.cpp#86-88](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/protocol/http/EarlyHintsService.cpp#86-88)) never gets increased

* 103 early hint with one image followed by 404 page, which doesn't include that image.
  * [/netwerk/test/browser/browser_103_telemetry.js#92](https://searchfox.org/mozilla-central/rev/1c391443f770eddc7cde9e52dba5ef50cc233c06/netwerk/test/browser/browser_103_telemetry.js#92)
    * No early hints (with a follow up 200 status code) recorded as expected (one line earlyier)
    * No early hint with final response of main page with status 4xx recorded, but also no early hint at all recorded
Diagnosis of what the error message means:

* 103 early hint with one image followed by 200 status code
  * [/netwerk/test/browser/browser_103_telemetry.js#33](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/test/browser/browser_103_telemetry.js#33):
    * Expected one 200 response with one hint recorded there
    * found one response with zero hints recorded instead [/netwerk/protocol/http/EarlyHintsService.cpp#82-85](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/protocol/http/EarlyHintsService.cpp#82-85)
  * [/netwerk/test/browser/browser_103_telemetry.js#34](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/test/browser/browser_103_telemetry.js#34):
    * Because no early hint response was sent??/propagated to EarlyHintsServie, EH_NUM_OF_HINTS_PER_PAGE ([/netwerk/protocol/http/EarlyHintsService.cpp#86-88](https://searchfox.org/mozilla-central/rev/70cf6863bd85af2a3188ec1fe5209a3ec1b2de86/netwerk/protocol/http/EarlyHintsService.cpp#86-88)) never gets increased

* 103 early hint with one image followed by 404 page, which doesn't include that image.
  * [/netwerk/test/browser/browser_103_telemetry.js#92](https://searchfox.org/mozilla-central/rev/1c391443f770eddc7cde9e52dba5ef50cc233c06/netwerk/test/browser/browser_103_telemetry.js#92)
    * No early hints (with a follow up 200 status code) recorded as expected (one line earlier)
    * No early hint with final response of main page with status 4xx recorded, but also no early hint at all recorded

Back to Bug 1746324 Comment 17