-
tommyw@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=86210 Reviewed by Abhishek Arya. .: * ManualTests/user-media-request-crash.html: Added. Source/WebCore: When contextDestroyed() is called on UserMediaRequest it does a callback to the page client. If the receiving code clears their stored copy the UserMediaRequest object is destroyed in the middle of the call. Currently only testable manually against chrome, preferably with asan turned on. I have added a manual test that verifies the fix, but I have started work to make DumpRenderTree able to test this and many other things. The first patch is here: https://bugs.webkit.org/show_bug.cgi?id=86215 * Modules/mediastream/UserMediaRequest.cpp: (WebCore::UserMediaRequest::contextDestroyed): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
47b3860c