Bug 1815934 Comment 3 Edit History

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

A problem I currently have implementing checks is, that when Registering the `EarlyHintPreloader`s

https://searchfox.org/mozilla-central/rev/aa3ccd258b64abfd4c5ce56c1f512bc7f65b844c/netwerk/ipc/DocumentLoadListener.cpp#2143
```cpp
mEarlyHintsService.RegisterLinksAndGetConnectArgs(ehArgs);
```
the `ContentParent` isn't available for loads initiated in the parent:

https://searchfox.org/mozilla-central/rev/aa3ccd258b64abfd4c5ce56c1f512bc7f65b844c/netwerk/ipc/DocumentLoadListener.cpp#964-965,1019,1025

Therefore I can neither store the `EarlyHintRegistrar` in the `ContentParent` nor pass the processId of the `ContentParent` to the `EarlyHintPreloaders` for later verfication.
A problem I currently have implementing checks is, that when Registering the `EarlyHintPreloader`s

https://searchfox.org/mozilla-central/rev/aa3ccd258b64abfd4c5ce56c1f512bc7f65b844c/netwerk/ipc/DocumentLoadListener.cpp#2143
```cpp
mEarlyHintsService.RegisterLinksAndGetConnectArgs(ehArgs);
```
the `ContentParent` isn't available for loads initiated in the parent:

https://searchfox.org/mozilla-central/rev/aa3ccd258b64abfd4c5ce56c1f512bc7f65b844c/netwerk/ipc/DocumentLoadListener.cpp#964-965,1019,1025

Therefore I can neither store the `EarlyHintRegistrar` in the `ContentParent` nor pass the processId of the `ContentParent` to the `EarlyHintPreloaders` for later verfication.

Also the `mParentChannelListener->GetBrowsingContext()->OwnerProcessId() == 0` in `DocumentLoadListener` during that stage.

Back to Bug 1815934 Comment 3