Bug 180962

Summary: UserMediaRequest should stop a request when Document is being stopped
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, ews-watchlist, rniwa, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews106 for mac-elcapitan-wk2
none
Archive of layout-test-results from ews125 for ios-simulator-wk2
none
Patch
none
Rebasing none

Description youenn fablet 2017-12-18 18:28:54 PST
MediaStream and MediaStreamTrack should unregister from Document in their stop methods
Comment 1 youenn fablet 2017-12-18 18:30:07 PST
Created attachment 329721 [details]
Patch
Comment 2 EWS Watchlist 2017-12-18 19:37:37 PST
Comment on attachment 329721 [details]
Patch

Attachment 329721 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/5738257

New failing tests:
webrtc/video.html
webrtc/video-autoplay.html
fast/mediastream/media-stream-track-muted.html
fast/mediastream/media-stream-track-source-failure.html
webrtc/getUserMedia-webaudio-autoplay.html
Comment 3 EWS Watchlist 2017-12-18 19:37:38 PST
Created attachment 329728 [details]
Archive of layout-test-results from ews106 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 4 EWS Watchlist 2017-12-18 19:45:44 PST
Comment on attachment 329721 [details]
Patch

Attachment 329721 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/5738171

New failing tests:
webrtc/video.html
webrtc/video-autoplay.html
platform/ios/mediastream/video-muted-in-background-tab.html
webrtc/getUserMedia-webaudio-autoplay.html
Comment 5 EWS Watchlist 2017-12-18 19:45:45 PST
Created attachment 329730 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125  Port: ios-simulator-wk2  Platform: Mac OS X 10.12.6
Comment 6 youenn fablet 2017-12-19 13:02:29 PST
Created attachment 329801 [details]
Patch
Comment 7 youenn fablet 2017-12-19 18:43:20 PST
Created attachment 329871 [details]
Rebasing
Comment 8 WebKit Commit Bot 2017-12-19 19:17:28 PST
Comment on attachment 329871 [details]
Rebasing

Clearing flags on attachment: 329871

Committed r226171: <https://trac.webkit.org/changeset/226171>
Comment 9 WebKit Commit Bot 2017-12-19 19:17:30 PST
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2017-12-19 19:20:46 PST
<rdar://problem/36147248>