Investigating why my application worked in FF3.1 betas and not webkit, I found that webkit was following an earlier draft of the access-control spec. The current working draft, at the URL above, makes no mention of an Access-Control-Origin header. The patch I will attach shortly is pretty much a sed -i of a bunch of files in the repo. I was able to confirm that the change fixed my application, but I couldn't figure out how to get the regression tests to run. The change is simple enough that I don't think this patch will break them (fingers crossed).
Created attachment 27673 [details] Patch to rename header across code base
Comment on attachment 27673 [details] Patch to rename header across code base There are tabs in ChangeLog, which will need to be converted to spaces. And, LayoutTests ChangeLog doesn't have an e-mail address. Both are trivial issues that could be fixed by the person landing this patch. We also need to rename Access-Control-Credentials to Access-Control-Allow-Credentials. Would you be willing to make a patch that fixes both headers? Please mark it for review when/if you do, so that it doesn't get lost.
<rdar://problem/6587815>
To run layout tests, you can enter the following command in Terminal (with the current directory being WebKit root): WebKitTools/Scripts/run-webkit-tests To only run tests from http subdirectory, use WebKitTools/Scripts/run-webkit-tests http
Created attachment 27708 [details] Updated patch Updated patch with entries in both ChangeLogs (sans tabs) and with the renamed Access-Control-Allow-Credentials header. All tests pass.
Hi, sorry, I don't know where to mark the patch for review, but it's ready.
Comment on attachment 27708 [details] Updated patch Thanks! This looks good to me - but I think that Sam should ideally take a look.
Comment on attachment 27708 [details] Updated patch r=me
Landed: http://trac.webkit.org/changeset/41046