WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186471
MediaTrackCapabilities.deviceId and groupId are not hashed.
https://bugs.webkit.org/show_bug.cgi?id=186471
Summary
MediaTrackCapabilities.deviceId and groupId are not hashed.
jianjun.zhu
Reported
2018-06-10 01:49:06 PDT
MediaTrackCapabilities.deviceId and groupId are not hashed.
Attachments
Patch
(3.99 KB, patch)
2018-06-10 01:52 PDT
,
jianjun.zhu
no flags
Details
Formatted Diff
Diff
Patch
(7.28 KB, patch)
2018-06-10 23:33 PDT
,
jianjun.zhu
no flags
Details
Formatted Diff
Diff
Patch
(7.29 KB, patch)
2018-06-11 18:54 PDT
,
jianjun.zhu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
jianjun.zhu
Comment 1
2018-06-10 01:52:03 PDT
Created
attachment 342381
[details]
Patch
youenn fablet
Comment 2
2018-06-10 08:26:40 PDT
Can we add a tes validating that track ids match enuerateDevice ids?
jianjun.zhu
Comment 3
2018-06-10 09:00:35 PDT
(In reply to youenn fablet from
comment #2
)
> Can we add a tes validating that track ids match enuerateDevice ids?
I'll try to add an assertion to MediaStreamTrack-getCapabilities.html.
jianjun.zhu
Comment 4
2018-06-10 23:33:07 PDT
Created
attachment 342412
[details]
Patch
Eric Carlson
Comment 5
2018-06-11 09:04:26 PDT
Comment on
attachment 342412
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=342412&action=review
Thank you for the fix!
> LayoutTests/fast/mediastream/MediaStreamTrack-getCapabilities.html:47 > + if(trackKind !== 'audio' && trackKind !== 'video')
Nit: tests typically have a space between "if" and "("
> LayoutTests/fast/mediastream/MediaStreamTrack-getCapabilities.html:51 > + if(deviceInfo.deviceId === deviceId && deviceInfo.kind === deviceKind) {
Ditto.
> LayoutTests/fast/mediastream/MediaStreamTrack-getCapabilities.html:89 > + },e => {
Nit: missing a space between "," and "e"
jianjun.zhu
Comment 6
2018-06-11 18:54:57 PDT
Created
attachment 342500
[details]
Patch
Eric Carlson
Comment 7
2018-06-12 07:58:44 PDT
Comment on
attachment 342500
[details]
Patch r=me
Eric Carlson
Comment 8
2018-06-12 08:02:30 PDT
Jianjun - for future reference, a patch doesn't *need* another review once a reviewer give it an "r+". Replace "NOBODY (OOPS!)" with the reviewer's name before you upload the revised patch, mark it "cq?" and any committer can mark it "cq+"
WebKit Commit Bot
Comment 9
2018-06-12 08:28:20 PDT
Comment on
attachment 342500
[details]
Patch Clearing flags on attachment: 342500 Committed
r232754
: <
https://trac.webkit.org/changeset/232754
>
WebKit Commit Bot
Comment 10
2018-06-12 08:28:22 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 11
2018-06-12 08:29:20 PDT
<
rdar://problem/41046888
>
jianjun.zhu
Comment 12
2018-06-12 08:58:23 PDT
Eric, thanks for reviewing the patch and letting me know the review process.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug