Bug 19513

Summary: Fix access-control-origin tests
Product: WebKit Reporter: Adam Barth <abarth>
Component: Tools / TestsAssignee: Adam Barth <abarth>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
first attempt
none
second attempt mjs: review+

Adam Barth
Reported 2008-06-12 01:06:27 PDT
I broke them when I added the data url test in r34504. I think the issue is the result is getting cached and the test is seeing the response from the other test.
Attachments
first attempt (2.60 KB, patch)
2008-06-12 01:08 PDT, Adam Barth
no flags
second attempt (1.21 KB, patch)
2008-06-12 01:19 PDT, Adam Barth
mjs: review+
Adam Barth
Comment 1 2008-06-12 01:08:34 PDT
Created attachment 21655 [details] first attempt I can't reproduce this on my machine, but this should bust through the cache, if that's the issue.
Adam Barth
Comment 2 2008-06-12 01:19:04 PDT
Created attachment 21656 [details] second attempt As Maciej suggests, using the Cache-Control: no-cache header is a better way to prevent caching.
Maciej Stachowiak
Comment 3 2008-06-12 01:20:11 PDT
Comment on attachment 21656 [details] second attempt r=me
Adam Barth
Comment 4 2008-06-12 03:57:59 PDT
Turns out we needed no-store in the Cache-Control header as well.
Note You need to log in before you can comment on or make changes to this bug.