This is used to stop a registration from claiming a provider host while it's undergoing its main resource request. But it should be sufficient to use is_execution_ready_ for that.
Unfortunately there is still some trickiness with shared workers (before NetS13nSW) and about:blank iframes, since they initialize with is_execution_ready_ to true.
We can revisit after NetS13nSW.
The current implementation is also probably buggy, since we SetAllowAssociation(true) in between PrepareForMainResource calls. This probably means a registration can claim a provider host during a redirect.
Comment 1 by bugdroid1@chromium.org
, Jul 23