WebCore:
[WebKit-https.git] / WebCore / ChangeLog
index 0928b64d857c9aaaece8673300f71bf7c69b2ec9..5ac656e3d82e9ecf2669dc8613e3e5991930ebd7 100644 (file)
@@ -1,3 +1,18 @@
+2009-03-04  David Levin  <levin@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Bug 24337: Assert when doing sync XHR in a worker for a cacheable response.
+        <https://bugs.webkit.org/show_bug.cgi?id=24337>
+
+        Tests: http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html
+               http/tests/xmlhttprequest/workers/xmlhttprequest-file-not-found.html
+
+        * loader/mac/ResourceLoaderMac.mm:
+        (WebCore::ResourceLoader::willCacheResponse):
+        An identifier is only asssigned if resource load callbacks are done.  So don't send
+        willCacheResponse which uses identifier if resource load callbacks aren't being sent.
+
 2009-03-04  David Levin  <levin@chromium.org>
 
         Reviewed by Alexey Proskuryakov.