Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Issue 2198123002: RTCPeerConnection.getStats gets LegacyInterfaceTypeChecking. (Closed)

Created:
4 years, 4 months ago by hbos_chromium
Modified:
4 years, 4 months ago
Reviewers:
Guido Urdaneta, foolip
CC:
chromium-reviews, blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RTCPeerConnection.getStats gets LegacyInterfaceTypeChecking. This tag was removed in https://codereview.chromium.org/2156063002/ which caused a regression (crbug.com/632457). This CL re-adds it to solve that regression. The generated bindings code is able to call the correct overloaded getStats function with or without it. LegacyInterfaceTypeChecking means any (nonsense) argument can be passed as the second parameter and if its not a MediaStreamTrack it is interpreted as null. This was something adapter.js relied on. BUG=632457, 627816 Committed: https://crrev.com/7a4e83b57886f79649c47c8f3476ac961f291d07 Cr-Commit-Position: refs/heads/master@{#409167}

Patch Set 1 #

Patch Set 2 : Silly argument test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-stats.html View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-stats-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
hbos_chromium
Please take a look, foolip and guidou.
4 years, 4 months ago (2016-08-01 16:16:56 UTC) #5
foolip
lgtm, but can you diff the generated code to make sure there's no difference in ...
4 years, 4 months ago (2016-08-01 16:42:30 UTC) #6
Guido Urdaneta
lgtm % foolip's comments
4 years, 4 months ago (2016-08-01 17:03:22 UTC) #7
hbos_chromium
On 2016/08/01 16:42:30, foolip wrote: > lgtm, but can you diff the generated code to ...
4 years, 4 months ago (2016-08-02 08:54:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2198123002/20001
4 years, 4 months ago (2016-08-02 08:55:23 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-02 10:38:34 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 10:39:48 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7a4e83b57886f79649c47c8f3476ac961f291d07
Cr-Commit-Position: refs/heads/master@{#409167}

Powered by Google App Engine
This is Rietveld 408576698