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

Issue 769894 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Chrome extension desktopCapture for tabs regression

Reported by chad.r...@gmail.com, Sep 28 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36

Steps to reproduce the problem:
1. Extract the ZIP

2. Run the following:

path\to\chrome.exe --user-data-dir=tmp --load-extension="path\to\tab-capture-fail" "https://www.youtube.com/embed/0vrdgDdPApQ?autoplay=0&modestbranding=1&showinfo=0&controls=0"

3. Click play in the center

4. Double click "pickme" tab

5. Open the chrome://extensions, enable developer mode, view the background page of the extension, and check the console in dev tools

6. Confirm that in Chrome 63.0.3223.8 this fails with the following:

  Uncaught DOMException: Failed to execute 'start' on 'MediaRecorder': The MediaRecorder failed to start because there are no audio or video tracks available.
    at navigator.webkitGetUserMedia.stream (chrome-extension://nnmhnpehbnnngbnpionddbmldicfgbfh/background.js:42:17)

but it does not happen in, e.g. Chromium 63.0.3205.0. Instead it prints "Got data N" (where N is the number of bytes) every 8 seconds

What is the expected behavior?
Expect newest dev chrome to succeed like the other one did.

What went wrong?
Not sure. I use puppeteer (with headless as false) and the version it had at 63.0.3205.0 let you record tabs, but my dev channel browser at 63.0.3223.8 fails when trying to record tabs.

Note, if you try to record audio at the same time, the recorder start succeeds but only gives audio data of course.

Did this work before? Yes 63.0.3205.0

Does this work in other browsers? N/A

Chrome version: 63.0.3223.8  Channel: dev
OS Version: 6.3
Flash Version: 

What changed recently to break tab recording?
 
tab-capture-fail.zip
2.4 KB Download

Comment 1 by woxxom@gmail.com, Sep 28 2017

Bisect info: 503485 (good) - 503491 (bad)
https://chromium.googlesource.com/chromium/src/+log/c81b2754..6a8d2a72?pretty=fuller
Suspecting r503491 "[Desktop Capture] Enable system audio capture without screen capture"
Landed in 63.0.3222.0

Comment 2 by mfo...@chromium.org, Sep 28 2017

Owner: mfo...@chromium.org
I can take a look, but I'm travelling for the rest of the week.

Comment 3 by guidou@chromium.org, Sep 29 2017

Status: Assigned (was: Unconfirmed)
Changed status to assigned, since there is an owner.
Cc: sc00335...@techmahindra.com
Labels: -Pri-2 ReleaseBlock-Stable Triaged-ET M-63 hasbisect Pri-1
Observations:
===========
1.Able to reproduce this issue on windows with steps in comment #0.
2.Unable to reproduce this issue on Ubuntu 14.04. Attaching console output screenshot.
3.Unable to launch chrome in Mac 10.12.6 with step2 mentioned in comment #0


@mfoltz: Please confirm the bug and help in re-assigning if it is not related to your change.

Adding RB-Stable as this is a recent regression. Please free to remove if not the case.
Issue 769894.png
184 KB View Download

Comment 5 by mfo...@chromium.org, Sep 29 2017

Status: Fixed (was: Assigned)
I reverted the suspected patch in r505397.

Sign in to add a comment