Source/WebKit/mac: <rdar://problem/
10523721> Crash at WebCore::SubresourceLoader::releaseResources
Reviewed by Darin Adler.
* WebView/WebView.mm:
(-[WebView _removeObjectForIdentifier:]): Changed the CFRelease(self) into
a WebCFAutorelease(self). This prevents re-entry into this method due to
the WebView closing and canceling all subresource loads, including the
one we have just removed.
Tools: Added a test for <rdar://problem/
10523721> Crash at WebCore::SubresourceLoader::releaseResources
Reviewed by Darin Adler.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/SubresourceErrorCrash.mm: Added.
(TestWebKitAPI::TEST):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@101939
268f45cc-cd09-0410-ab3c-
d52691b4dbfc