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

Issue 636181 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Improve debuggability of Mojo bindings issues in WebUI

Project Member Reported by reillyg@chromium.org, Aug 10 2016

Issue description

What steps will reproduce the problem?
(1) Modify omnibox.js to introduce a typo in one of the Mojo module paths.
(2) Navigate to chrome://omnibox.

What is the expected output?
Some sort of resource loading error indicating which resource failed to load.

What do you see instead?
"Uncaught SyntaxError: Unexpected token <", source:  (1)

The issue is that because WebUI pages have their default resource set to their main HTML page any missing resource instead loads the HTML page. The resulting messages are not helpful in deducing the error.
 

Comment 1 by jam@chromium.org, Aug 10 2016

Cc: roc...@chromium.org sky@chromium.org yzshen@chromium.org
Labels: -Pri-3 Pri-2
Cc: -roc...@chromium.org rockot@google.com
Status: WontFix (was: Untriaged)
No longer an issue AFAICT. I think this must have been referring to the old AMD-style module loading which is no longer in use.

Sign in to add a comment