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+

Description Adam Barth 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.
Comment 1 Adam Barth 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.
Comment 2 Adam Barth 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.
Comment 3 Maciej Stachowiak 2008-06-12 01:20:11 PDT
Comment on attachment 21656 [details]
second attempt

r=me
Comment 4 Adam Barth 2008-06-12 03:57:59 PDT
Turns out we needed no-store in the Cache-Control header as well.