New issue
Advanced search Search tips

Issue 891328 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Not all subresource loads are blocked due to late mojom message arrival

Project Member Reported by tbansal@chromium.org, Oct 2

Issue description

The browser process sends the resource loading hints to the render process at the time of Navigation finish (https://cs.chromium.org/chromium/src/chrome/browser/previews/resource_loading_hints/resource_loading_hints_web_contents_observer.cc?rcl=4fe547befb93a2a29889788c85de80a34656b4a3&l=37).

However, that may be a bit too late to capture loading of all subresources. It's possible that the renderer may have already loaded some of the subresources that were meant to be blocked. 

We should add an additional path to send the hints as soon as the commit happens on the render side.  Approac in https://cs.chromium.org/chromium/src/components/subresource_filter/content/renderer/subresource_filter_agent.cc?rcl=d1c8127a71843a422e1a62ecd2c5b0f09a3dfb3e&l=70 looks promising.
 
Summary: Not all subresource loads are blocked due to late mojom message arrival (was: Not all subresource loads are blocked)
Refreshed during triage.
Labels: -Pri-2 Pri-3
Refreshed during triage.

Comment 4 by tbansal@chromium.org, Jan 18 (4 days ago)

Labels: -Pri-3 -M-71 M-74 Pri-2

Sign in to add a comment