New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 717626 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Out until 24 Jan
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug


Show other hotlists

Hotlists containing this issue:
plz-navigate-blockers


Sign in to add a comment

Navigations to hosted app resources not blocked in PlzNavigate

Project Member Reported by nick@chromium.org, May 2 2017

Issue description

1. Open chrome canary, ensure that browser-side navigation is running (c68ab9a3-6edc92c7 should appear on about:version).
2. Open a new tab and navigate it to the manifest of a hosted app ('chrome-extension://apdfllckaahabafndbhieahigkjlhalf/manifest.json' if you have the Google Sheets app installed, which you probably do).
3. The bug is that this page loads successfully, but has its URL rewritten to chrome-extension://invalid/

This does not happen without PlzNavigate -- it is blocked from loading there.

It looks like what's happening is that the URL is rewritten after PlzNavigate has decided that this navigation is okay: bool ChromeExtensionsRendererClient::WillSendRequest().

This should probably be addressed in the ExtensionNavigationThrottle
 

Comment 1 by nasko@chromium.org, May 11 2017

Status: Started (was: Assigned)
I have written a test for this. For the fix, it depends on some refactoring of ExtensionNavigationThrottle nick@ is working on, so I will wait for that to land to base the fix on it. It is close to a one liner fix. https://codereview.chromium.org/2875493002/

Comment 3 by nasko@chromium.org, May 26 2017

Status: Fixed (was: Started)

Sign in to add a comment