DocumentSubresourceFilter::allowLoad currently reports a resource was filtered (via the first_disallowed_load_callback_) for all types of loads, including preloads. Since preloads do not affect the state of the document we should avoid reporting filtering for preloads.
This requires a change to the WebDocumentSubresourceFilter API, separating out whether a resource should be filtered (a method that returns a filtering policy) from reporting that an actual document resource was filtered (a method indicating that a document resource was filtered as a result of subresource filter policy).
Comment 1 by bugdroid1@chromium.org
, Feb 7 2017