Source/WebCore: Crash in CachedRawResource::didAddClient() due to missing protector.
authorjaphet@chromium.org <japhet@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2012 19:31:42 +0000 (19:31 +0000)
committerjaphet@chromium.org <japhet@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Apr 2012 19:31:42 +0000 (19:31 +0000)
commit40ddf2bc523a7d3278ed1758b876e5690dce6545
treea79d0c974f2ca3577644d7ccf481f1c1fb34aa6e
parent59e28b83039e1b59c0734501bc2e9bb6da577d55
Source/WebCore: Crash in CachedRawResource::didAddClient() due to missing protector.
https://bugs.webkit.org/show_bug.cgi?id=83632

Reviewed by Eric Seidel.

Test: http/tests/xmlhttprequest/access-control-repeated-failed-preflight-crash.html

* loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::didAddClient):

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=83632.

Reviewed by Eric Seidel.

* http/tests/xmlhttprequest/access-control-repeated-failed-preflight-crash-expected.txt: Added.
* http/tests/xmlhttprequest/access-control-repeated-failed-preflight-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/access-control-repeated-failed-preflight-crash-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/access-control-repeated-failed-preflight-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/loader/cache/CachedRawResource.cpp