New issue
Advanced search Search tips

Issue 828174 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[MD Extensions] Runtime error thrown when visiting chrome://extensions/foo/bar.html

Project Member Reported by dpa...@chromium.org, Apr 2 2018

Issue description

This is happening only with optimize_webui = true, and it is caused by invalid URL being requested (see screenshot).

The fix is to specify a <base> path (similar to other WebUIs), see https://chromium-review.googlesource.com/c/chromium/src/+/991083.
 
runtime_error.png
10.6 KB View Download
request_path_wrong.png
16.1 KB View Download
Description: Show this description
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 3 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9741ff8ea55767f220ab17dafbb5f7c01b2ace41

commit 9741ff8ea55767f220ab17dafbb5f7c01b2ace41
Author: dpapad <dpapad@chromium.org>
Date: Tue Apr 03 00:52:48 2018

MD Extensions: Specify <base href=...> in final bundled HTML file.

With this change, the user is correctly forwarded to chrome://extensions, if an
invalid URL is entered, for example chrome://extensions/foo/bar.html.

Bug:  828174 
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I18598c6b3367bcb972efda64bf56cdd1496f2ed7
Reviewed-on: https://chromium-review.googlesource.com/991083
Reviewed-by: Hector Carmona <hcarmona@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547587}
[modify] https://crrev.com/9741ff8ea55767f220ab17dafbb5f7c01b2ace41/chrome/browser/resources/md_extensions/BUILD.gn

Status: Fixed (was: Started)
Labels: TE-Verified-M67 TE-Verified-67.0.3387.0
Able to reproduce this issue on Windows 10, Mac OS 10.12.6 and Ubuntu 14.04 on the previous chrome builds and the issue is fixed on the latest Canary 67.0.3387.0.

On navigating to a invalid URL chrome://extensions/foo/bar.html, getting forwarded to chrome://extensions page.
Attached is the screen cast for reference.

Hence adding TE verified labels as the fix is working as intended.

Thanks..
828174-M67.mp4
639 KB View Download

Sign in to add a comment