зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1232118 - Fix use of stash.put in CORS test, r=Ms2ger
This commit is contained in:
Родитель
64b4576585
Коммит
2323e31c7e
|
@ -1,5 +0,0 @@
|
|||
[redirect-preflight-2.htm]
|
||||
type: testharness
|
||||
[Same-origin custom-header request, redirect to cross-origin succeeds after doing a preflight]
|
||||
expected: FAIL
|
||||
|
|
@ -36,7 +36,7 @@ def main(request, response):
|
|||
|
||||
#Log that the preflight actually happened if we have an ident
|
||||
if 'token' in request.GET:
|
||||
request.server.stash.put(request.GET['token'])
|
||||
request.server.stash.put(request.GET['token'], True)
|
||||
|
||||
if 'location' in request.GET:
|
||||
if code is None:
|
||||
|
|
Загрузка…
Ссылка в новой задаче