WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
19513
Fix access-control-origin tests
https://bugs.webkit.org/show_bug.cgi?id=19513
Summary
Fix access-control-origin tests
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
Details
Formatted Diff
Diff
second attempt
(1.21 KB, patch)
2008-06-12 01:19 PDT
,
Adam Barth
mjs
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug