WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
165711
[MediaStream] Protect MediaDevicesRequest during callback
https://bugs.webkit.org/show_bug.cgi?id=165711
Summary
[MediaStream] Protect MediaDevicesRequest during callback
Eric Carlson
Reported
2016-12-09 18:44:03 PST
Protect the MediaDevicesRequest object during a call to the completion handler in case the handler is called immediately.
Attachments
Proposed patch.
(2.33 MB, patch)
2016-12-09 18:52 PST
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Patch for landing.
(1.47 KB, patch)
2016-12-10 10:50 PST
,
Eric Carlson
sam
: review+
Details
Formatted Diff
Diff
Patch for landing.
(1.45 KB, patch)
2016-12-11 13:31 PST
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2016-12-09 18:45:22 PST
<
rdar://problem/28400468
>
Eric Carlson
Comment 2
2016-12-09 18:52:11 PST
Created
attachment 296764
[details]
Proposed patch.
Eric Carlson
Comment 3
2016-12-10 10:50:12 PST
Created
attachment 296808
[details]
Patch for landing.
Sam Weinig
Comment 4
2016-12-10 12:22:53 PST
Comment on
attachment 296808
[details]
Patch for landing. View in context:
https://bugs.webkit.org/attachment.cgi?id=296808&action=review
> Source/WebCore/Modules/mediastream/MediaDevicesEnumerationRequest.cpp:91 > + RefPtr<MediaDevicesEnumerationRequest> protectedThis = this;
I prefer Ref<MediaDevicesEnumerationRequest> protectedThis(*this) where possible.
Eric Carlson
Comment 5
2016-12-11 13:31:14 PST
Created
attachment 296873
[details]
Patch for landing.
WebKit Commit Bot
Comment 6
2016-12-11 14:08:37 PST
Comment on
attachment 296873
[details]
Patch for landing. Clearing flags on attachment: 296873 Committed
r209685
: <
http://trac.webkit.org/changeset/209685
>
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