New issue
Advanced search Search tips

Issue 672456 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

getUserMedia() does not work on localhost websites

Reported by subins2...@gmail.com, Dec 8 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Create a localhost website ( http://subinsb.com/ubuntu-linux-create-localhost-website )
2. Make an HTML file that uses getUserMedia() JS function
3. Open the localhost website : http://mysite.sim/record.html

What is the expected behavior?
getUserMedia() should work

What went wrong?
Chromium is not checking the IP address of domain to see if it's localhost. It just checks the domain.

I humbly suggest checking the IP instead of domain to see if it's localhost.

Did this work before? No 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 53.0.2785.143  Channel: stable
OS Version: Ubuntu 16.04
Flash Version: Shockwave Flash 11.2 r999

For testing my localhost projects, I use localhost domain names. It would be a great feature if stuff that works on http://localhost should also work on other localhost domains.
 

Comment 1 by ajha@chromium.org, Dec 12 2016

Labels: M-57

Comment 2 by hdodda@chromium.org, Dec 19 2016

Labels: TE-NeedsTriageHelp
Components: -Internals>Media Blink>GetUserMedia

Comment 4 by guidou@chromium.org, Jan 25 2017

Owner: guidou@chromium.org
Status: Assigned (was: Unconfirmed)
Status: WontFix (was: Assigned)
This is WAI. Chromium checks domains.

Sign in to add a comment