Skip to content

Revert of Remove |remote| and |readonly| members of MediaStreamTrack. (patchset #5 id:80001 of https://codereview.chromium.org/2723433002/ ) #5214

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-ad1bc7494f
Mar 23, 2017
Merged

Revert of Remove |remote| and |readonly| members of MediaStreamTrack. (patchset #5 id:80001 of https://codereview.chromium.org/2723433002/ ) #5214
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-ad1bc7494f

Conversation

@jeffcarp
Copy link
Contributor

Reason for revert:
Temporarily reverting this CL because it causes a perf regression. See http://crbug.com/703605.

Will reland once we understand why the regression occurred.

Original issue's description:

Remove |remote| and |readonly| members of MediaStreamTrack.

Spec reference:
http://w3c.github.io/mediacapture-main/getusermedia.html#attributes-1

removal was in the February 22, 2016'.
[#321] Remove track attributes "remote" and "readonly" :
w3c/mediacapture-main#321

Intent to Deprecate and Remove :
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/d20ECb2sWzI

BUG=598704

Review-Url: https://codereview.chromium.org/2723433002
Cr-Commit-Position: refs/heads/master@{#456639}
Committed: https://chromium.googlesource.com/chromium/src/+/27c39dbef0b07b7cd62fb2476d0f0836115fe672

TBR=tkent@chromium.org,aelias@chromium.org,alexmos@chromium.org,bbudge@chromium.org,dpranke@chromium.org,drott@chromium.org,esprehn@chromium.org,haraken@chromium.org,hongchan@chromium.org,hta@chromium.org,mcasas@chromium.org,mkwst@chromium.org,peter@chromium.org,rdevlin.cronin@chromium.org,sergeyu@chromium.org,peary2@gmail.com

Not skipping CQ checks because original CL landed more than 1 days ago.

BUG=598704

Review-Url: https://codereview.chromium.org/2767963002
Cr-Commit-Position: refs/heads/master@{#459096}

… (patchset #5 id:80001 of https://codereview.chromium.org/2723433002/ )

Reason for revert:
Temporarily reverting this CL because it causes a perf regression. See http://crbug.com/703605.

Will reland once we understand why the regression occurred.

Original issue's description:
> Remove |remote| and |readonly| members of MediaStreamTrack.
>
> Spec reference:
> http://w3c.github.io/mediacapture-main/getusermedia.html#attributes-1
>
> removal was in the February 22, 2016'.
> [#321] Remove track attributes "remote" and "readonly" :
> w3c/mediacapture-main#321
>
> Intent to Deprecate and Remove :
> https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/d20ECb2sWzI
>
> BUG=598704
>
> Review-Url: https://codereview.chromium.org/2723433002
> Cr-Commit-Position: refs/heads/master@{#456639}
> Committed: https://chromium.googlesource.com/chromium/src/+/27c39dbef0b07b7cd62fb2476d0f0836115fe672

TBR=tkent@chromium.org,aelias@chromium.org,alexmos@chromium.org,bbudge@chromium.org,dpranke@chromium.org,drott@chromium.org,esprehn@chromium.org,haraken@chromium.org,hongchan@chromium.org,hta@chromium.org,mcasas@chromium.org,mkwst@chromium.org,peter@chromium.org,rdevlin.cronin@chromium.org,sergeyu@chromium.org,peary2@gmail.com
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=598704

Review-Url: https://codereview.chromium.org/2767963002
Cr-Commit-Position: refs/heads/master@{#459096}
@wpt-pr-bot
Copy link
Collaborator

@alvestrand
Copy link
Contributor

We shouldn't do this.
The tests test adherence to the spec, and the spec hasn't changed.
Let'em fail.

Copy link
Contributor

@alvestrand alvestrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is inappropriate.

@alvestrand
Copy link
Contributor

Background: Chrome had to revert the removal of these attributes (temporarily).
The test was changed because presence of those attributes were checked in the test.
They shouldn't be checked; the spec doesn't have them any more.
So the test should stay the way it is.
Since IDL tests allow extra attributes on objects, it won't start failing.

@ghost
Copy link

ghost commented Mar 23, 2017

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision a5e444f
Using browser at version BuildID 20170322110306; SourceStamp 201231223cd4354a450c3e5d80959f35b8e4cf0c
Starting 10 test iterations
All results were stable

All results

1 test ran
/mediacapture-streams/MediaStreamTrack-init.https.html
Subtest Results Messages
OK
Tests that the video MediaStreamTrack objects are properly initialized FAIL navigator.getUserMedia is not a function

@ghost
Copy link

ghost commented Mar 23, 2017

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision a5e444f
Using browser at version 59.0.3047.0 dev
Starting 10 test iterations
All results were stable

All results

1 test ran
/mediacapture-streams/MediaStreamTrack-init.https.html
Subtest Results Messages
TIMEOUT
Tests that the video MediaStreamTrack objects are properly initialized TIMEOUT Test timed out

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 063235b into master Mar 23, 2017
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-ad1bc7494f branch March 23, 2017 23:49
@jeffcarp
Copy link
Contributor Author

@alvestrand thanks for catching this - looks like the exporter merged this automatically so I'll revert and keep this from being PR'd again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants