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

Issue 762807 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Youtube reports errors happening in "chrome-extension://invalid/"

Reported by khym.cha...@gmail.com, Sep 7 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36

Example URL:
https://www.youtube.com/watch?v=T1Q1_6G0Nrk

Steps to reproduce the problem:
1. Go to the given URL
2. Check the console output under developer tools

What is the expected behavior?
YouTube doesn't display any errors.

What went wrong?
YouTube displays some errors.  If developer tools is closed when the page is loaded all of the errors will say:

> Failed to load resource: net::ERR_FAILED chrome-extension://invalid/

If developers tools is open when the page is loaded some will say:

> GET chrome-extension://invalid/ net::ERR_FAILED chrome-extension://invalid/:1

While others will say:

> GET chrome-extension://invalid/ net::ERR_FAILED remote.js:10

The ones that talk about "remote.js" point to https://www.youtube.com/yts/jsbin/player-en_US-vflqWLuCq/remote.js

Does it occur on multiple sites: No

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 61.0.3163.79  Channel: stable
OS Version: Fedora 25
Flash Version: Shockwave Flash 26.0 r0

* Bug still present if extensions disabled.
* Bug still present if experiments disabled.
* Bug still present if tried in an incognito window, but the error changes from net::ERR_FAILED to net::ERR_BLOCKED_BY_CLIENT
* Bug also present in Chrome unstable (v 62.0.3202.9)
 

Comment 1 by ajha@chromium.org, Sep 8 2017

Labels: Needs-Triage-M61
Components: Platform>DevTools
Labels: -Type-Compat M-63 OS-Windows Type-Bug
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Win-10 and Ubuntu 14.04 using chrome reported version #61.0.3163.79 and latest canary #63.0.3212.0.
Issue is not seen on OS-Mac.

This is a non-regression issue as it is observed from M50 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Components: -Platform>DevTools Internals>Cast>API
This is a Chromecast bug, as far as i can tell.

Comment 4 by sko...@chromium.org, Sep 11 2017

Cc: zivh@google.com
Labels: Needs-Feedback
zivh@ - Can you take a look at this?  Derek thinks it may be caused by trying to load from e.g. dev versions of the component extension that don't exist.

Comment 5 by zivh@google.com, Sep 12 2017

I am not sure what is Derek referring to.
You tube does not use our bootstrap receiver, they embed it in the page.
I couldn't recreate, and I am not really sure where the error come from.
Cc: imch...@chromium.org
I did a little bit more digging and found that the URL is generated by Chrome under certain conditions, such as when the extension requested by the page does not exist [1].

The bootstrap script tries a few extension IDs belonging to MR extension on different channels (stable, dev, etc.) in order to probe for the extension to load cast_sender.js from. 

Normally on Chrome this should load successfully, unless --load-media-router-component-extension is disabled, or the extension isn't loaded for other reasons (e.g., Media Router disabled by policy, or extensions is disabled).

Another point is that if the MR extension needs to be downloaded for the first time / updated from CWS, then it might take a bit of time before the extension becomes available after startup.

khym.chanur@: could you please check if the MR extension might be disabled due to the points above?

[1] https://cs.chromium.org/chromium/src/chrome/renderer/extensions/chrome_extensions_renderer_client.cc?type=cs&l=233
> Media Router disabled by policy

Yeah, that's what's happened.  I have set a policy to disable media router so as to remove the "Cast..." entry from the context menu.
Status: WontFix (was: Untriaged)
Since MR extension is disabled, the probing logic in the bootstrap script would generate these error messages. Marking as WontFix since this is working as intended. 

Sign in to add a comment