MediaStream and MediaStreamTrack should unregister from Document in their stop methods
Created attachment 329721 [details] Patch
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
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 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
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
Created attachment 329801 [details] Patch
Created attachment 329871 [details] Rebasing
Comment on attachment 329871 [details] Rebasing Clearing flags on attachment: 329871 Committed r226171: <https://trac.webkit.org/changeset/226171>
All reviewed patches have been landed. Closing bug.
<rdar://problem/36147248>